[03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:14]OFD Sender: No OFD packet to send [03:56:19]OFD Sender: No OFD packet to send [03:56:24]OFD Sender: No OFD packet to send [03:56:29]OFD Sender: No OFD packet to send [03:56:34]OFD Sender: No OFD packet to send [03:56:39]OFD Sender: No OFD packet to send [03:56:44]OFD Sender: No OFD packet to send [03:56:49]OFD Sender: No OFD packet to send [03:56:54]OFD Sender: No OFD packet to send [03:56:59]OFD Sender: No OFD packet to send [03:57:04]OFD Sender: No OFD packet to send [03:57:09]OFD Sender: No OFD packet to send [03:57:14]OFD Sender: No OFD packet to send [03:57:19]OFD Sender: No OFD packet to send [03:57:24]OFD Sender: No OFD packet to send [03:57:29]OFD Sender: No OFD packet to send [03:57:34]OFD Sender: No OFD packet to send [03:57:39]OFD Sender: No OFD packet to send [03:57:44]OFD Sender: No OFD packet to send [03:57:49]OFD Sender: No OFD packet to send [03:57:54]OFD Sender: No OFD packet to send [03:57:59]OFD Sender: No OFD packet to send [03:58:04]OFD Sender: No OFD packet to send [03:58:09]OFD Sender: No OFD packet to send [03:58:14]OFD Sender: No OFD packet to send [03:58:19]OFD Sender: No OFD packet to send [03:58:24]OFD Sender: No OFD packet to send [03:58:29]OFD Sender: No OFD packet to send [03:58:34]OFD Sender: No OFD packet to send [03:58:39]OFD Sender: No OFD packet to send [03:58:44]OFD Sender: No OFD packet to send [03:58:49]OFD Sender: No OFD packet to send [03:58:54]OFD Sender: No OFD packet to send [03:58:59]OFD Sender: No OFD packet to send [03:59:04]OFD Sender: No OFD packet to send [03:59:09]OFD Sender: No OFD packet to send [03:59:14]OFD Sender: No OFD packet to send [03:59:19]OFD Sender: No OFD packet to send [03:59:24]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:28]accept exits with 9 [04:00:28]New connection [04:00:28]New thread 3066600804 created [04:00:28]Thread 3066457444 joined [04:00:28]Waiting for new connection... [04:00:28] Sock 9.Parse request [04:00:28]Sock 9.Check first char [04:00:28]Sock 9.First char is OK [04:00:28]request: POST /json_proto HTTP/1.0 [04:00:28]Method: POST [04:00:28]URL: /json_proto [04:00:28]Method is POST - this is cgi request [04:00:28]url: /json_proto [04:00:28]query_string will be loaded in cgi processing [04:00:28]execute_cgi json_proto POST (null) [04:00:28]execute_cgi path=json_proto method=POST [04:00:28]POST find Content-Length [04:00:28]Host: 172.17.39.4:8080 [04:00:28]Content-Length: 764 [04:00:28]Content-Type: application/json [04:00:28] [04:00:28]POST finish read [04:00:28]Found Content-Length = 764 [04:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129248", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:00:28]execute_script... [04:00:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129248", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:00:28]POST & json_proto [04:00:28]process_json_proto [04:00:28]json parsed OK: [04:00:28]protocol is kg_v1.0 [04:00:28]action value=close_receipt [04:00:28]process_action close_receipt [04:00:28]cmd_close_receipt [04:00:28]MH_GetDate [04:00:28]Write to MH i2c: F0 00 00 79 12 7A [04:00:28]Write i2c OK [04:00:28]MH_I2C_Read... [04:00:28]Read from MH i2c: F0 [04:00:28]MH_I2C_Read... [04:00:28]Read from MH i2c: F0 09 00 [04:00:28]MH_I2C_Read... [04:00:28]Read from MH i2c: F0 09 00 79 12 00 5F AA 90 66 2D 25 5D 64 95 [04:00:28]GetLastDocTimeStamp 1720754417 [04:00:28]current date 1720756831 [04:00:28]FM_GetShiftState [04:00:28]SAM_PROTO_GetShiftState [04:00:28]wFMCommunicate request_size=4 [04:00:28]MH_SAM_APDU [04:00:28]CAPDU: 80 13 01 00 [04:00:28]Write to MH i2c: E2 08 00 7A 12 80 13 01 00 00 00 00 00 09 [04:00:28]Write i2c OK [04:00:28]MH_I2C_Read... [04:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:00:28]Read from MH i2c: E2 [04:00:28]MH_I2C_Read... [04:00:28]Read from MH i2c: E2 0E 00 [04:00:28]MH_I2C_Read... [04:00:28]Read from MH i2c: E2 0E 00 7A 12 00 09 00 01 86 79 90 66 00 00 00 00 90 00 0A [04:00:28]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [04:00:28]wFMCommunicate OK [04:00:28]SAM_PROTO_GetShiftState done [04:00:28]FM_GetShiftState done [04:00:28]opened in 1720744326 [04:00:28]opened+sec_in_day 1720830726 [04:00:28]quantity*price = 15500 [04:00:28]sum+1 = 15501 [04:00:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 15 12.07.2024 04:00 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56747 ФПД: 4552558136260 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T040031&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56747&fm=4552558136260&tin=02508201610067®Number=0000000000091208&sum=15500 0 [04:00:30]StoreToDocumentArchive [04:00:30]shift 494 fd 56747 [04:00:30]save to /storage/0494/doc_00056747 [04:00:30]save last doc name /storage/0494/doc_00056747 to /storage/kkm_last_doc_name [04:00:30]save OK [04:00:30]Clear old archive folders... [04:00:30]ProcessDocumentItem done err = 0, tmpTLVsize=280 [04:00:30]tlvbuf is 017D7F10 [04:00:30]SAM_PROTO_ClearQueue [04:00:30]wFMCommunicate request_size=4 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 09 00 00 [04:00:30]Write to MH i2c: E2 08 00 87 12 80 09 00 00 00 00 00 00 0B [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 87 12 00 90 00 0D [04:00:30]RAPDU: 90 00 [04:00:30]wFMCommunicate OK [04:00:30]SAM_PROTO_ClearQueue done [04:00:30]KKMCreateOFDPacket [04:00:30]OFDProtocolAddRootSTLVToBuf [04:00:30]FM_MakeSignedData [04:00:30]FM_MakeSignedData [04:00:30]SAM_PROTO_SignData [04:00:30]wFMCommunicate request_size=4 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 0D 01 02 [04:00:30]Write to MH i2c: E2 08 00 88 12 80 0D 01 02 00 00 00 00 13 [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 88 12 00 90 00 0E [04:00:30]RAPDU: 90 00 [04:00:30]wFMCommunicate OK [04:00:30]wFMCommunicate request_size=255 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5F AA 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [04:00:30]Write to MH i2c: E2 02 01 89 12 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5F AA 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 24 [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 89 12 00 90 00 0F [04:00:30]RAPDU: 90 00 [04:00:30]wFMCommunicate OK [04:00:30]wFMCommunicate request_size=39 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DD 00 00 35 04 06 00 04 23 F9 9C 4B C4 [04:00:30]Write to MH i2c: E2 2A 00 8A 12 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DD 00 00 35 04 06 00 04 23 F9 9C 4B C4 00 00 2B [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 03 00 8A 12 00 90 00 10 [04:00:30]RAPDU: 90 00 [04:00:30]wFMCommunicate OK [04:00:30]wFMCommunicate request_size=4 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 0D 03 02 [04:00:30]Write to MH i2c: E2 08 00 8B 12 80 0D 03 02 00 00 00 00 18 [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 0B 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 0B 00 8B 12 00 03 95 AD F3 67 7D C6 A9 90 00 A4 [04:00:30]RAPDU: 03 95 AD F3 67 7D C6 A9 90 00 [04:00:30]wFMCommunicate OK [04:00:30]SAM_PROTO_SignData done [04:00:30]FM_MakeSignedData done [04:00:30]CreateOFDProtocolMessage [04:00:30]wFMCommunicate request_size=4 [04:00:30]MH_SAM_APDU [04:00:30]CAPDU: 80 11 00 00 [04:00:30]Write to MH i2c: E2 08 00 8C 12 80 11 00 00 00 00 00 00 18 [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:00:30]Read from MH i2c: E2 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 17 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: E2 17 00 8C 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 72 [04:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:00:30]wFMCommunicate OK [04:00:30]CreateOFDProtocolMessage done [04:00:30]OFDSenderStorePacket 56747 [04:00:30]StoreOFDPacket docnum=56747 [04:00:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 12 6C 24 01 21 7D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5F AA 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DD 00 00 35 04 06 00 04 23 F9 9C 4B C4 03 95 AD F3 67 7D C6 A9 [04:00:30]CheckFolder [04:00:30]dirname=/storage/ofd_packets [04:00:30]CheckFolder done [04:00:30]ProducePacketName [04:00:30]name=ofd_packets/00056747 [04:00:30]NVStorageSaveData ofd_packets/00056747 [04:00:30]File name is /storage/ofd_packets/00056747 [04:00:30]Write 330 bytes [04:00:30]NVStorageSaveData done [04:00:30]OFDSenderStorePacket done [04:00:30]KKMCreateOFDPacket done [04:00:30]NVStorageSaveData kkm_last_timestamp [04:00:30]File name is /storage/kkm_last_timestamp [04:00:30]Write 4 bytes [04:00:30]NVStorageSaveData done [04:00:30]ExternCall_PrintAddStr [04:00:30]wPrintStart [04:00:30]Write to MH i2c: 01 00 00 8D 12 9F [04:00:30]Write i2c OK [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: 01 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: 01 07 00 [04:00:30]MH_I2C_Read... [04:00:30]Read from MH i2c: 01 07 00 8D 12 00 00 00 00 00 FF 0F B4 [04:00:30]RasterBufferAndPrint [04:00:30]line Счет N : (3)129248 [04:00:30]line ИНН: 02508201610067 [04:00:30]line Контрольно-Кассовый Чек [04:00:30]line ПРОДАЖА [04:00:30]line Товар: 5449000000439 [04:00:30]line Напиток Кока-Кола 1,5л [04:00:30]line 1.000 * 155.00 [04:00:30]line = 155.00 [04:00:30]line НДС 12% НСП 1% [04:00:30]line > о реализуемом товаре [04:00:30]line ИТОГО: 155.00 [04:00:30]line НСП 1% : 1.37 [04:00:30]line НДС 12% : 16.46 [04:00:30]line Наличными: 155.00 [04:00:30]line Безнал.: 0.00 [04:00:30]line Место: АЗС № 132 "Партнер Нефть" [04:00:30]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:00:30]line СНО: Общий режим [04:00:30]line Чек 15 12.07.2024 04:00 [04:00:30]line Смена: 494 ФФД: 1.0 [04:00:30]line ЗНМ: 0300000132 [04:00:30]line РНМ: 0000000000091208 [04:00:30]line Версия ККМ: 001 [04:00:30]line ФМ: 0000000000874857 [04:00:30]line ФД: 56747 [04:00:30]line ФПД: 4552558136260 [04:00:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T040031&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56747&fm=4552558136260&tin=02508201610067®Number=0000000000091208&sum=15500 [04:00:30]OFD Sender: Processing packet 56747 [packets to send 38, broken 37] [04:00:30]ProducePacketName [04:00:30]name=ofd_packets/00056747 [04:00:30]OFD Sender: To server: pG, [04:00:30]CommunicateWithHost lk.salyk.kg:30040 [04:00:30]ConnectInit lk.salyk.kg [04:00:30]line 0 [04:00:30]written 0, free lines is 4095 [04:00:31]Connected sock=10 [04:00: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 38 35 37 2C 01 00 00 12 6C 24 01 21 7D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5F AA 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AB DD 00 00 35 04 06 00 04 23 F9 9C 4B C4 03 95 AD F3 67 7D C6 A9 [04:00:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 FD 3A 47 00 E1 64 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 38 35 37 10 04 04 00 AB DD 00 00 F4 03 04 00 B8 50 90 66 B6 04 01 00 00 4A B5 31 A9 6E 77 FF AE [04:00:31]CommunicateWithHost err = 0 [04:00:31]CheckOFDResponse [04:00:31]1017 (14) - 77093643461234 [04:00:31]1041 (16) - 0000000000874857 [04:00:31]1040 (4) - 56747 [04:00:31]1012 (4) - 11.07.2024 21:38 [04:00:31]1206 (1) - 0 [04:00:31]OFD Sender: Remove packet 56747 [04:00:31]ProducePacketName [04:00:31]name=ofd_packets/00056747 [04:00:31]NVStorageDeleteData [04:00:31]Write to MH i2c: 01 00 00 B5 12 C7 [04:00:31]Write i2c OK [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: 01 [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: 01 07 00 [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: 01 07 00 B5 12 00 00 00 00 00 10 0D EB [04:00:31]RasterBufferAndPrint [04:00:31]line [04:00:31]line [04:00:31]line [04:00:31]line [04:00:31]line [04:00:31]written 0, free lines is 3350 [04:00:31]MH_Cut [04:00:31]Write to MH i2c: D1 01 00 BC 12 01 A0 [04:00:31]Write i2c OK [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: D1 [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: D1 01 00 [04:00:31]MH_I2C_Read... [04:00:31]Read from MH i2c: D1 01 00 BC 12 00 9F [04:00:31]Write to MH i2c: 01 00 00 BD 12 CF [04:00:31]Write i2c OK [04:00:31]MH_I2C_Read... [04:00:31]OFD Sender: No OFD packet to send [04:00:32]*** Cut start [04:00:32]*** Partial cut [04:00:32]*** CUTSNS_PIN = 1 [04:00:32]*** CUTSNS_PIN = 0 [04:00:32]*** Brake cut motor [04:00:32]Read from MH i2c: 01 [04:00:32]MH_I2C_Read... [04:00:32]*** Stop cut motor [04:00:32]*** Cut end [04:00:32]Read from MH i2c: 01 07 00 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: 01 07 00 BD 12 00 00 00 00 00 FF 0F E4 [04:00:32]process_action close_receipt done [04:00:32]requested_data is exist [04:00:32]produce_requested_data [04:00:32]requested_item fm.sn is exist - process it [04:00:32]wFMCommunicate request_size=4 [04:00:32]MH_SAM_APDU [04:00:32]CAPDU: 80 11 00 00 [04:00:32]Write to MH i2c: E2 08 00 BE 12 80 11 00 00 00 00 00 00 4A [04:00:32]Write i2c OK [04:00:32]MH_I2C_Read... [04:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:00:32]Read from MH i2c: E2 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 17 00 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 17 00 BE 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A4 [04:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:00:32]wFMCommunicate OK [04:00:32]requested_item fd.num is exist - process it [04:00:32]SAM_PROTO_GetFieldsCounters [04:00:32]wFMCommunicate request_size=4 [04:00:32]MH_SAM_APDU [04:00:32]CAPDU: 80 13 00 00 [04:00:32]Write to MH i2c: E2 08 00 BF 12 80 13 00 00 00 00 00 00 4D [04:00:32]Write i2c OK [04:00:32]MH_I2C_Read... [04:00:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:00:32]Read from MH i2c: E2 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 62 00 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 62 00 BF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AB DD 00 00 0E 04 04 00 EE 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 14 [04:00: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AB DD 00 00 0E 04 04 00 EE 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:00:32]wFMCommunicate OK [04:00:32]SAM_PROTO_GetFieldsCounters done [04:00:32]requested_item shift.num is exist - process it [04:00:32]requested_item shift.opened is exist - process it [04:00:32]req_shift_opened [04:00:32]FM_GetShiftState [04:00:32]SAM_PROTO_GetShiftState [04:00:32]wFMCommunicate request_size=4 [04:00:32]MH_SAM_APDU [04:00:32]CAPDU: 80 13 01 00 [04:00:32]Write to MH i2c: E2 08 00 C0 12 80 13 01 00 00 00 00 00 4F [04:00:32]Write i2c OK [04:00:32]MH_I2C_Read... [04:00:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:00:32]Read from MH i2c: E2 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 0E 00 [04:00:32]MH_I2C_Read... [04:00:32]Read from MH i2c: E2 0E 00 C0 12 00 09 00 01 86 79 90 66 00 00 00 00 90 00 50 [04:00:32]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [04:00:32]wFMCommunicate OK [04:00:32]SAM_PROTO_GetShiftState done [04:00:32]FM_GetShiftState done [04:00:32]req_shift_opened done [04:00:32]requested_item shift.open_date is exist - process it [04:00:32]req_shift_open_date [04:00:32]req_shift_open_date done [04:00:32]requested_item shift.sale.total is exist - process it [04:00:32]SAM_PROTO_GetShiftData [04:00:32]wFMCommunicate request_size=4 [04:00:32]MH_SAM_APDU [04:00:32]CAPDU: 80 13 02 00 [04:00:32]Write to MH i2c: E2 08 00 C1 12 80 13 02 00 00 00 00 00 51 [04:00:32]Write i2c OK [04:00:32]MH_I2C_Read... [04:00:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:00:33]Read from MH i2c: E2 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 C1 12 00 AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 54 13 07 70 04 03 00 B0 EC 03 72 04 03 00 A4 26 03 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 5B C0 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 07 10 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 39 [04:00:33]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 54 13 07 70 04 03 00 B0 EC 03 72 04 03 00 A4 26 03 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 5B C0 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 07 10 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [04:00:33]wFMCommunicate OK [04:00:33]wFMCommunicate request_size=4 [04:00:33]MH_SAM_APDU [04:00:33]CAPDU: 80 17 00 00 [04:00:33]Write to MH i2c: E2 08 00 C2 12 80 17 00 00 00 00 00 00 54 [04:00:33]Write i2c OK [04:00:33]MH_I2C_Read... [04:00:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:00:33]Read from MH i2c: E2 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 C2 12 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 66 [04:00:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [04:00:33]wFMCommunicate OK [04:00:33]wFMCommunicate request_size=4 [04:00:33]MH_SAM_APDU [04:00:33]CAPDU: 80 17 00 00 [04:00:33]Write to MH i2c: E2 08 00 C3 12 80 17 00 00 00 00 00 00 55 [04:00:33]Write i2c OK [04:00:33]MH_I2C_Read... [04:00:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:00:33]Read from MH i2c: E2 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 [04:00:33]MH_I2C_Read... [04:00:33]Read from MH i2c: E2 FD 00 C3 12 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 19 [04:00:34]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [04:00:34]wFMCommunicate OK [04:00:34]wFMCommunicate request_size=4 [04:00:34]MH_SAM_APDU [04:00:34]CAPDU: 80 17 00 00 [04:00:34]Write to MH i2c: E2 08 00 C4 12 80 17 00 00 00 00 00 00 56 [04:00:34]Write i2c OK [04:00:34]MH_I2C_Read... [04:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:00:34]Read from MH i2c: E2 [04:00:34]MH_I2C_Read... [04:00:34]Read from MH i2c: E2 FD 00 [04:00:34]MH_I2C_Read... [04:00:34]Read from MH i2c: E2 FD 00 C4 12 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 CB [04:00:34]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [04:00:34]wFMCommunicate OK [04:00:34]wFMCommunicate request_size=4 [04:00:34]MH_SAM_APDU [04:00:34]CAPDU: 80 17 00 00 [04:00:34]Write to MH i2c: E2 08 00 C5 12 80 17 00 00 00 00 00 00 57 [04:00:34]Write i2c OK [04:00:34]MH_I2C_Read... [04:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [04:00:34]Read from MH i2c: E2 [04:00:34]MH_I2C_Read... [04:00:34]Read from MH i2c: E2 CA 00 [04:00:34]MH_I2C_Read... [04:00:34]Read from MH i2c: E2 CA 00 C5 12 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 3C [04:00:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [04:00:34]wFMCommunicate OK [04:00:34]SAM_PROTO_GetShiftData done [04:00:34]requested_item shift.sale.total_cash is exist - process it [04:00:34]requested_item shift.sale_refund.total is exist - process it [04:00:34]requested_item shift.sale_refund.total_cash is exist - process it [04:00:34]produce_requested_data done [04:00:34]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56747,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":4637.00,"shift.sale.total_cash":2572.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [04:00:34]process_action_free close_receipt [04:00:34]json_value_free [04:00:34]json_value_free done [04:00:34]process_json_proto returns [04:00:34]Send response to host [04:00:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56747,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":4637.00,"shift.sale.total_cash":2572.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [04:00:34]free response buf [04:00:34]execute_script done [04:00:34]execute_script returns [04:00:34]free content buf [04:00:34]Sock 9.Close socket [04:00:34]Sock 9.Thread stoped [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:09]accept exits with 7 [04:13:09]New connection [04:13:09]New thread 3066457444 created [04:13:09]Thread 3066600804 joined [04:13:09]Waiting for new connection... [04:13:09] Sock 7.Parse request [04:13:09]Sock 7.Check first char [04:13:09]Sock 7.First char is OK [04:13:09]request: POST /json_proto HTTP/1.0 [04:13:09]Method: POST [04:13:09]URL: /json_proto [04:13:09]Method is POST - this is cgi request [04:13:09]url: /json_proto [04:13:09]query_string will be loaded in cgi processing [04:13:09]execute_cgi json_proto POST (null) [04:13:09]execute_cgi path=json_proto method=POST [04:13:09]POST find Content-Length [04:13:09]Host: 172.17.39.4:8080 [04:13:09]Content-Length: 2144 [04:13:09]Content-Type: application/json [04:13:09] [04:13:09]POST finish read [04:13:09]Found Content-Length = 2144 [04:13:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129249", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852494", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0432\u0435\u0442-\u0441\u044B\u0440", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 496.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:13:09]execute_script... [04:13: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)129249", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852494", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0432\u0435\u0442-\u0441\u044B\u0440", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 496.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:13:10]POST & json_proto [04:13:10]process_json_proto [04:13:10]json parsed OK: [04:13:10]protocol is kg_v1.0 [04:13:10]action value=close_receipt [04:13:10]process_action close_receipt [04:13:10]cmd_close_receipt [04:13:10]MH_GetDate [04:13:10]Write to MH i2c: F0 00 00 C6 12 C7 [04:13:10]Write i2c OK [04:13:10]MH_I2C_Read... [04:13:10]Read from MH i2c: F0 [04:13:10]MH_I2C_Read... [04:13:10]Read from MH i2c: F0 09 00 [04:13:10]MH_I2C_Read... [04:13:10]Read from MH i2c: F0 09 00 C6 12 00 59 AD 90 66 2D 25 5D 64 DF [04:13:10]GetLastDocTimeStamp 1720756831 [04:13:10]current date 1720757593 [04:13:10]FM_GetShiftState [04:13:10]SAM_PROTO_GetShiftState [04:13:10]wFMCommunicate request_size=4 [04:13:10]MH_SAM_APDU [04:13:10]CAPDU: 80 13 01 00 [04:13:10]Write to MH i2c: E2 08 00 C7 12 80 13 01 00 00 00 00 00 56 [04:13:10]Write i2c OK [04:13:10]MH_I2C_Read... [04:13:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:13:10]Read from MH i2c: E2 [04:13:10]MH_I2C_Read... [04:13:10]Read from MH i2c: E2 0E 00 [04:13:10]MH_I2C_Read... [04:13:10]Read from MH i2c: E2 0E 00 C7 12 00 09 00 01 86 79 90 66 00 00 00 00 90 00 57 [04:13:10]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [04:13:10]wFMCommunicate OK [04:13:10]SAM_PROTO_GetShiftState done [04:13:10]FM_GetShiftState done [04:13:10]opened in 1720744326 [04:13:10]opened+sec_in_day 1720830726 [04:13:10]quantity*price = 13800 [04:13:10]sum+1 = 13801 [04:13:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607120852494 Кириешки Light 80 г вет-сыр 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740757 Чипсы Чипсоны сметана, лук 40г 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740733 Чипсы Чипсоны шашлык 40г 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521247 Напиток MAXI чай 1,2 черн.персик 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 496.00 НСП 1% : 4.38 НДС 12% : 52.66 Наличными: 496.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 16 12.07.2024 04:13 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56748 ФПД: 201038732448316 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T041313&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56748&fm=201038732448316&tin=02508201610067®Number=0000000000091208&sum=49600 0 [04:13:11]StoreToDocumentArchive [04:13:11]shift 494 fd 56748 [04:13:11]save to /storage/0494/doc_00056748 [04:13:11]save last doc name /storage/0494/doc_00056748 to /storage/kkm_last_doc_name [04:13:11]save OK [04:13:11]Clear old archive folders... [04:13:11]ProcessDocumentItem done err = 0, tmpTLVsize=848 [04:13:11]tlvbuf is 0179C190 [04:13:11]SAM_PROTO_ClearQueue [04:13:11]wFMCommunicate request_size=4 [04:13:11]MH_SAM_APDU [04:13:11]CAPDU: 80 09 00 00 [04:13:11]Write to MH i2c: E2 08 00 D4 12 80 09 00 00 00 00 00 00 58 [04:13:11]Write i2c OK [04:13:11]MH_I2C_Read... [04:13:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:13:11]Read from MH i2c: E2 [04:13:11]MH_I2C_Read... [04:13:11]Read from MH i2c: E2 03 00 [04:13:11]MH_I2C_Read... [04:13:11]Read from MH i2c: E2 03 00 D4 12 00 90 00 5A [04:13:11]RAPDU: 90 00 [04:13:11]wFMCommunicate OK [04:13:11]SAM_PROTO_ClearQueue done [04:13:11]KKMCreateOFDPacket [04:13:11]OFDProtocolAddRootSTLVToBuf [04:13:11]FM_MakeSignedData [04:13:11]FM_MakeSignedData [04:13:11]SAM_PROTO_SignData [04:13:11]wFMCommunicate request_size=4 [04:13:11]MH_SAM_APDU [04:13:11]CAPDU: 80 0D 01 02 [04:13:11]Write to MH i2c: E2 08 00 D5 12 80 0D 01 02 00 00 00 00 60 [04:13:11]Write i2c OK [04:13:11]MH_I2C_Read... [04:13:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:13:11]Read from MH i2c: E2 [04:13:11]MH_I2C_Read... [04:13:11]Read from MH i2c: E2 03 00 [04:13:11]MH_I2C_Read... [04:13:11]Read from MH i2c: E2 03 00 D5 12 00 90 00 5B [04:13:11]RAPDU: 90 00 [04:13:11]wFMCommunicate OK [04:13:11]wFMCommunicate request_size=255 [04:13:11]MH_SAM_APDU [04:13:11]CAPDU: 80 0D 02 02 FA 03 00 50 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 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 36 30 37 31 32 30 38 35 32 34 39 34 06 04 2A 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D0 B2 D0 B5 D1 82 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 [04:13:11]Write to MH i2c: E2 02 01 D6 12 80 0D 02 02 FA 00 03 00 50 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 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 36 30 37 31 32 30 38 35 32 34 39 34 06 04 2A 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D0 B2 D0 B5 D1 82 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 00 00 79 [04:13:11]Write i2c OK [04:13:11]MH_I2C_Read... [04:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 D6 12 00 90 00 5C [04:13:12]RAPDU: 90 00 [04:13:12]wFMCommunicate OK [04:13:12]wFMCommunicate request_size=255 [04:13:12]MH_SAM_APDU [04:13:12]CAPDU: 80 0D 02 02 FA 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 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 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 [04:13:12]Write to MH i2c: E2 02 01 D7 12 80 0D 02 02 FA 00 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 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 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 00 00 58 [04:13:12]Write i2c OK [04:13:12]MH_I2C_Read... [04:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 D7 12 00 90 00 5D [04:13:12]RAPDU: 90 00 [04:13:12]wFMCommunicate OK [04:13:12]wFMCommunicate request_size=255 [04:13:12]MH_SAM_APDU [04:13:12]CAPDU: 80 0D 02 02 FA 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 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 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 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 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 [04:13:12]Write to MH i2c: E2 02 01 D8 12 80 0D 02 02 FA 00 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 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 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 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 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 00 00 34 [04:13:12]Write i2c OK [04:13:12]MH_I2C_Read... [04:13:12]OFD Sender: No OFD packet to send [04:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 D8 12 00 90 00 5E [04:13:12]RAPDU: 90 00 [04:13:12]wFMCommunicate OK [04:13:12]wFMCommunicate request_size=107 [04:13:12]MH_SAM_APDU [04:13:12]CAPDU: 80 0D 02 02 66 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 59 AD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DD 00 00 35 04 06 00 B6 D7 FA 3B D2 3C [04:13:12]Write to MH i2c: E2 6E 00 D9 12 80 0D 02 02 66 00 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 59 AD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DD 00 00 35 04 06 00 B6 D7 FA 3B D2 3C 00 00 77 [04:13:12]Write i2c OK [04:13:12]MH_I2C_Read... [04:13:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 03 00 D9 12 00 90 00 5F [04:13:12]RAPDU: 90 00 [04:13:12]wFMCommunicate OK [04:13:12]wFMCommunicate request_size=4 [04:13:12]MH_SAM_APDU [04:13:12]CAPDU: 80 0D 03 02 [04:13:12]Write to MH i2c: E2 08 00 DA 12 80 0D 03 02 00 00 00 00 67 [04:13:12]Write i2c OK [04:13:12]MH_I2C_Read... [04:13:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 0B 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 0B 00 DA 12 00 46 60 56 9A CC 56 34 0C 90 00 60 [04:13:12]RAPDU: 46 60 56 9A CC 56 34 0C 90 00 [04:13:12]wFMCommunicate OK [04:13:12]SAM_PROTO_SignData done [04:13:12]FM_MakeSignedData done [04:13:12]CreateOFDProtocolMessage [04:13:12]wFMCommunicate request_size=4 [04:13:12]MH_SAM_APDU [04:13:12]CAPDU: 80 11 00 00 [04:13:12]Write to MH i2c: E2 08 00 DB 12 80 11 00 00 00 00 00 00 67 [04:13:12]Write i2c OK [04:13:12]MH_I2C_Read... [04:13:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:13:12]Read from MH i2c: E2 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 17 00 [04:13:12]MH_I2C_Read... [04:13:12]Read from MH i2c: E2 17 00 DB 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C1 [04:13:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:13:12]wFMCommunicate OK [04:13:12]CreateOFDProtocolMessage done [04:13:12]OFDSenderStorePacket 56748 [04:13:12]StoreOFDPacket docnum=56748 [04:13:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 64 03 00 00 6A 58 5C 03 11 E5 5A 03 01 00 03 00 50 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 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 36 30 37 31 32 30 38 35 32 34 39 34 06 04 2A 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D0 B2 D0 B5 D1 82 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 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 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 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 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 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 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 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 14 00 00 00 00 07 04 06 00 C0 C1 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 59 AD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DD 00 00 35 04 06 00 B6 D7 FA 3B D2 3C 46 60 56 9A CC 56 34 0C [04:13:12]CheckFolder [04:13:12]dirname=/storage/ofd_packets [04:13:12]CheckFolder done [04:13:12]ProducePacketName [04:13:12]name=ofd_packets/00056748 [04:13:12]NVStorageSaveData ofd_packets/00056748 [04:13:12]File name is /storage/ofd_packets/00056748 [04:13:12]Write 898 bytes [04:13:12]NVStorageSaveData done [04:13:12]OFDSenderStorePacket done [04:13:12]KKMCreateOFDPacket done [04:13:12]NVStorageSaveData kkm_last_timestamp [04:13:12]File name is /storage/kkm_last_timestamp [04:13:12]Write 4 bytes [04:13:13]NVStorageSaveData done [04:13:13]ExternCall_PrintAddStr [04:13:13]wPrintStart [04:13:13]Write to MH i2c: 01 00 00 DC 12 EE [04:13:13]OFD Sender: Processing packet 56748 [packets to send 38, broken 37] [04:13:13]ProducePacketName [04:13:13]name=ofd_packets/00056748 [04:13:13]Write i2c OK [04:13:13]MH_I2C_Read... [04:13:13]Read from MH i2c: 01 [04:13:13]MH_I2C_Read... [04:13:13]OFD Sender: To server: pG, [04:13:13]CommunicateWithHost lk.salyk.kg:30040 [04:13:13]ConnectInit lk.salyk.kg [04:13:13]Read from MH i2c: 01 07 00 [04:13:13]MH_I2C_Read... [04:13:13]Read from MH i2c: 01 07 00 DC 12 00 00 00 00 00 FF 0F 03 [04:13:13]RasterBufferAndPrint [04:13:13]line Счет N : (3)129249 [04:13:13]line ИНН: 02508201610067 [04:13:13]line Контрольно-Кассовый Чек [04:13:13]line ПРОДАЖА [04:13:13]line Товар: 4640030091645 [04:13:13]line Сигареты ESSE Exchange M [04:13:13]line 1.000 * 138.00 [04:13:13]line = 138.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line Товар: 4607120852494 [04:13:13]line Кириешки Light 80 г вет-сыр [04:13:13]line 1.000 * 40.00 [04:13:13]line = 40.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line Товар: 4607010740757 [04:13:13]line Чипсы Чипсоны сметана, лук 40г [04:13:13]line 1.000 * 41.00 [04:13:13]line = 41.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line Товар: 4607010740733 [04:13:13]line Чипсы Чипсоны шашлык 40г [04:13:13]line 1.000 * 41.00 [04:13:13]line = 41.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line Товар: 4870202521247 [04:13:13]line Напиток MAXI чай 1,2 черн.персик [04:13:13]line 1.000 * 125.00 [04:13:13]line = 125.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line Товар: 4870001570071 [04:13:13]line Напиток Pepsi 1л [04:13:13]line 1.000 * 111.00 [04:13:13]line = 111.00 [04:13:13]line НДС 12% НСП 1% [04:13:13]line > о реализуемом товаре [04:13:13]line ИТОГО: 496.00 [04:13:13]line НСП 1% : 4.38 [04:13:13]line НДС 12% : 52.66 [04:13:13]line Наличными: 496.00 [04:13:13]line Безнал.: 0.00 [04:13:13]line Место: АЗС № 132 "Партнер Нефть" [04:13:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:13:13]line СНО: Общий режим [04:13:13]line Чек 16 12.07.2024 04:13 [04:13:13]line Смена: 494 ФФД: 1.0 [04:13:13]line ЗНМ: 0300000132 [04:13:13]line РНМ: 0000000000091208 [04:13:13]line Версия ККМ: 001 [04:13:13]line ФМ: 0000000000874857 [04:13:13]line ФД: 56748 [04:13:13]line ФПД: 201038732448316 [04:13:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T041313&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56748&fm=201038732448316&tin=02508201610067®Number=0000000000091208&sum=49600 [04:13:13]line 0 [04:13:13]written 0, free lines is 4095 [04:13:13]Connected sock=10 [04:13:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 64 03 00 00 6A 58 5C 03 11 E5 5A 03 01 00 03 00 50 03 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 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 36 30 37 31 32 30 38 35 32 34 39 34 06 04 2A 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D0 B2 D0 B5 D1 82 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 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 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 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 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 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 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 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 14 00 00 00 00 07 04 06 00 C0 C1 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 59 AD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DD 00 00 35 04 06 00 B6 D7 FA 3B D2 3C 46 60 56 9A CC 56 34 0C [04:13:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 80 06 47 00 4B AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AC DD 00 00 F4 03 04 00 B2 53 90 66 B6 04 01 00 00 D6 3C 7F 48 8D 2C 51 7C [04:13:13]CommunicateWithHost err = 0 [04:13:13]CheckOFDResponse [04:13:13]1017 (14) - 77093643461234 [04:13:13]1041 (16) - 0000000000874857 [04:13:13]1040 (4) - 56748 [04:13:13]1012 (4) - 11.07.2024 21:50 [04:13:13]1206 (1) - 0 [04:13:13]OFD Sender: Remove packet 56748 [04:13:13]ProducePacketName [04:13:13]name=ofd_packets/00056748 [04:13:13]NVStorageDeleteData [04:13:13]Write to MH i2c: 01 00 00 24 13 37 [04:13:13]Write i2c OK [04:13:13]MH_I2C_Read... [04:13:13]Read from MH i2c: 01 [04:13:13]MH_I2C_Read... [04:13:13]Read from MH i2c: 01 07 00 [04:13:13]MH_I2C_Read... [04:13:13]Read from MH i2c: 01 07 00 24 13 00 00 00 00 00 30 0B 79 [04:13:14]RasterBufferAndPrint [04:13:14]line [04:13:14]line [04:13:14]line [04:13:14]line [04:13:14]line [04:13:14]written 0, free lines is 2874 [04:13:14]MH_Cut [04:13:14]Write to MH i2c: D1 01 00 2B 13 01 10 [04:13:14]Write i2c OK [04:13:14]MH_I2C_Read... [04:13:14]Read from MH i2c: D1 [04:13:14]MH_I2C_Read... [04:13:14]Read from MH i2c: D1 01 00 [04:13:14]MH_I2C_Read... [04:13:14]Read from MH i2c: D1 01 00 2B 13 00 0F [04:13:14]Write to MH i2c: 01 00 00 2C 13 3F [04:13:14]Write i2c OK [04:13:14]MH_I2C_Read... [04:13:14]OFD Sender: No OFD packet to send [04:13:14]*** Cut start [04:13:15]*** Partial cut [04:13:15]*** CUTSNS_PIN = 1 [04:13:15]*** CUTSNS_PIN = 0 [04:13:15]*** Brake cut motor [04:13:15]Read from MH i2c: 01 [04:13:15]MH_I2C_Read... [04:13:15]*** Stop cut motor [04:13:15]*** Cut end [04:13:15]Read from MH i2c: 01 07 00 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: 01 07 00 2C 13 00 00 00 00 00 FF 0F 54 [04:13:15]process_action close_receipt done [04:13:15]requested_data is exist [04:13:15]produce_requested_data [04:13:15]requested_item fm.sn is exist - process it [04:13:15]wFMCommunicate request_size=4 [04:13:15]MH_SAM_APDU [04:13:15]CAPDU: 80 11 00 00 [04:13:15]Write to MH i2c: E2 08 00 2D 13 80 11 00 00 00 00 00 00 BA [04:13:15]Write i2c OK [04:13:15]MH_I2C_Read... [04:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:13:15]Read from MH i2c: E2 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 17 00 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 17 00 2D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 14 [04:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:13:15]wFMCommunicate OK [04:13:15]requested_item fd.num is exist - process it [04:13:15]SAM_PROTO_GetFieldsCounters [04:13:15]wFMCommunicate request_size=4 [04:13:15]MH_SAM_APDU [04:13:15]CAPDU: 80 13 00 00 [04:13:15]Write to MH i2c: E2 08 00 2E 13 80 13 00 00 00 00 00 00 BD [04:13:15]Write i2c OK [04:13:15]MH_I2C_Read... [04:13:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:13:15]Read from MH i2c: E2 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 62 00 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 62 00 2E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AC DD 00 00 0E 04 04 00 EE 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 88 [04:13:15]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AC DD 00 00 0E 04 04 00 EE 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 [04:13:15]wFMCommunicate OK [04:13:15]SAM_PROTO_GetFieldsCounters done [04:13:15]requested_item shift.num is exist - process it [04:13:15]requested_item shift.opened is exist - process it [04:13:15]req_shift_opened [04:13:15]FM_GetShiftState [04:13:15]SAM_PROTO_GetShiftState [04:13:15]wFMCommunicate request_size=4 [04:13:15]MH_SAM_APDU [04:13:15]CAPDU: 80 13 01 00 [04:13:15]Write to MH i2c: E2 08 00 2F 13 80 13 01 00 00 00 00 00 BF [04:13:15]Write i2c OK [04:13:15]MH_I2C_Read... [04:13:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:13:15]Read from MH i2c: E2 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 0E 00 [04:13:15]MH_I2C_Read... [04:13:15]Read from MH i2c: E2 0E 00 2F 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C0 [04:13:15]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [04:13:15]wFMCommunicate OK [04:13:15]SAM_PROTO_GetShiftState done [04:13:15]FM_GetShiftState done [04:13:15]req_shift_opened done [04:13:15]requested_item shift.open_date is exist - process it [04:13:15]req_shift_open_date [04:13:15]req_shift_open_date done [04:13:15]requested_item shift.sale.total is exist - process it [04:13:15]SAM_PROTO_GetShiftData [04:13:15]wFMCommunicate request_size=4 [04:13:15]MH_SAM_APDU [04:13:15]CAPDU: 80 13 02 00 [04:13:15]Write to MH i2c: E2 08 00 30 13 80 13 02 00 00 00 00 00 C1 [04:13:15]Write i2c OK [04:13:15]MH_I2C_Read... [04:13:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:13:16]Read from MH i2c: E2 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 30 13 00 AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 14 D5 07 70 04 03 00 70 AE 04 72 04 03 00 A4 26 03 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 ED D4 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 BD 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 0D [04:13:16]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 14 D5 07 70 04 03 00 70 AE 04 72 04 03 00 A4 26 03 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 ED D4 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 BD 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [04:13:16]wFMCommunicate OK [04:13:16]wFMCommunicate request_size=4 [04:13:16]MH_SAM_APDU [04:13:16]CAPDU: 80 17 00 00 [04:13:16]Write to MH i2c: E2 08 00 31 13 80 17 00 00 00 00 00 00 C4 [04:13:16]Write i2c OK [04:13:16]MH_I2C_Read... [04:13:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:13:16]Read from MH i2c: E2 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 31 13 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 D6 [04:13:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [04:13:16]wFMCommunicate OK [04:13:16]wFMCommunicate request_size=4 [04:13:16]MH_SAM_APDU [04:13:16]CAPDU: 80 17 00 00 [04:13:16]Write to MH i2c: E2 08 00 32 13 80 17 00 00 00 00 00 00 C5 [04:13:16]Write i2c OK [04:13:16]MH_I2C_Read... [04:13:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:13:16]Read from MH i2c: E2 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 [04:13:16]MH_I2C_Read... [04:13:16]Read from MH i2c: E2 FD 00 32 13 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 89 [04:13:17]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [04:13:17]wFMCommunicate OK [04:13:17]wFMCommunicate request_size=4 [04:13:17]MH_SAM_APDU [04:13:17]CAPDU: 80 17 00 00 [04:13:17]Write to MH i2c: E2 08 00 33 13 80 17 00 00 00 00 00 00 C6 [04:13:17]Write i2c OK [04:13:17]MH_I2C_Read... [04:13:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:13:17]Read from MH i2c: E2 [04:13:17]MH_I2C_Read... [04:13:17]Read from MH i2c: E2 FD 00 [04:13:17]MH_I2C_Read... [04:13:17]Read from MH i2c: E2 FD 00 33 13 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 3B [04:13:17]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [04:13:17]wFMCommunicate OK [04:13:17]wFMCommunicate request_size=4 [04:13:17]MH_SAM_APDU [04:13:17]CAPDU: 80 17 00 00 [04:13:17]Write to MH i2c: E2 08 00 34 13 80 17 00 00 00 00 00 00 C7 [04:13:17]Write i2c OK [04:13:17]MH_I2C_Read... [04:13:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [04:13:17]Read from MH i2c: E2 [04:13:17]MH_I2C_Read... [04:13:17]Read from MH i2c: E2 CA 00 [04:13:17]MH_I2C_Read... [04:13:17]Read from MH i2c: E2 CA 00 34 13 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 AC [04:13:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [04:13:17]wFMCommunicate OK [04:13:17]SAM_PROTO_GetShiftData done [04:13:17]requested_item shift.sale.total_cash is exist - process it [04:13:17]requested_item shift.sale_refund.total is exist - process it [04:13:17]requested_item shift.sale_refund.total_cash is exist - process it [04:13:17]produce_requested_data done [04:13:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56748,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5133.00,"shift.sale.total_cash":3068.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [04:13:17]process_action_free close_receipt [04:13:17]json_value_free [04:13:17]json_value_free done [04:13:17]process_json_proto returns [04:13:17]Send response to host [04:13:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56748,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5133.00,"shift.sale.total_cash":3068.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [04:13:17]free response buf [04:13:17]execute_script done [04:13:17]execute_script returns [04:13:17]free content buf [04:13:17]Sock 7.Close socket [04:13:17]Sock 7.Thread stoped [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:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:30]accept exits with 9 [05:22:30]New connection [05:22:30]New thread 3066600804 created [05:22:30]Thread 3066457444 joined [05:22:30]Waiting for new connection... [05:22:30] Sock 9.Parse request [05:22:30]Sock 9.Check first char [05:22:30]Sock 9.First char is OK [05:22:30]request: POST /json_proto HTTP/1.0 [05:22:30]Method: POST [05:22:30]URL: /json_proto [05:22:30]Method is POST - this is cgi request [05:22:30]url: /json_proto [05:22:30]query_string will be loaded in cgi processing [05:22:30]execute_cgi json_proto POST (null) [05:22:30]execute_cgi path=json_proto method=POST [05:22:30]POST find Content-Length [05:22:30]Host: 172.17.39.4:8080 [05:22:30]Content-Length: 771 [05:22:30]Content-Type: application/json [05:22:30] [05:22:30]POST finish read [05:22:30]Found Content-Length = 771 [05:22:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129250", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:22:30]execute_script... [05:22: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)129250", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:22:30]POST & json_proto [05:22:30]process_json_proto [05:22:30]json parsed OK: [05:22:30]protocol is kg_v1.0 [05:22:30]action value=close_receipt [05:22:30]process_action close_receipt [05:22:30]cmd_close_receipt [05:22:30]MH_GetDate [05:22:30]Write to MH i2c: F0 00 00 35 13 37 [05:22:30]Write i2c OK [05:22:30]MH_I2C_Read... [05:22:30]Read from MH i2c: F0 [05:22:30]MH_I2C_Read... [05:22:30]Read from MH i2c: F0 09 00 [05:22:30]MH_I2C_Read... [05:22:30]Read from MH i2c: F0 09 00 35 13 00 99 BD 90 66 2D 25 5D 64 9F [05:22:30]GetLastDocTimeStamp 1720757593 [05:22:30]current date 1720761753 [05:22:30]FM_GetShiftState [05:22:30]SAM_PROTO_GetShiftState [05:22:30]wFMCommunicate request_size=4 [05:22:30]MH_SAM_APDU [05:22:30]CAPDU: 80 13 01 00 [05:22:30]Write to MH i2c: E2 08 00 36 13 80 13 01 00 00 00 00 00 C6 [05:22:30]Write i2c OK [05:22:30]MH_I2C_Read... [05:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:30]Read from MH i2c: E2 [05:22:30]MH_I2C_Read... [05:22:30]Read from MH i2c: E2 0E 00 [05:22:30]MH_I2C_Read... [05:22:30]Read from MH i2c: E2 0E 00 36 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C7 [05:22:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [05:22:30]wFMCommunicate OK [05:22:30]SAM_PROTO_GetShiftState done [05:22:30]FM_GetShiftState done [05:22:30]opened in 1720744326 [05:22:30]opened+sec_in_day 1720830726 [05:22:30]quantity*price = 20000 [05:22:30]sum+1 = 20001 [05:22:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 17 12.07.2024 05:22 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56749 ФПД: 183968947622711 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T052233&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56749&fm=183968947622711&tin=02508201610067®Number=0000000000091208&sum=20000 0 [05:22:32]StoreToDocumentArchive [05:22:32]shift 494 fd 56749 [05:22:32]save to /storage/0494/doc_00056749 [05:22:32]save last doc name /storage/0494/doc_00056749 to /storage/kkm_last_doc_name [05:22:32]save OK [05:22:32]Clear old archive folders... [05:22:32]ProcessDocumentItem done err = 0, tmpTLVsize=283 [05:22:32]tlvbuf is 017C2E30 [05:22:32]SAM_PROTO_ClearQueue [05:22:32]wFMCommunicate request_size=4 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 09 00 00 [05:22:32]Write to MH i2c: E2 08 00 43 13 80 09 00 00 00 00 00 00 C8 [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 43 13 00 90 00 CA [05:22:32]RAPDU: 90 00 [05:22:32]wFMCommunicate OK [05:22:32]SAM_PROTO_ClearQueue done [05:22:32]KKMCreateOFDPacket [05:22:32]OFDProtocolAddRootSTLVToBuf [05:22:32]FM_MakeSignedData [05:22:32]FM_MakeSignedData [05:22:32]SAM_PROTO_SignData [05:22:32]wFMCommunicate request_size=4 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 0D 01 02 [05:22:32]Write to MH i2c: E2 08 00 44 13 80 0D 01 02 00 00 00 00 D0 [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 44 13 00 90 00 CB [05:22:32]RAPDU: 90 00 [05:22:32]wFMCommunicate OK [05:22:32]wFMCommunicate request_size=255 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 99 BD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [05:22:32]Write to MH i2c: E2 02 01 45 13 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 99 BD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 85 [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:32]Read from MH i2c: E2 03 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 45 13 00 90 00 CC [05:22:32]RAPDU: 90 00 [05:22:32]wFMCommunicate OK [05:22:32]wFMCommunicate request_size=42 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DD 00 00 35 04 06 00 A7 51 9B C5 D3 37 [05:22:32]Write to MH i2c: E2 2D 00 46 13 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DD 00 00 35 04 06 00 A7 51 9B C5 D3 37 00 00 9B [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 03 00 46 13 00 90 00 CD [05:22:32]RAPDU: 90 00 [05:22:32]wFMCommunicate OK [05:22:32]wFMCommunicate request_size=4 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 0D 03 02 [05:22:32]Write to MH i2c: E2 08 00 47 13 80 0D 03 02 00 00 00 00 D5 [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 0B 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 0B 00 47 13 00 05 AC C0 4B 92 46 DA 81 90 00 C5 [05:22:32]RAPDU: 05 AC C0 4B 92 46 DA 81 90 00 [05:22:32]wFMCommunicate OK [05:22:32]SAM_PROTO_SignData done [05:22:32]FM_MakeSignedData done [05:22:32]CreateOFDProtocolMessage [05:22:32]wFMCommunicate request_size=4 [05:22:32]MH_SAM_APDU [05:22:32]CAPDU: 80 11 00 00 [05:22:32]Write to MH i2c: E2 08 00 48 13 80 11 00 00 00 00 00 00 D5 [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:32]Read from MH i2c: E2 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 17 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: E2 17 00 48 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2F [05:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:22:32]wFMCommunicate OK [05:22:32]CreateOFDProtocolMessage done [05:22:32]OFDSenderStorePacket 56749 [05:22:32]StoreOFDPacket docnum=56749 [05:22:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 14 42 27 01 C7 80 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 99 BD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DD 00 00 35 04 06 00 A7 51 9B C5 D3 37 05 AC C0 4B 92 46 DA 81 [05:22:32]CheckFolder [05:22:32]dirname=/storage/ofd_packets [05:22:32]CheckFolder done [05:22:32]ProducePacketName [05:22:32]name=ofd_packets/00056749 [05:22:32]NVStorageSaveData ofd_packets/00056749 [05:22:32]File name is /storage/ofd_packets/00056749 [05:22:32]Write 333 bytes [05:22:32]NVStorageSaveData done [05:22:32]OFDSenderStorePacket done [05:22:32]KKMCreateOFDPacket done [05:22:32]NVStorageSaveData kkm_last_timestamp [05:22:32]File name is /storage/kkm_last_timestamp [05:22:32]Write 4 bytes [05:22:32]NVStorageSaveData done [05:22:32]ExternCall_PrintAddStr [05:22:32]wPrintStart [05:22:32]Write to MH i2c: 01 00 00 49 13 5C [05:22:32]Write i2c OK [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: 01 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: 01 07 00 [05:22:32]MH_I2C_Read... [05:22:32]Read from MH i2c: 01 07 00 49 13 00 00 00 00 00 FF 0F 71 [05:22:32]RasterBufferAndPrint [05:22:32]line Счет N : (3)129250 [05:22:32]line ИНН: 02508201610067 [05:22:32]line Контрольно-Кассовый Чек [05:22:32]line ПРОДАЖА [05:22:32]line Товар: 4700002086281 [05:22:32]line Водка Белое золото 0,24л [05:22:32]line 1.000 * 200.00 [05:22:32]line = 200.00 [05:22:32]line НДС 12% НСП 1% [05:22:32]line > о реализуемом товаре [05:22:32]line ИТОГО: 200.00 [05:22:32]line НСП 1% : 1.77 [05:22:32]line НДС 12% : 21.24 [05:22:32]line Наличными: 200.00 [05:22:32]line Безнал.: 0.00 [05:22:32]line Место: АЗС № 132 "Партнер Нефть" [05:22:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [05:22:32]line СНО: Общий режим [05:22:32]line Чек 17 12.07.2024 05:22 [05:22:32]line Смена: 494 ФФД: 1.0 [05:22:32]line ЗНМ: 0300000132 [05:22:32]line РНМ: 0000000000091208 [05:22:32]line Версия ККМ: 001 [05:22:32]line ФМ: 0000000000874857 [05:22:32]line ФД: 56749 [05:22:32]line ФПД: 183968947622711 [05:22:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T052233&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56749&fm=183968947622711&tin=02508201610067®Number=0000000000091208&sum=20000 [05:22:32]OFD Sender: Processing packet 56749 [packets to send 38, broken 37] [05:22:32]ProducePacketName [05:22:32]name=ofd_packets/00056749 [05:22:32]OFD Sender: To server: pG, [05:22:32]CommunicateWithHost lk.salyk.kg:30040 [05:22:32]ConnectInit lk.salyk.kg [05:22:32]line 0 [05:22:32]written 0, free lines is 4095 [05:22:32]Connected sock=10 [05:22: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 38 35 37 2F 01 00 00 14 42 27 01 C7 80 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 99 BD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AD DD 00 00 35 04 06 00 A7 51 9B C5 D3 37 05 AC C0 4B 92 46 DA 81 [05:22:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 94 81 47 00 8B 7D 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 38 35 37 10 04 04 00 AD DD 00 00 F4 03 04 00 F2 63 90 66 B6 04 01 00 00 0B AB 9C 4F 6F 0E E1 F8 [05:22:33]CommunicateWithHost err = 0 [05:22:33]CheckOFDResponse [05:22:33]1017 (14) - 77093643461234 [05:22:33]1041 (16) - 0000000000874857 [05:22:33]1040 (4) - 56749 [05:22:33]1012 (4) - 11.07.2024 23:00 [05:22:33]1206 (1) - 0 [05:22:33]OFD Sender: Remove packet 56749 [05:22:33]ProducePacketName [05:22:33]name=ofd_packets/00056749 [05:22:33]NVStorageDeleteData [05:22:33]Write to MH i2c: 01 00 00 71 13 84 [05:22:33]Write i2c OK [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: 01 [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: 01 07 00 [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: 01 07 00 71 13 00 00 00 00 00 14 0D AC [05:22:33]RasterBufferAndPrint [05:22:33]line [05:22:33]line [05:22:33]line [05:22:33]line [05:22:33]line [05:22:33]written 0, free lines is 3354 [05:22:33]MH_Cut [05:22:33]Write to MH i2c: D1 01 00 78 13 01 5D [05:22:33]Write i2c OK [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: D1 [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: D1 01 00 [05:22:33]MH_I2C_Read... [05:22:33]Read from MH i2c: D1 01 00 78 13 00 5C [05:22:33]Write to MH i2c: 01 00 00 79 13 8C [05:22:33]Write i2c OK [05:22:33]MH_I2C_Read... [05:22:33]OFD Sender: No OFD packet to send [05:22:34]*** Cut start [05:22:34]*** Partial cut [05:22:34]*** CUTSNS_PIN = 1 [05:22:34]*** CUTSNS_PIN = 0 [05:22:34]*** Brake cut motor [05:22:34]Read from MH i2c: 01 [05:22:34]MH_I2C_Read... [05:22:34]*** Stop cut motor [05:22:34]*** Cut end [05:22:34]Read from MH i2c: 01 07 00 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: 01 07 00 79 13 00 00 00 00 00 FF 0F A1 [05:22:34]process_action close_receipt done [05:22:34]requested_data is exist [05:22:34]produce_requested_data [05:22:34]requested_item fm.sn is exist - process it [05:22:34]wFMCommunicate request_size=4 [05:22:34]MH_SAM_APDU [05:22:34]CAPDU: 80 11 00 00 [05:22:34]Write to MH i2c: E2 08 00 7A 13 80 11 00 00 00 00 00 00 07 [05:22:34]Write i2c OK [05:22:34]MH_I2C_Read... [05:22:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:34]Read from MH i2c: E2 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 17 00 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 17 00 7A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [05:22:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:22:34]wFMCommunicate OK [05:22:34]requested_item fd.num is exist - process it [05:22:34]SAM_PROTO_GetFieldsCounters [05:22:34]wFMCommunicate request_size=4 [05:22:34]MH_SAM_APDU [05:22:34]CAPDU: 80 13 00 00 [05:22:34]Write to MH i2c: E2 08 00 7B 13 80 13 00 00 00 00 00 00 0A [05:22:34]Write i2c OK [05:22:34]MH_I2C_Read... [05:22:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:22:34]Read from MH i2c: E2 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 62 00 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 62 00 7B 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AD DD 00 00 0E 04 04 00 EE 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 D9 [05:22:34]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AD DD 00 00 0E 04 04 00 EE 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 [05:22:34]wFMCommunicate OK [05:22:34]SAM_PROTO_GetFieldsCounters done [05:22:34]requested_item shift.num is exist - process it [05:22:34]requested_item shift.opened is exist - process it [05:22:34]req_shift_opened [05:22:34]FM_GetShiftState [05:22:34]SAM_PROTO_GetShiftState [05:22:34]wFMCommunicate request_size=4 [05:22:34]MH_SAM_APDU [05:22:34]CAPDU: 80 13 01 00 [05:22:34]Write to MH i2c: E2 08 00 7C 13 80 13 01 00 00 00 00 00 0C [05:22:34]Write i2c OK [05:22:34]MH_I2C_Read... [05:22:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:34]Read from MH i2c: E2 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 0E 00 [05:22:34]MH_I2C_Read... [05:22:34]Read from MH i2c: E2 0E 00 7C 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 0D [05:22:34]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [05:22:34]wFMCommunicate OK [05:22:34]SAM_PROTO_GetShiftState done [05:22:34]FM_GetShiftState done [05:22:34]req_shift_opened done [05:22:34]requested_item shift.open_date is exist - process it [05:22:34]req_shift_open_date [05:22:34]req_shift_open_date done [05:22:34]requested_item shift.sale.total is exist - process it [05:22:34]SAM_PROTO_GetShiftData [05:22:34]wFMCommunicate request_size=4 [05:22:34]MH_SAM_APDU [05:22:34]CAPDU: 80 13 02 00 [05:22:34]Write to MH i2c: E2 08 00 7D 13 80 13 02 00 00 00 00 00 0E [05:22:34]Write i2c OK [05:22:34]MH_I2C_Read... [05:22:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:22:35]Read from MH i2c: E2 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 7D 13 00 AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 34 23 08 70 04 03 00 90 FC 04 72 04 03 00 A4 26 03 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 39 DD 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 6E 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 90 00 40 [05:22:35]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 34 23 08 70 04 03 00 90 FC 04 72 04 03 00 A4 26 03 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 39 DD 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 6E 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 90 00 [05:22:35]wFMCommunicate OK [05:22:35]wFMCommunicate request_size=4 [05:22:35]MH_SAM_APDU [05:22:35]CAPDU: 80 17 00 00 [05:22:35]Write to MH i2c: E2 08 00 7E 13 80 17 00 00 00 00 00 00 11 [05:22:35]Write i2c OK [05:22:35]MH_I2C_Read... [05:22:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:22:35]Read from MH i2c: E2 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 7E 13 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 23 [05:22:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [05:22:35]wFMCommunicate OK [05:22:35]wFMCommunicate request_size=4 [05:22:35]MH_SAM_APDU [05:22:35]CAPDU: 80 17 00 00 [05:22:35]Write to MH i2c: E2 08 00 7F 13 80 17 00 00 00 00 00 00 12 [05:22:35]Write i2c OK [05:22:35]MH_I2C_Read... [05:22:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:22:35]Read from MH i2c: E2 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 [05:22:35]MH_I2C_Read... [05:22:35]Read from MH i2c: E2 FD 00 7F 13 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 D6 [05:22:35]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [05:22:35]wFMCommunicate OK [05:22:35]wFMCommunicate request_size=4 [05:22:35]MH_SAM_APDU [05:22:35]CAPDU: 80 17 00 00 [05:22:35]Write to MH i2c: E2 08 00 80 13 80 17 00 00 00 00 00 00 13 [05:22:35]Write i2c OK [05:22:35]MH_I2C_Read... [05:22:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:22:36]Read from MH i2c: E2 [05:22:36]MH_I2C_Read... [05:22:36]Read from MH i2c: E2 FD 00 [05:22:36]MH_I2C_Read... [05:22:36]Read from MH i2c: E2 FD 00 80 13 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 88 [05:22:36]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [05:22:36]wFMCommunicate OK [05:22:36]wFMCommunicate request_size=4 [05:22:36]MH_SAM_APDU [05:22:36]CAPDU: 80 17 00 00 [05:22:36]Write to MH i2c: E2 08 00 81 13 80 17 00 00 00 00 00 00 14 [05:22:36]Write i2c OK [05:22:36]MH_I2C_Read... [05:22:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [05:22:36]Read from MH i2c: E2 [05:22:36]MH_I2C_Read... [05:22:36]Read from MH i2c: E2 CA 00 [05:22:36]MH_I2C_Read... [05:22:36]Read from MH i2c: E2 CA 00 81 13 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 F9 [05:22:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [05:22:36]wFMCommunicate OK [05:22:36]SAM_PROTO_GetShiftData done [05:22:36]requested_item shift.sale.total_cash is exist - process it [05:22:36]requested_item shift.sale_refund.total is exist - process it [05:22:36]requested_item shift.sale_refund.total_cash is exist - process it [05:22:36]produce_requested_data done [05:22:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56749,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5333.00,"shift.sale.total_cash":3268.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [05:22:36]process_action_free close_receipt [05:22:36]json_value_free [05:22:36]json_value_free done [05:22:36]process_json_proto returns [05:22:36]Send response to host [05:22:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56749,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5333.00,"shift.sale.total_cash":3268.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [05:22:36]free response buf [05:22:36]execute_script done [05:22:36]execute_script returns [05:22:36]free content buf [05:22:36]Sock 9.Close socket [05:22:36]Sock 9.Thread stoped [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:44]OFD Sender: No OFD packet to send [05:27:49]OFD Sender: No OFD packet to send [05:27:54]OFD Sender: No OFD packet to send [05:27:59]OFD Sender: No OFD packet to send [05:28:04]OFD Sender: No OFD packet to send [05:28:09]OFD Sender: No OFD packet to send [05:28:14]OFD Sender: No OFD packet to send [05:28:19]OFD Sender: No OFD packet to send [05:28:24]OFD Sender: No OFD packet to send [05:28:29]OFD Sender: No OFD packet to send [05:28:34]OFD Sender: No OFD packet to send [05:28:39]OFD Sender: No OFD packet to send [05:28:44]OFD Sender: No OFD packet to send [05:28:49]OFD Sender: No OFD packet to send [05:28:54]OFD Sender: No OFD packet to send [05:28:59]OFD Sender: No OFD packet to send [05:29:04]OFD Sender: No OFD packet to send [05:29:09]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:19]OFD Sender: No OFD packet to send [05:29:24]OFD Sender: No OFD packet to send [05:29:29]OFD Sender: No OFD packet to send [05:29:34]OFD Sender: No OFD packet to send [05:29:39]OFD Sender: No OFD packet to send [05:29:44]OFD Sender: No OFD packet to send [05:29:49]OFD Sender: No OFD packet to send [05:29:54]OFD Sender: No OFD packet to send [05:29:59]OFD Sender: No OFD packet to send [05:30:04]OFD Sender: No OFD packet to send [05:30:09]OFD Sender: No OFD packet to send [05:30:14]OFD Sender: No OFD packet to send [05:30:19]OFD Sender: No OFD packet to send [05:30:24]OFD Sender: No OFD packet to send [05:30:29]OFD Sender: No OFD packet to send [05:30:34]OFD Sender: No OFD packet to send [05:30:39]OFD Sender: No OFD packet to send [05:30:44]OFD Sender: No OFD packet to send [05:30:49]OFD Sender: No OFD packet to send [05:30:54]OFD Sender: No OFD packet to send [05:30:59]OFD Sender: No OFD packet to send [05:31:04]OFD Sender: No OFD packet to send [05:31:09]OFD Sender: No OFD packet to send [05:31:14]OFD Sender: No OFD packet to send [05:31:19]OFD Sender: No OFD packet to send [05:31:24]OFD Sender: No OFD packet to send [05:31:29]OFD Sender: No OFD packet to send [05:31:34]OFD Sender: No OFD packet to send [05:31:39]OFD Sender: No OFD packet to send [05:31:44]OFD Sender: No OFD packet to send [05:31:49]OFD Sender: No OFD packet to send [05:31:54]OFD Sender: No OFD packet to send [05:31:59]OFD Sender: No OFD packet to send [05:32:04]OFD Sender: No OFD packet to send [05:32:09]OFD Sender: No OFD packet to send [05:32:14]OFD Sender: No OFD packet to send [05:32:19]OFD Sender: No OFD packet to send [05:32:24]OFD Sender: No OFD packet to send [05:32:29]OFD Sender: No OFD packet to send [05:32:34]OFD Sender: No OFD packet to send [05:32:39]OFD Sender: No OFD packet to send [05:32:44]OFD Sender: No OFD packet to send [05:32:49]OFD Sender: No OFD packet to send [05:32:54]OFD Sender: No OFD packet to send [05:32:59]OFD Sender: No OFD packet to send [05:33:04]OFD Sender: No OFD packet to send [05:33:09]OFD Sender: No OFD packet to send [05:33:14]OFD Sender: No OFD packet to send [05:33:19]OFD Sender: No OFD packet to send [05:33:24]OFD Sender: No OFD packet to send [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:54]OFD Sender: No OFD packet to send [05:45:59]OFD Sender: No OFD packet to send [05:46:04]OFD Sender: No OFD packet to send [05:46:09]OFD Sender: No OFD packet to send [05:46:14]OFD Sender: No OFD packet to send [05:46:19]OFD Sender: No OFD packet to send [05:46:24]OFD Sender: No OFD packet to send [05:46:29]OFD Sender: No OFD packet to send [05:46:34]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:50]OFD Sender: No OFD packet to send [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:11]OFD Sender: No OFD packet to send [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:51]OFD Sender: No OFD packet to send [06:20:56]OFD Sender: No OFD packet to send [06:21:01]OFD Sender: No OFD packet to send [06:21:06]OFD Sender: No OFD packet to send [06:21:11]OFD Sender: No OFD packet to send [06:21:16]OFD Sender: No OFD packet to send [06:21:21]OFD Sender: No OFD packet to send [06:21:26]OFD Sender: No OFD packet to send [06:21:31]OFD Sender: No OFD packet to send [06:21:36]OFD Sender: No OFD packet to send [06:21:41]OFD Sender: No OFD packet to send [06:21:46]OFD Sender: No OFD packet to send [06:21:48]accept exits with 7 [06:21:48]New connection [06:21:48]New thread 3066457444 created [06:21:48]Thread 3066600804 joined [06:21:48]Waiting for new connection... [06:21:48] Sock 7.Parse request [06:21:48]Sock 7.Check first char [06:21:48]Sock 7.First char is OK [06:21:48]request: POST /json_proto HTTP/1.0 [06:21:48]Method: POST [06:21:48]URL: /json_proto [06:21:48]Method is POST - this is cgi request [06:21:48]url: /json_proto [06:21:48]query_string will be loaded in cgi processing [06:21:48]execute_cgi json_proto POST (null) [06:21:48]execute_cgi path=json_proto method=POST [06:21:48]POST find Content-Length [06:21:48]Host: 172.17.39.4:8080 [06:21:48]Content-Length: 759 [06:21:48]Content-Type: application/json [06:21:48] [06:21:48]POST finish read [06:21:48]Found Content-Length = 759 [06:21:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129251", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:21:48]execute_script... [06:21:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129251", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:21:48]POST & json_proto [06:21:48]process_json_proto [06:21:48]json parsed OK: [06:21:48]protocol is kg_v1.0 [06:21:48]action value=close_receipt [06:21:48]process_action close_receipt [06:21:48]cmd_close_receipt [06:21:48]MH_GetDate [06:21:48]Write to MH i2c: F0 00 00 82 13 84 [06:21:48]Write i2c OK [06:21:48]MH_I2C_Read... [06:21:48]Read from MH i2c: F0 [06:21:48]MH_I2C_Read... [06:21:48]Read from MH i2c: F0 09 00 [06:21:48]MH_I2C_Read... [06:21:48]Read from MH i2c: F0 09 00 82 13 00 80 CB 90 66 2D 25 5D 64 E1 [06:21:48]GetLastDocTimeStamp 1720761753 [06:21:48]current date 1720765312 [06:21:48]FM_GetShiftState [06:21:48]SAM_PROTO_GetShiftState [06:21:48]wFMCommunicate request_size=4 [06:21:48]MH_SAM_APDU [06:21:48]CAPDU: 80 13 01 00 [06:21:48]Write to MH i2c: E2 08 00 83 13 80 13 01 00 00 00 00 00 13 [06:21:48]Write i2c OK [06:21:48]MH_I2C_Read... [06:21:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:21:48]Read from MH i2c: E2 [06:21:48]MH_I2C_Read... [06:21:48]Read from MH i2c: E2 0E 00 [06:21:48]MH_I2C_Read... [06:21:48]Read from MH i2c: E2 0E 00 83 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 14 [06:21:48]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [06:21:48]wFMCommunicate OK [06:21:48]SAM_PROTO_GetShiftState done [06:21:48]FM_GetShiftState done [06:21:48]opened in 1720744326 [06:21:48]opened+sec_in_day 1720830726 [06:21:48]quantity*price = 26000 [06:21:48]sum+1 = 26001 [06:21:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 18 12.07.2024 06:21 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56750 ФПД: 68357265205499 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062152&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56750&fm=68357265205499&tin=02508201610067®Number=0000000000091208&sum=26000 0 [06:21:49]StoreToDocumentArchive [06:21:49]shift 494 fd 56750 [06:21:49]save to /storage/0494/doc_00056750 [06:21:49]save last doc name /storage/0494/doc_00056750 to /storage/kkm_last_doc_name [06:21:49]save OK [06:21:49]Clear old archive folders... [06:21:49]ProcessDocumentItem done err = 0, tmpTLVsize=279 [06:21:49]tlvbuf is B6E6BD40 [06:21:49]SAM_PROTO_ClearQueue [06:21:49]wFMCommunicate request_size=4 [06:21:49]MH_SAM_APDU [06:21:49]CAPDU: 80 09 00 00 [06:21:49]Write to MH i2c: E2 08 00 90 13 80 09 00 00 00 00 00 00 15 [06:21:49]Write i2c OK [06:21:49]MH_I2C_Read... [06:21:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:21:49]Read from MH i2c: E2 [06:21:49]MH_I2C_Read... [06:21:49]Read from MH i2c: E2 03 00 [06:21:49]MH_I2C_Read... [06:21:49]Read from MH i2c: E2 03 00 90 13 00 90 00 17 [06:21:49]RAPDU: 90 00 [06:21:49]wFMCommunicate OK [06:21:49]SAM_PROTO_ClearQueue done [06:21:49]KKMCreateOFDPacket [06:21:49]OFDProtocolAddRootSTLVToBuf [06:21:49]FM_MakeSignedData [06:21:49]FM_MakeSignedData [06:21:49]SAM_PROTO_SignData [06:21:49]wFMCommunicate request_size=4 [06:21:49]MH_SAM_APDU [06:21:49]CAPDU: 80 0D 01 02 [06:21:49]Write to MH i2c: E2 08 00 91 13 80 0D 01 02 00 00 00 00 1D [06:21:49]Write i2c OK [06:21:49]MH_I2C_Read... [06:21:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:21:50]Read from MH i2c: E2 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 91 13 00 90 00 18 [06:21:50]RAPDU: 90 00 [06:21:50]wFMCommunicate OK [06:21:50]wFMCommunicate request_size=255 [06:21:50]MH_SAM_APDU [06:21:50]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 80 CB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 [06:21:50]Write to MH i2c: E2 02 01 92 13 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 80 CB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 00 00 54 [06:21:50]Write i2c OK [06:21:50]MH_I2C_Read... [06:21:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:21:50]Read from MH i2c: E2 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 92 13 00 90 00 19 [06:21:50]RAPDU: 90 00 [06:21:50]wFMCommunicate OK [06:21:50]wFMCommunicate request_size=38 [06:21:50]MH_SAM_APDU [06:21:50]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DD 00 00 35 04 06 00 3E 2B AA 82 A8 FB [06:21:50]Write to MH i2c: E2 29 00 93 13 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DD 00 00 35 04 06 00 3E 2B AA 82 A8 FB 00 00 73 [06:21:50]Write i2c OK [06:21:50]MH_I2C_Read... [06:21:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:21:50]Read from MH i2c: E2 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 03 00 93 13 00 90 00 1A [06:21:50]RAPDU: 90 00 [06:21:50]wFMCommunicate OK [06:21:50]wFMCommunicate request_size=4 [06:21:50]MH_SAM_APDU [06:21:50]CAPDU: 80 0D 03 02 [06:21:50]Write to MH i2c: E2 08 00 94 13 80 0D 03 02 00 00 00 00 22 [06:21:50]Write i2c OK [06:21:50]MH_I2C_Read... [06:21:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:21:50]Read from MH i2c: E2 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 0B 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 0B 00 94 13 00 EE 4A D7 4B 23 ED 13 F5 90 00 95 [06:21:50]RAPDU: EE 4A D7 4B 23 ED 13 F5 90 00 [06:21:50]wFMCommunicate OK [06:21:50]SAM_PROTO_SignData done [06:21:50]FM_MakeSignedData done [06:21:50]CreateOFDProtocolMessage [06:21:50]wFMCommunicate request_size=4 [06:21:50]MH_SAM_APDU [06:21:50]CAPDU: 80 11 00 00 [06:21:50]Write to MH i2c: E2 08 00 95 13 80 11 00 00 00 00 00 00 22 [06:21:50]Write i2c OK [06:21:50]MH_I2C_Read... [06:21:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:21:50]Read from MH i2c: E2 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 17 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: E2 17 00 95 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7C [06:21:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:21:50]wFMCommunicate OK [06:21:50]CreateOFDProtocolMessage done [06:21:50]OFDSenderStorePacket 56750 [06:21:50]StoreOFDPacket docnum=56750 [06:21:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2B 01 00 00 9D FC 23 01 E0 4B 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 80 CB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DD 00 00 35 04 06 00 3E 2B AA 82 A8 FB EE 4A D7 4B 23 ED 13 F5 [06:21:50]CheckFolder [06:21:50]dirname=/storage/ofd_packets [06:21:50]CheckFolder done [06:21:50]ProducePacketName [06:21:50]name=ofd_packets/00056750 [06:21:50]NVStorageSaveData ofd_packets/00056750 [06:21:50]File name is /storage/ofd_packets/00056750 [06:21:50]Write 329 bytes [06:21:50]NVStorageSaveData done [06:21:50]OFDSenderStorePacket done [06:21:50]KKMCreateOFDPacket done [06:21:50]NVStorageSaveData kkm_last_timestamp [06:21:50]File name is /storage/kkm_last_timestamp [06:21:50]Write 4 bytes [06:21:50]NVStorageSaveData done [06:21:50]ExternCall_PrintAddStr [06:21:50]wPrintStart [06:21:50]Write to MH i2c: 01 00 00 96 13 A9 [06:21:50]Write i2c OK [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: 01 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: 01 07 00 [06:21:50]MH_I2C_Read... [06:21:50]Read from MH i2c: 01 07 00 96 13 00 00 00 00 00 FF 0F BE [06:21:50]RasterBufferAndPrint [06:21:50]line Счет N : (3)129251 [06:21:50]line ИНН: 02508201610067 [06:21:50]line Контрольно-Кассовый Чек [06:21:50]line ПРОДАЖА [06:21:50]line Товар: 4700002083914 [06:21:50]line Водка Сары челек 0,35л [06:21:50]line 1.000 * 260.00 [06:21:50]line = 260.00 [06:21:50]line НДС 12% НСП 1% [06:21:50]line > о реализуемом товаре [06:21:50]line ИТОГО: 260.00 [06:21:50]line НСП 1% : 2.30 [06:21:50]line НДС 12% : 27.61 [06:21:50]line Наличными: 260.00 [06:21:50]line Безнал.: 0.00 [06:21:50]line Место: АЗС № 132 "Партнер Нефть" [06:21:50]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [06:21:50]line СНО: Общий режим [06:21:50]line Чек 18 12.07.2024 06:21 [06:21:50]line Смена: 494 ФФД: 1.0 [06:21:50]line ЗНМ: 0300000132 [06:21:50]line РНМ: 0000000000091208 [06:21:50]line Версия ККМ: 001 [06:21:50]line ФМ: 0000000000874857 [06:21:50]line ФД: 56750 [06:21:50]line ФПД: 68357265205499 [06:21:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062152&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56750&fm=68357265205499&tin=02508201610067®Number=0000000000091208&sum=26000 [06:21:50]OFD Sender: Processing packet 56750 [packets to send 38, broken 37] [06:21:50]ProducePacketName [06:21:50]name=ofd_packets/00056750 [06:21:50]OFD Sender: To server: pG, [06:21:50]CommunicateWithHost lk.salyk.kg:30040 [06:21:50]ConnectInit lk.salyk.kg [06:21:50]line 0 [06:21:50]written 0, free lines is 4095 [06:21:50]Connected sock=10 [06:21:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2B 01 00 00 9D FC 23 01 E0 4B 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 80 CB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AE DD 00 00 35 04 06 00 3E 2B AA 82 A8 FB EE 4A D7 4B 23 ED 13 F5 [06: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 38 35 37 4F 00 00 00 34 69 47 00 C2 EE 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 38 35 37 10 04 04 00 AE DD 00 00 F4 03 04 00 D8 71 90 66 B6 04 01 00 00 9C 81 56 C6 47 07 63 93 [06:21:51]CommunicateWithHost err = 0 [06:21:51]CheckOFDResponse [06:21:51]1017 (14) - 77093643461234 [06:21:51]1041 (16) - 0000000000874857 [06:21:51]1040 (4) - 56750 [06:21:51]1012 (4) - 11.07.2024 23:59 [06:21:51]1206 (1) - 0 [06:21:51]OFD Sender: Remove packet 56750 [06:21:51]ProducePacketName [06:21:51]name=ofd_packets/00056750 [06:21:51]NVStorageDeleteData [06:21:51]Write to MH i2c: 01 00 00 BE 13 D1 [06:21:51]Write i2c OK [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: 01 [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: 01 07 00 [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: 01 07 00 BE 13 00 00 00 00 00 16 0D FB [06:21:51]RasterBufferAndPrint [06:21:51]line [06:21:51]line [06:21:51]line [06:21:51]line [06:21:51]line [06:21:51]written 0, free lines is 3357 [06:21:51]MH_Cut [06:21:51]Write to MH i2c: D1 01 00 C5 13 01 AA [06:21:51]Write i2c OK [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: D1 [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: D1 01 00 [06:21:51]MH_I2C_Read... [06:21:51]Read from MH i2c: D1 01 00 C5 13 00 A9 [06:21:51]Write to MH i2c: 01 00 00 C6 13 D9 [06:21:51]Write i2c OK [06:21:51]MH_I2C_Read... [06:21:51]OFD Sender: No OFD packet to send [06:21:51]*** Cut start [06:21:51]*** Partial cut [06:21:51]*** CUTSNS_PIN = 1 [06:21:51]*** CUTSNS_PIN = 0 [06:21:52]*** Brake cut motor [06:21:52]Read from MH i2c: 01 [06:21:52]MH_I2C_Read... [06:21:52]*** Stop cut motor [06:21:52]*** Cut end [06:21:52]Read from MH i2c: 01 07 00 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: 01 07 00 C6 13 00 00 00 00 00 FF 0F EE [06:21:52]process_action close_receipt done [06:21:52]requested_data is exist [06:21:52]produce_requested_data [06:21:52]requested_item fm.sn is exist - process it [06:21:52]wFMCommunicate request_size=4 [06:21:52]MH_SAM_APDU [06:21:52]CAPDU: 80 11 00 00 [06:21:52]Write to MH i2c: E2 08 00 C7 13 80 11 00 00 00 00 00 00 54 [06:21:52]Write i2c OK [06:21:52]MH_I2C_Read... [06:21:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:21:52]Read from MH i2c: E2 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 17 00 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 17 00 C7 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AE [06:21:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:21:52]wFMCommunicate OK [06:21:52]requested_item fd.num is exist - process it [06:21:52]SAM_PROTO_GetFieldsCounters [06:21:52]wFMCommunicate request_size=4 [06:21:52]MH_SAM_APDU [06:21:52]CAPDU: 80 13 00 00 [06:21:52]Write to MH i2c: E2 08 00 C8 13 80 13 00 00 00 00 00 00 57 [06:21:52]Write i2c OK [06:21:52]MH_I2C_Read... [06:21:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:21:52]Read from MH i2c: E2 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 62 00 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 62 00 C8 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AE DD 00 00 0E 04 04 00 EE 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 2A [06: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AE DD 00 00 0E 04 04 00 EE 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 [06:21:52]wFMCommunicate OK [06:21:52]SAM_PROTO_GetFieldsCounters done [06:21:52]requested_item shift.num is exist - process it [06:21:52]requested_item shift.opened is exist - process it [06:21:52]req_shift_opened [06:21:52]FM_GetShiftState [06:21:52]SAM_PROTO_GetShiftState [06:21:52]wFMCommunicate request_size=4 [06:21:52]MH_SAM_APDU [06:21:52]CAPDU: 80 13 01 00 [06:21:52]Write to MH i2c: E2 08 00 C9 13 80 13 01 00 00 00 00 00 59 [06:21:52]Write i2c OK [06:21:52]MH_I2C_Read... [06:21:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:21:52]Read from MH i2c: E2 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 0E 00 [06:21:52]MH_I2C_Read... [06:21:52]Read from MH i2c: E2 0E 00 C9 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 5A [06:21:52]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [06:21:52]wFMCommunicate OK [06:21:52]SAM_PROTO_GetShiftState done [06:21:52]FM_GetShiftState done [06:21:52]req_shift_opened done [06:21:52]requested_item shift.open_date is exist - process it [06:21:52]req_shift_open_date [06:21:52]req_shift_open_date done [06:21:52]requested_item shift.sale.total is exist - process it [06:21:52]SAM_PROTO_GetShiftData [06:21:52]wFMCommunicate request_size=4 [06:21:52]MH_SAM_APDU [06:21:52]CAPDU: 80 13 02 00 [06:21:52]Write to MH i2c: E2 08 00 CA 13 80 13 02 00 00 00 00 00 5B [06:21:52]Write i2c OK [06:21:52]MH_I2C_Read... [06:21:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:21:53]Read from MH i2c: E2 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 CA 13 00 AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 C4 88 08 70 04 03 00 20 62 05 72 04 03 00 A4 26 03 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 02 E8 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 54 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 36 [06:21:53]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 C4 88 08 70 04 03 00 20 62 05 72 04 03 00 A4 26 03 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 02 E8 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 54 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [06:21:53]wFMCommunicate OK [06:21:53]wFMCommunicate request_size=4 [06:21:53]MH_SAM_APDU [06:21:53]CAPDU: 80 17 00 00 [06:21:53]Write to MH i2c: E2 08 00 CB 13 80 17 00 00 00 00 00 00 5E [06:21:53]Write i2c OK [06:21:53]MH_I2C_Read... [06:21:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:21:53]Read from MH i2c: E2 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 CB 13 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 70 [06:21:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [06:21:53]wFMCommunicate OK [06:21:53]wFMCommunicate request_size=4 [06:21:53]MH_SAM_APDU [06:21:53]CAPDU: 80 17 00 00 [06:21:53]Write to MH i2c: E2 08 00 CC 13 80 17 00 00 00 00 00 00 5F [06:21:53]Write i2c OK [06:21:53]MH_I2C_Read... [06:21:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:21:53]Read from MH i2c: E2 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 [06:21:53]MH_I2C_Read... [06:21:53]Read from MH i2c: E2 FD 00 CC 13 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 23 [06:21:53]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [06:21:53]wFMCommunicate OK [06:21:53]wFMCommunicate request_size=4 [06:21:53]MH_SAM_APDU [06:21:53]CAPDU: 80 17 00 00 [06:21:53]Write to MH i2c: E2 08 00 CD 13 80 17 00 00 00 00 00 00 60 [06:21:53]Write i2c OK [06:21:53]MH_I2C_Read... [06:21:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:21:54]Read from MH i2c: E2 [06:21:54]MH_I2C_Read... [06:21:54]Read from MH i2c: E2 FD 00 [06:21:54]MH_I2C_Read... [06:21:54]Read from MH i2c: E2 FD 00 CD 13 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 D5 [06:21:54]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [06:21:54]wFMCommunicate OK [06:21:54]wFMCommunicate request_size=4 [06:21:54]MH_SAM_APDU [06:21:54]CAPDU: 80 17 00 00 [06:21:54]Write to MH i2c: E2 08 00 CE 13 80 17 00 00 00 00 00 00 61 [06:21:54]Write i2c OK [06:21:54]MH_I2C_Read... [06:21:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [06:21:54]Read from MH i2c: E2 [06:21:54]MH_I2C_Read... [06:21:54]Read from MH i2c: E2 CA 00 [06:21:54]MH_I2C_Read... [06:21:54]Read from MH i2c: E2 CA 00 CE 13 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 46 [06:21:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:21:54]wFMCommunicate OK [06:21:54]SAM_PROTO_GetShiftData done [06:21:54]requested_item shift.sale.total_cash is exist - process it [06:21:54]requested_item shift.sale_refund.total is exist - process it [06:21:54]requested_item shift.sale_refund.total_cash is exist - process it [06:21:54]produce_requested_data done [06:21:54]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56750,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5593.00,"shift.sale.total_cash":3528.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [06:21:54]process_action_free close_receipt [06:21:54]json_value_free [06:21:54]json_value_free done [06:21:54]process_json_proto returns [06:21:54]Send response to host [06:21:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56750,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5593.00,"shift.sale.total_cash":3528.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [06:21:54]free response buf [06:21:54]execute_script done [06:21:54]execute_script returns [06:21:54]free content buf [06:21:54]Sock 7.Close socket [06:21:54]Sock 7.Thread stoped [06:21:56]OFD Sender: No OFD packet to send [06:22:01]OFD Sender: No OFD packet to send [06:22:06]OFD Sender: No OFD packet to send [06:22:11]OFD Sender: No OFD packet to send [06:22:16]OFD Sender: No OFD packet to send [06:22:21]OFD Sender: No OFD packet to send [06:22:26]OFD Sender: No OFD packet to send [06:22:31]OFD Sender: No OFD packet to send [06:22:36]OFD Sender: No OFD packet to send [06:22:41]OFD Sender: No OFD packet to send [06:22:46]OFD Sender: No OFD packet to send [06:22:51]OFD Sender: No OFD packet to send [06:22:56]OFD Sender: No OFD packet to send [06:23:01]OFD Sender: No OFD packet to send [06:23:06]OFD Sender: No OFD packet to send [06:23:11]OFD Sender: No OFD packet to send [06:23:16]OFD Sender: No OFD packet to send [06:23:21]OFD Sender: No OFD packet to send [06:23:26]OFD Sender: No OFD packet to send [06:23:31]OFD Sender: No OFD packet to send [06:23:36]OFD Sender: No OFD packet to send [06:23:41]OFD Sender: No OFD packet to send [06:23:46]OFD Sender: No OFD packet to send [06:23:51]OFD Sender: No OFD packet to send [06:23:56]OFD Sender: No OFD packet to send [06:24:01]OFD Sender: No OFD packet to send [06:24:06]OFD Sender: No OFD packet to send [06:24:11]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:57]OFD Sender: No OFD packet to send [06:38:02]OFD Sender: No OFD packet to send [06:38:07]OFD Sender: No OFD packet to send [06:38:12]OFD Sender: No OFD packet to send [06:38:17]OFD Sender: No OFD packet to send [06:38:22]OFD Sender: No OFD packet to send [06:38:27]OFD Sender: No OFD packet to send [06:38:32]OFD Sender: No OFD packet to send [06:38:37]OFD Sender: No OFD packet to send [06:38:42]OFD Sender: No OFD packet to send [06:38:47]OFD Sender: No OFD packet to send [06:38:52]OFD Sender: No OFD packet to send [06:38:57]OFD Sender: No OFD packet to send [06:39:02]OFD Sender: No OFD packet to send [06:39:07]OFD Sender: No OFD packet to send [06:39:12]OFD Sender: No OFD packet to send [06:39:17]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:52]OFD Sender: No OFD packet to send [06:40:57]OFD Sender: No OFD packet to send [06:41:02]OFD Sender: No OFD packet to send [06:41:07]OFD Sender: No OFD packet to send [06:41:12]OFD Sender: No OFD packet to send [06:41:17]OFD Sender: No OFD packet to send [06:41:22]OFD Sender: No OFD packet to send [06:41:27]OFD Sender: No OFD packet to send [06:41:32]OFD Sender: No OFD packet to send [06:41:37]OFD Sender: No OFD packet to send [06:41:42]OFD Sender: No OFD packet to send [06:41:47]OFD Sender: No OFD packet to send [06:41:52]OFD Sender: No OFD packet to send [06:41:57]OFD Sender: No OFD packet to send [06:42:02]OFD Sender: No OFD packet to send [06:42:07]OFD Sender: No OFD packet to send [06:42:12]OFD Sender: No OFD packet to send [06:42:17]OFD Sender: No OFD packet to send [06:42:22]OFD Sender: No OFD packet to send [06:42:27]OFD Sender: No OFD packet to send [06:42:32]OFD Sender: No OFD packet to send [06:42:37]OFD Sender: No OFD packet to send [06:42:42]OFD Sender: No OFD packet to send [06:42:47]OFD Sender: No OFD packet to send [06:42:52]OFD Sender: No OFD packet to send [06:42:57]OFD Sender: No OFD packet to send [06:43:02]OFD Sender: No OFD packet to send [06:43:07]OFD Sender: No OFD packet to send [06:43:12]OFD Sender: No OFD packet to send [06:43:17]OFD Sender: No OFD packet to send [06:43:22]OFD Sender: No OFD packet to send [06:43:27]OFD Sender: No OFD packet to send [06:43:32]OFD Sender: No OFD packet to send [06:43:37]OFD Sender: No OFD packet to send [06:43:42]OFD Sender: No OFD packet to send [06:43:47]OFD Sender: No OFD packet to send [06:43:52]OFD Sender: No OFD packet to send [06:43:57]OFD Sender: No OFD packet to send [06:44:02]OFD Sender: No OFD packet to send [06:44:07]OFD Sender: No OFD packet to send [06:44:12]OFD Sender: No OFD packet to send [06:44:17]OFD Sender: No OFD packet to send [06:44:22]OFD Sender: No OFD packet to send [06:44:27]OFD Sender: No OFD packet to send [06:44:32]OFD Sender: No OFD packet to send [06:44:37]OFD Sender: No OFD packet to send [06:44:42]OFD Sender: No OFD packet to send [06:44:47]OFD Sender: No OFD packet to send [06:44:52]OFD Sender: No OFD packet to send [06:44:57]OFD Sender: No OFD packet to send [06:45:02]OFD Sender: No OFD packet to send [06:45:07]OFD Sender: No OFD packet to send [06:45:12]OFD Sender: No OFD packet to send [06:45:17]OFD Sender: No OFD packet to send [06:45:22]OFD Sender: No OFD packet to send [06:45:27]OFD Sender: No OFD packet to send [06:45:32]OFD Sender: No OFD packet to send [06:45:37]OFD Sender: No OFD packet to send [06:45:42]OFD Sender: No OFD packet to send [06:45:47]OFD Sender: No OFD packet to send [06:45:52]OFD Sender: No OFD packet to send [06:45:57]OFD Sender: No OFD packet to send [06:46:02]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:30]accept exits with 9 [07:11:30]New connection [07:11:30]New thread 3066600804 created [07:11:30]Thread 3066457444 joined [07:11:30]Waiting for new connection... [07:11:30] Sock 9.Parse request [07:11:30]Sock 9.Check first char [07:11:30]Sock 9.First char is OK [07:11:30]request: POST /json_proto HTTP/1.0 [07:11:30]Method: POST [07:11:30]URL: /json_proto [07:11:30]Method is POST - this is cgi request [07:11:30]url: /json_proto [07:11:30]query_string will be loaded in cgi processing [07:11:30]execute_cgi json_proto POST (null) [07:11:30]execute_cgi path=json_proto method=POST [07:11:30]POST find Content-Length [07:11:30]Host: 172.17.39.4:8080 [07:11:30]Content-Length: 771 [07:11:30]Content-Type: application/json [07:11:30] [07:11:30]POST finish read [07:11:30]Found Content-Length = 771 [07:11:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129252", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:11:30]execute_script... [07:11: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)129252", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:11:30]POST & json_proto [07:11:30]process_json_proto [07:11:30]json parsed OK: [07:11:30]protocol is kg_v1.0 [07:11:30]action value=close_receipt [07:11:30]process_action close_receipt [07:11:30]cmd_close_receipt [07:11:30]MH_GetDate [07:11:30]Write to MH i2c: F0 00 00 CF 13 D1 [07:11:30]Write i2c OK [07:11:30]MH_I2C_Read... [07:11:30]Read from MH i2c: F0 [07:11:30]MH_I2C_Read... [07:11:30]Read from MH i2c: F0 09 00 [07:11:30]MH_I2C_Read... [07:11:30]Read from MH i2c: F0 09 00 CF 13 00 26 D7 90 66 2D 25 5D 64 E0 [07:11:30]GetLastDocTimeStamp 1720765312 [07:11:30]current date 1720768294 [07:11:30]FM_GetShiftState [07:11:30]SAM_PROTO_GetShiftState [07:11:30]wFMCommunicate request_size=4 [07:11:30]MH_SAM_APDU [07:11:30]CAPDU: 80 13 01 00 [07:11:30]Write to MH i2c: E2 08 00 D0 13 80 13 01 00 00 00 00 00 60 [07:11:30]Write i2c OK [07:11:30]MH_I2C_Read... [07:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:11:30]Read from MH i2c: E2 [07:11:30]MH_I2C_Read... [07:11:30]Read from MH i2c: E2 0E 00 [07:11:30]MH_I2C_Read... [07:11:30]Read from MH i2c: E2 0E 00 D0 13 00 09 00 01 86 79 90 66 00 00 00 00 90 00 61 [07:11:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:11:30]wFMCommunicate OK [07:11:30]SAM_PROTO_GetShiftState done [07:11:30]FM_GetShiftState done [07:11:30]opened in 1720744326 [07:11:30]opened+sec_in_day 1720830726 [07:11:30]quantity*price = 20000 [07:11:30]sum+1 = 20001 [07:11:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 19 12.07.2024 07:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56751 ФПД: 75028981213091 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071134&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56751&fm=75028981213091&tin=02508201610067®Number=0000000000091208&sum=20000 0 [07:11:31]StoreToDocumentArchive [07:11:31]shift 494 fd 56751 [07:11:31]save to /storage/0494/doc_00056751 [07:11:31]save last doc name /storage/0494/doc_00056751 to /storage/kkm_last_doc_name [07:11:31]save OK [07:11:31]Clear old archive folders... [07:11:31]ProcessDocumentItem done err = 0, tmpTLVsize=283 [07:11:31]tlvbuf is B6E6B880 [07:11:31]SAM_PROTO_ClearQueue [07:11:31]wFMCommunicate request_size=4 [07:11:31]MH_SAM_APDU [07:11:31]CAPDU: 80 09 00 00 [07:11:31]Write to MH i2c: E2 08 00 DD 13 80 09 00 00 00 00 00 00 62 [07:11:31]Write i2c OK [07:11:31]MH_I2C_Read... [07:11:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:11:31]Read from MH i2c: E2 [07:11:31]MH_I2C_Read... [07:11:31]Read from MH i2c: E2 03 00 [07:11:31]MH_I2C_Read... [07:11:31]Read from MH i2c: E2 03 00 DD 13 00 90 00 64 [07:11:31]RAPDU: 90 00 [07:11:31]wFMCommunicate OK [07:11:31]SAM_PROTO_ClearQueue done [07:11:31]KKMCreateOFDPacket [07:11:31]OFDProtocolAddRootSTLVToBuf [07:11:31]FM_MakeSignedData [07:11:31]FM_MakeSignedData [07:11:31]SAM_PROTO_SignData [07:11:31]wFMCommunicate request_size=4 [07:11:31]MH_SAM_APDU [07:11:31]CAPDU: 80 0D 01 02 [07:11:31]Write to MH i2c: E2 08 00 DE 13 80 0D 01 02 00 00 00 00 6A [07:11:31]Write i2c OK [07:11:31]MH_I2C_Read... [07:11:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:11:31]Read from MH i2c: E2 [07:11:31]MH_I2C_Read... [07:11:31]Read from MH i2c: E2 03 00 [07:11:31]MH_I2C_Read... [07:11:31]Read from MH i2c: E2 03 00 DE 13 00 90 00 65 [07:11:31]RAPDU: 90 00 [07:11:31]wFMCommunicate OK [07:11:31]wFMCommunicate request_size=255 [07:11:31]MH_SAM_APDU [07:11:31]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 26 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [07:11:31]Write to MH i2c: E2 02 01 DF 13 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 26 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 C8 [07:11:31]Write i2c OK [07:11:31]MH_I2C_Read... [07:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:11:32]Read from MH i2c: E2 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 03 00 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 03 00 DF 13 00 90 00 66 [07:11:32]RAPDU: 90 00 [07:11:32]wFMCommunicate OK [07:11:32]wFMCommunicate request_size=42 [07:11:32]MH_SAM_APDU [07:11:32]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DD 00 00 35 04 06 00 44 3D 0B C5 E7 A3 [07:11:32]Write to MH i2c: E2 2D 00 E0 13 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DD 00 00 35 04 06 00 44 3D 0B C5 E7 A3 00 00 B0 [07:11:32]Write i2c OK [07:11:32]MH_I2C_Read... [07:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:11:32]Read from MH i2c: E2 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 03 00 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 03 00 E0 13 00 90 00 67 [07:11:32]RAPDU: 90 00 [07:11:32]wFMCommunicate OK [07:11:32]wFMCommunicate request_size=4 [07:11:32]MH_SAM_APDU [07:11:32]CAPDU: 80 0D 03 02 [07:11:32]Write to MH i2c: E2 08 00 E1 13 80 0D 03 02 00 00 00 00 6F [07:11:32]Write i2c OK [07:11:32]MH_I2C_Read... [07:11:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:11:32]Read from MH i2c: E2 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 0B 00 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 0B 00 E1 13 00 37 53 46 72 65 33 60 C9 90 00 73 [07:11:32]RAPDU: 37 53 46 72 65 33 60 C9 90 00 [07:11:32]wFMCommunicate OK [07:11:32]SAM_PROTO_SignData done [07:11:32]FM_MakeSignedData done [07:11:32]CreateOFDProtocolMessage [07:11:32]wFMCommunicate request_size=4 [07:11:32]MH_SAM_APDU [07:11:32]CAPDU: 80 11 00 00 [07:11:32]Write to MH i2c: E2 08 00 E2 13 80 11 00 00 00 00 00 00 6F [07:11:32]Write i2c OK [07:11:32]MH_I2C_Read... [07:11:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:11:32]Read from MH i2c: E2 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 17 00 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: E2 17 00 E2 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C9 [07:11:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:11:32]wFMCommunicate OK [07:11:32]CreateOFDProtocolMessage done [07:11:32]OFDSenderStorePacket 56751 [07:11:32]StoreOFDPacket docnum=56751 [07:11:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 DE CF 27 01 47 F4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 26 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DD 00 00 35 04 06 00 44 3D 0B C5 E7 A3 37 53 46 72 65 33 60 C9 [07:11:32]CheckFolder [07:11:32]dirname=/storage/ofd_packets [07:11:32]CheckFolder done [07:11:32]ProducePacketName [07:11:32]name=ofd_packets/00056751 [07:11:32]NVStorageSaveData ofd_packets/00056751 [07:11:32]File name is /storage/ofd_packets/00056751 [07:11:32]Write 333 bytes [07:11:32]NVStorageSaveData done [07:11:32]OFDSenderStorePacket done [07:11:32]KKMCreateOFDPacket done [07:11:32]NVStorageSaveData kkm_last_timestamp [07:11:32]File name is /storage/kkm_last_timestamp [07:11:32]Write 4 bytes [07:11:32]NVStorageSaveData done [07:11:32]ExternCall_PrintAddStr [07:11:32]wPrintStart [07:11:32]Write to MH i2c: 01 00 00 E3 13 F6 [07:11:32]Write i2c OK [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: 01 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: 01 07 00 [07:11:32]MH_I2C_Read... [07:11:32]Read from MH i2c: 01 07 00 E3 13 00 00 00 00 00 FF 0F 0B [07:11:32]RasterBufferAndPrint [07:11:32]line Счет N : (3)129252 [07:11:32]line ИНН: 02508201610067 [07:11:32]line Контрольно-Кассовый Чек [07:11:32]line ПРОДАЖА [07:11:32]line Товар: 4700002086281 [07:11:32]line Водка Белое золото 0,24л [07:11:32]line 1.000 * 200.00 [07:11:32]line = 200.00 [07:11:32]line НДС 12% НСП 1% [07:11:32]line > о реализуемом товаре [07:11:32]line ИТОГО: 200.00 [07:11:32]line НСП 1% : 1.77 [07:11:32]line НДС 12% : 21.24 [07:11:32]line Наличными: 200.00 [07:11:32]line Безнал.: 0.00 [07:11:32]line Место: АЗС № 132 "Партнер Нефть" [07:11:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:11:32]line СНО: Общий режим [07:11:32]line Чек 19 12.07.2024 07:11 [07:11:32]line Смена: 494 ФФД: 1.0 [07:11:32]line ЗНМ: 0300000132 [07:11:32]line РНМ: 0000000000091208 [07:11:32]line Версия ККМ: 001 [07:11:32]line ФМ: 0000000000874857 [07:11:32]line ФД: 56751 [07:11:32]line ФПД: 75028981213091 [07:11:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071134&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56751&fm=75028981213091&tin=02508201610067®Number=0000000000091208&sum=20000 [07:11:32]line 0 [07:11:32]OFD Sender: Processing packet 56751 [packets to send 38, broken 37] [07:11:32]ProducePacketName [07:11:32]name=ofd_packets/00056751 [07:11:32]OFD Sender: To server: pG, [07:11:32]CommunicateWithHost lk.salyk.kg:30040 [07:11:32]ConnectInit lk.salyk.kg [07:11:32]written 0, free lines is 4095 [07:11:32]Connected sock=10 [07:11: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 38 35 37 2F 01 00 00 DE CF 27 01 47 F4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 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 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 26 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 AF DD 00 00 35 04 06 00 44 3D 0B C5 E7 A3 37 53 46 72 65 33 60 C9 [07:11:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 64 AC 47 00 CB 4E 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 38 35 37 10 04 04 00 AF DD 00 00 F4 03 04 00 7E 7D 90 66 B6 04 01 00 00 D4 6E AD AF CD AE FE CD [07:11:33]CommunicateWithHost err = 0 [07:11:33]CheckOFDResponse [07:11:33]1017 (14) - 77093643461234 [07:11:33]1041 (16) - 0000000000874857 [07:11:33]1040 (4) - 56751 [07:11:33]1012 (4) - 12.07.2024 00:49 [07:11:33]1206 (1) - 0 [07:11:33]OFD Sender: Remove packet 56751 [07:11:33]ProducePacketName [07:11:33]name=ofd_packets/00056751 [07:11:33]NVStorageDeleteData [07:11:33]Write to MH i2c: 01 00 00 0B 14 1F [07:11:33]Write i2c OK [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: 01 [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: 01 07 00 [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: 01 07 00 0B 14 00 00 00 00 00 17 0D 4A [07:11:33]RasterBufferAndPrint [07:11:33]line [07:11:33]line [07:11:33]line [07:11:33]line [07:11:33]line [07:11:33]written 0, free lines is 3359 [07:11:33]MH_Cut [07:11:33]Write to MH i2c: D1 01 00 12 14 01 F8 [07:11:33]Write i2c OK [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: D1 [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: D1 01 00 [07:11:33]MH_I2C_Read... [07:11:33]Read from MH i2c: D1 01 00 12 14 00 F7 [07:11:33]Write to MH i2c: 01 00 00 13 14 27 [07:11:33]Write i2c OK [07:11:33]MH_I2C_Read... [07:11:33]OFD Sender: No OFD packet to send [07:11:33]*** Cut start [07:11:33]*** Partial cut [07:11:33]*** CUTSNS_PIN = 1 [07:11:33]*** CUTSNS_PIN = 0 [07:11:34]*** Brake cut motor [07:11:34]Read from MH i2c: 01 [07:11:34]MH_I2C_Read... [07:11:34]*** Stop cut motor [07:11:34]*** Cut end [07:11:34]Read from MH i2c: 01 07 00 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: 01 07 00 13 14 00 00 00 00 00 FF 0F 3C [07:11:34]process_action close_receipt done [07:11:34]requested_data is exist [07:11:34]produce_requested_data [07:11:34]requested_item fm.sn is exist - process it [07:11:34]wFMCommunicate request_size=4 [07:11:34]MH_SAM_APDU [07:11:34]CAPDU: 80 11 00 00 [07:11:34]Write to MH i2c: E2 08 00 14 14 80 11 00 00 00 00 00 00 A2 [07:11:34]Write i2c OK [07:11:34]MH_I2C_Read... [07:11:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:11:34]Read from MH i2c: E2 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 17 00 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 17 00 14 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FC [07:11:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:11:34]wFMCommunicate OK [07:11:34]requested_item fd.num is exist - process it [07:11:34]SAM_PROTO_GetFieldsCounters [07:11:34]wFMCommunicate request_size=4 [07:11:34]MH_SAM_APDU [07:11:34]CAPDU: 80 13 00 00 [07:11:34]Write to MH i2c: E2 08 00 15 14 80 13 00 00 00 00 00 00 A5 [07:11:34]Write i2c OK [07:11:34]MH_I2C_Read... [07:11:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:11:34]Read from MH i2c: E2 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 62 00 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 62 00 15 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AF DD 00 00 0E 04 04 00 EE 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 7C [07:11:34]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 AF DD 00 00 0E 04 04 00 EE 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 [07:11:34]wFMCommunicate OK [07:11:34]SAM_PROTO_GetFieldsCounters done [07:11:34]requested_item shift.num is exist - process it [07:11:34]requested_item shift.opened is exist - process it [07:11:34]req_shift_opened [07:11:34]FM_GetShiftState [07:11:34]SAM_PROTO_GetShiftState [07:11:34]wFMCommunicate request_size=4 [07:11:34]MH_SAM_APDU [07:11:34]CAPDU: 80 13 01 00 [07:11:34]Write to MH i2c: E2 08 00 16 14 80 13 01 00 00 00 00 00 A7 [07:11:34]Write i2c OK [07:11:34]MH_I2C_Read... [07:11:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:11:34]Read from MH i2c: E2 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 0E 00 [07:11:34]MH_I2C_Read... [07:11:34]Read from MH i2c: E2 0E 00 16 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 A8 [07:11:34]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:11:34]wFMCommunicate OK [07:11:34]SAM_PROTO_GetShiftState done [07:11:34]FM_GetShiftState done [07:11:34]req_shift_opened done [07:11:34]requested_item shift.open_date is exist - process it [07:11:34]req_shift_open_date [07:11:34]req_shift_open_date done [07:11:34]requested_item shift.sale.total is exist - process it [07:11:34]SAM_PROTO_GetShiftData [07:11:34]wFMCommunicate request_size=4 [07:11:34]MH_SAM_APDU [07:11:34]CAPDU: 80 13 02 00 [07:11:34]Write to MH i2c: E2 08 00 17 14 80 13 02 00 00 00 00 00 A9 [07:11:34]Write i2c OK [07:11:34]MH_I2C_Read... [07:11:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:11:35]Read from MH i2c: E2 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 17 14 00 AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 E4 D6 08 70 04 03 00 40 B0 05 72 04 03 00 A4 26 03 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 4E F0 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 05 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 68 [07:11:35]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 E4 D6 08 70 04 03 00 40 B0 05 72 04 03 00 A4 26 03 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 4E F0 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 05 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [07:11:35]wFMCommunicate OK [07:11:35]wFMCommunicate request_size=4 [07:11:35]MH_SAM_APDU [07:11:35]CAPDU: 80 17 00 00 [07:11:35]Write to MH i2c: E2 08 00 18 14 80 17 00 00 00 00 00 00 AC [07:11:35]Write i2c OK [07:11:35]MH_I2C_Read... [07:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:11:35]Read from MH i2c: E2 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 18 14 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 BE [07:11:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [07:11:35]wFMCommunicate OK [07:11:35]wFMCommunicate request_size=4 [07:11:35]MH_SAM_APDU [07:11:35]CAPDU: 80 17 00 00 [07:11:35]Write to MH i2c: E2 08 00 19 14 80 17 00 00 00 00 00 00 AD [07:11:35]Write i2c OK [07:11:35]MH_I2C_Read... [07:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:11:35]Read from MH i2c: E2 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 [07:11:35]MH_I2C_Read... [07:11:35]Read from MH i2c: E2 FD 00 19 14 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 71 [07:11:35]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [07:11:35]wFMCommunicate OK [07:11:35]wFMCommunicate request_size=4 [07:11:35]MH_SAM_APDU [07:11:35]CAPDU: 80 17 00 00 [07:11:35]Write to MH i2c: E2 08 00 1A 14 80 17 00 00 00 00 00 00 AE [07:11:35]Write i2c OK [07:11:35]MH_I2C_Read... [07:11:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:11:36]Read from MH i2c: E2 [07:11:36]MH_I2C_Read... [07:11:36]Read from MH i2c: E2 FD 00 [07:11:36]MH_I2C_Read... [07:11:36]Read from MH i2c: E2 FD 00 1A 14 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 23 [07:11:36]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [07:11:36]wFMCommunicate OK [07:11:36]wFMCommunicate request_size=4 [07:11:36]MH_SAM_APDU [07:11:36]CAPDU: 80 17 00 00 [07:11:36]Write to MH i2c: E2 08 00 1B 14 80 17 00 00 00 00 00 00 AF [07:11:36]Write i2c OK [07:11:36]MH_I2C_Read... [07:11:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [07:11:36]Read from MH i2c: E2 [07:11:36]MH_I2C_Read... [07:11:36]Read from MH i2c: E2 CA 00 [07:11:36]MH_I2C_Read... [07:11:36]Read from MH i2c: E2 CA 00 1B 14 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 94 [07:11:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:11:36]wFMCommunicate OK [07:11:36]SAM_PROTO_GetShiftData done [07:11:36]requested_item shift.sale.total_cash is exist - process it [07:11:36]requested_item shift.sale_refund.total is exist - process it [07:11:36]requested_item shift.sale_refund.total_cash is exist - process it [07:11:36]produce_requested_data done [07:11:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56751,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5793.00,"shift.sale.total_cash":3728.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:11:36]process_action_free close_receipt [07:11:36]json_value_free [07:11:36]json_value_free done [07:11:36]process_json_proto returns [07:11:36]Send response to host [07:11:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56751,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":5793.00,"shift.sale.total_cash":3728.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:11:36]free response buf [07:11:36]execute_script done [07:11:36]execute_script returns [07:11:36]free content buf [07:11:36]Sock 9.Close socket [07:11:36]Sock 9.Thread stoped [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:41]accept exits with 7 [07:12:41]New connection [07:12:41]New thread 3066457444 created [07:12:41]Thread 3066600804 joined [07:12:41]Waiting for new connection... [07:12:41] Sock 7.Parse request [07:12:41]Sock 7.Check first char [07:12:41]Sock 7.First char is OK [07:12:41]request: POST /json_proto HTTP/1.0 [07:12:41]Method: POST [07:12:41]URL: /json_proto [07:12:41]Method is POST - this is cgi request [07:12:41]url: /json_proto [07:12:41]query_string will be loaded in cgi processing [07:12:41]execute_cgi json_proto POST (null) [07:12:41]execute_cgi path=json_proto method=POST [07:12:41]POST find Content-Length [07:12:41]Host: 172.17.39.4:8080 [07:12:41]Content-Length: 771 [07:12:41]Content-Type: application/json [07:12:41] [07:12:41]POST finish read [07:12:41]Found Content-Length = 771 [07:12:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129253", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:12:41]execute_script... [07:12: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)129253", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:12:41]POST & json_proto [07:12:41]process_json_proto [07:12:41]json parsed OK: [07:12:41]protocol is kg_v1.0 [07:12:41]action value=close_receipt [07:12:41]process_action close_receipt [07:12:41]cmd_close_receipt [07:12:41]MH_GetDate [07:12:41]Write to MH i2c: F0 00 00 1C 14 1F [07:12:41]Write i2c OK [07:12:41]MH_I2C_Read... [07:12:41]Read from MH i2c: F0 [07:12:41]MH_I2C_Read... [07:12:41]Read from MH i2c: F0 09 00 [07:12:41]MH_I2C_Read... [07:12:41]Read from MH i2c: F0 09 00 1C 14 00 6D D7 90 66 2D 25 5D 64 75 [07:12:41]GetLastDocTimeStamp 1720768294 [07:12:41]current date 1720768365 [07:12:41]FM_GetShiftState [07:12:41]SAM_PROTO_GetShiftState [07:12:41]wFMCommunicate request_size=4 [07:12:41]MH_SAM_APDU [07:12:41]CAPDU: 80 13 01 00 [07:12:41]Write to MH i2c: E2 08 00 1D 14 80 13 01 00 00 00 00 00 AE [07:12:41]Write i2c OK [07:12:41]MH_I2C_Read... [07:12:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:12:41]Read from MH i2c: E2 [07:12:41]MH_I2C_Read... [07:12:41]Read from MH i2c: E2 0E 00 [07:12:41]MH_I2C_Read... [07:12:41]Read from MH i2c: E2 0E 00 1D 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 AF [07:12:41]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:12:41]wFMCommunicate OK [07:12:41]SAM_PROTO_GetShiftState done [07:12:41]FM_GetShiftState done [07:12:41]opened in 1720744326 [07:12:41]opened+sec_in_day 1720830726 [07:12:41]quantity*price = 35000 [07:12:41]sum+1 = 35001 [07:12:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 20 12.07.2024 07:12 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56752 ФПД: 80436588110988 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071245&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56752&fm=80436588110988&tin=02508201610067®Number=0000000000091208&sum=35000 0 [07:12:42]StoreToDocumentArchive [07:12:42]shift 494 fd 56752 [07:12:42]save to /storage/0494/doc_00056752 [07:12:42]save last doc name /storage/0494/doc_00056752 to /storage/kkm_last_doc_name [07:12:42]save OK [07:12:42]Clear old archive folders... [07:12:42]ProcessDocumentItem done err = 0, tmpTLVsize=283 [07:12:42]tlvbuf is 017DDE70 [07:12:42]SAM_PROTO_ClearQueue [07:12:42]wFMCommunicate request_size=4 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 09 00 00 [07:12:42]Write to MH i2c: E2 08 00 2A 14 80 09 00 00 00 00 00 00 B0 [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:12:42]Read from MH i2c: E2 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 2A 14 00 90 00 B2 [07:12:42]RAPDU: 90 00 [07:12:42]wFMCommunicate OK [07:12:42]SAM_PROTO_ClearQueue done [07:12:42]KKMCreateOFDPacket [07:12:42]OFDProtocolAddRootSTLVToBuf [07:12:42]FM_MakeSignedData [07:12:42]FM_MakeSignedData [07:12:42]SAM_PROTO_SignData [07:12:42]wFMCommunicate request_size=4 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 0D 01 02 [07:12:42]Write to MH i2c: E2 08 00 2B 14 80 0D 01 02 00 00 00 00 B8 [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:12:42]Read from MH i2c: E2 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 2B 14 00 90 00 B3 [07:12:42]RAPDU: 90 00 [07:12:42]wFMCommunicate OK [07:12:42]wFMCommunicate request_size=255 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 6D D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [07:12:42]Write to MH i2c: E2 02 01 2C 14 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 6D D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 6B [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:12:42]Read from MH i2c: E2 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 2C 14 00 90 00 B4 [07:12:42]RAPDU: 90 00 [07:12:42]wFMCommunicate OK [07:12:42]wFMCommunicate request_size=42 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DD 00 00 35 04 06 00 49 28 1A 42 E4 8C [07:12:42]Write to MH i2c: E2 2D 00 2D 14 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DD 00 00 35 04 06 00 49 28 1A 42 E4 8C 00 00 61 [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:12:42]Read from MH i2c: E2 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 03 00 2D 14 00 90 00 B5 [07:12:42]RAPDU: 90 00 [07:12:42]wFMCommunicate OK [07:12:42]wFMCommunicate request_size=4 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 0D 03 02 [07:12:42]Write to MH i2c: E2 08 00 2E 14 80 0D 03 02 00 00 00 00 BD [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:12:42]Read from MH i2c: E2 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 0B 00 [07:12:42]MH_I2C_Read... [07:12:42]Read from MH i2c: E2 0B 00 2E 14 00 F4 8E 67 62 84 27 F8 54 90 00 00 [07:12:42]RAPDU: F4 8E 67 62 84 27 F8 54 90 00 [07:12:42]wFMCommunicate OK [07:12:42]SAM_PROTO_SignData done [07:12:42]FM_MakeSignedData done [07:12:42]CreateOFDProtocolMessage [07:12:42]wFMCommunicate request_size=4 [07:12:42]MH_SAM_APDU [07:12:42]CAPDU: 80 11 00 00 [07:12:42]Write to MH i2c: E2 08 00 2F 14 80 11 00 00 00 00 00 00 BD [07:12:42]Write i2c OK [07:12:42]MH_I2C_Read... [07:12:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:12:43]Read from MH i2c: E2 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: E2 17 00 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: E2 17 00 2F 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 17 [07:12:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:12:43]wFMCommunicate OK [07:12:43]CreateOFDProtocolMessage done [07:12:43]OFDSenderStorePacket 56752 [07:12:43]StoreOFDPacket docnum=56752 [07:12:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 18 03 27 01 AF 94 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 6D D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DD 00 00 35 04 06 00 49 28 1A 42 E4 8C F4 8E 67 62 84 27 F8 54 [07:12:43]CheckFolder [07:12:43]dirname=/storage/ofd_packets [07:12:43]CheckFolder done [07:12:43]ProducePacketName [07:12:43]name=ofd_packets/00056752 [07:12:43]NVStorageSaveData ofd_packets/00056752 [07:12:43]File name is /storage/ofd_packets/00056752 [07:12:43]Write 333 bytes [07:12:43]NVStorageSaveData done [07:12:43]OFDSenderStorePacket done [07:12:43]KKMCreateOFDPacket done [07:12:43]NVStorageSaveData kkm_last_timestamp [07:12:43]File name is /storage/kkm_last_timestamp [07:12:43]Write 4 bytes [07:12:43]NVStorageSaveData done [07:12:43]ExternCall_PrintAddStr [07:12:43]wPrintStart [07:12:43]Write to MH i2c: 01 00 00 30 14 44 [07:12:43]Write i2c OK [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 07 00 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 07 00 30 14 00 00 00 00 00 FF 0F 59 [07:12:43]RasterBufferAndPrint [07:12:43]line Счет N : (3)129253 [07:12:43]line ИНН: 02508201610067 [07:12:43]line Контрольно-Кассовый Чек [07:12:43]line ПРОДАЖА [07:12:43]line Товар: 4700002082191 [07:12:43]line Водка Белое золото 0,46л [07:12:43]line 1.000 * 350.00 [07:12:43]line = 350.00 [07:12:43]line НДС 12% НСП 1% [07:12:43]line > о реализуемом товаре [07:12:43]line ИТОГО: 350.00 [07:12:43]line НСП 1% : 3.10 [07:12:43]line НДС 12% : 37.17 [07:12:43]line Наличными: 350.00 [07:12:43]line Безнал.: 0.00 [07:12:43]line Место: АЗС № 132 "Партнер Нефть" [07:12:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:12:43]line СНО: Общий режим [07:12:43]line Чек 20 12.07.2024 07:12 [07:12:43]line Смена: 494 ФФД: 1.0 [07:12:43]line ЗНМ: 0300000132 [07:12:43]line РНМ: 0000000000091208 [07:12:43]line Версия ККМ: 001 [07:12:43]line ФМ: 0000000000874857 [07:12:43]line ФД: 56752 [07:12:43]line ФПД: 80436588110988 [07:12:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071245&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56752&fm=80436588110988&tin=02508201610067®Number=0000000000091208&sum=35000 [07:12:43]line 0 [07:12:43]OFD Sender: Processing packet 56752 [packets to send 38, broken 37] [07:12:43]ProducePacketName [07:12:43]name=ofd_packets/00056752 [07:12:43]OFD Sender: To server: pG, [07:12:43]CommunicateWithHost lk.salyk.kg:30040 [07:12:43]ConnectInit lk.salyk.kg [07:12:43]written 0, free lines is 4095 [07:12:43]Connected sock=10 [07:12: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 38 35 37 2F 01 00 00 18 03 27 01 AF 94 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 6D D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DD 00 00 35 04 06 00 49 28 1A 42 E4 8C F4 8E 67 62 84 27 F8 54 [07:12:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 19 2E 47 00 B2 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B0 DD 00 00 F4 03 04 00 C4 7D 90 66 B6 04 01 00 00 5A 20 32 25 1A 0F E2 58 [07:12:43]CommunicateWithHost err = 0 [07:12:43]CheckOFDResponse [07:12:43]1017 (14) - 77093643461234 [07:12:43]1041 (16) - 0000000000874857 [07:12:43]1040 (4) - 56752 [07:12:43]1012 (4) - 12.07.2024 00:50 [07:12:43]1206 (1) - 0 [07:12:43]OFD Sender: Remove packet 56752 [07:12:43]ProducePacketName [07:12:43]name=ofd_packets/00056752 [07:12:43]NVStorageDeleteData [07:12:43]Write to MH i2c: 01 00 00 58 14 6C [07:12:43]Write i2c OK [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 07 00 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: 01 07 00 58 14 00 00 00 00 00 14 0D 94 [07:12:43]RasterBufferAndPrint [07:12:43]line [07:12:43]line [07:12:43]line [07:12:43]line [07:12:43]line [07:12:43]written 0, free lines is 3354 [07:12:43]MH_Cut [07:12:43]Write to MH i2c: D1 01 00 5F 14 01 45 [07:12:43]Write i2c OK [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: D1 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: D1 01 00 [07:12:43]MH_I2C_Read... [07:12:43]Read from MH i2c: D1 01 00 5F 14 00 44 [07:12:43]Write to MH i2c: 01 00 00 60 14 74 [07:12:43]Write i2c OK [07:12:43]MH_I2C_Read... [07:12:44]OFD Sender: No OFD packet to send [07:12:44]*** Cut start [07:12:44]*** Partial cut [07:12:44]*** CUTSNS_PIN = 1 [07:12:44]*** CUTSNS_PIN = 0 [07:12:44]*** Brake cut motor [07:12:45]Read from MH i2c: 01 [07:12:45]MH_I2C_Read... [07:12:45]*** Stop cut motor [07:12:45]*** Cut end [07:12:45]Read from MH i2c: 01 07 00 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: 01 07 00 60 14 00 00 00 00 00 FF 0F 89 [07:12:45]process_action close_receipt done [07:12:45]requested_data is exist [07:12:45]produce_requested_data [07:12:45]requested_item fm.sn is exist - process it [07:12:45]wFMCommunicate request_size=4 [07:12:45]MH_SAM_APDU [07:12:45]CAPDU: 80 11 00 00 [07:12:45]Write to MH i2c: E2 08 00 61 14 80 11 00 00 00 00 00 00 EF [07:12:45]Write i2c OK [07:12:45]MH_I2C_Read... [07:12:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:12:45]Read from MH i2c: E2 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 17 00 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 17 00 61 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 49 [07:12:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:12:45]wFMCommunicate OK [07:12:45]requested_item fd.num is exist - process it [07:12:45]SAM_PROTO_GetFieldsCounters [07:12:45]wFMCommunicate request_size=4 [07:12:45]MH_SAM_APDU [07:12:45]CAPDU: 80 13 00 00 [07:12:45]Write to MH i2c: E2 08 00 62 14 80 13 00 00 00 00 00 00 F2 [07:12:45]Write i2c OK [07:12:45]MH_I2C_Read... [07:12:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:12:45]Read from MH i2c: E2 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 62 00 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 62 00 62 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B0 DD 00 00 0E 04 04 00 EE 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 CD [07:12: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B0 DD 00 00 0E 04 04 00 EE 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 [07:12:45]wFMCommunicate OK [07:12:45]SAM_PROTO_GetFieldsCounters done [07:12:45]requested_item shift.num is exist - process it [07:12:45]requested_item shift.opened is exist - process it [07:12:45]req_shift_opened [07:12:45]FM_GetShiftState [07:12:45]SAM_PROTO_GetShiftState [07:12:45]wFMCommunicate request_size=4 [07:12:45]MH_SAM_APDU [07:12:45]CAPDU: 80 13 01 00 [07:12:45]Write to MH i2c: E2 08 00 63 14 80 13 01 00 00 00 00 00 F4 [07:12:45]Write i2c OK [07:12:45]MH_I2C_Read... [07:12:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:12:45]Read from MH i2c: E2 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 0E 00 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 0E 00 63 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F5 [07:12:45]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:12:45]wFMCommunicate OK [07:12:45]SAM_PROTO_GetShiftState done [07:12:45]FM_GetShiftState done [07:12:45]req_shift_opened done [07:12:45]requested_item shift.open_date is exist - process it [07:12:45]req_shift_open_date [07:12:45]req_shift_open_date done [07:12:45]requested_item shift.sale.total is exist - process it [07:12:45]SAM_PROTO_GetShiftData [07:12:45]wFMCommunicate request_size=4 [07:12:45]MH_SAM_APDU [07:12:45]CAPDU: 80 13 02 00 [07:12:45]Write to MH i2c: E2 08 00 64 14 80 13 02 00 00 00 00 00 F6 [07:12:45]Write i2c OK [07:12:45]MH_I2C_Read... [07:12:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:12:45]Read from MH i2c: E2 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 FD 00 [07:12:45]MH_I2C_Read... [07:12:45]Read from MH i2c: E2 FD 00 64 14 00 AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 9C 5F 09 70 04 03 00 F8 38 06 72 04 03 00 A4 26 03 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 D3 FE 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 3B 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 04 [07:12:45]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 9C 5F 09 70 04 03 00 F8 38 06 72 04 03 00 A4 26 03 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 D3 FE 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 3B 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [07:12:45]wFMCommunicate OK [07:12:45]wFMCommunicate request_size=4 [07:12:45]MH_SAM_APDU [07:12:45]CAPDU: 80 17 00 00 [07:12:45]Write to MH i2c: E2 08 00 65 14 80 17 00 00 00 00 00 00 F9 [07:12:45]Write i2c OK [07:12:45]MH_I2C_Read... [07:12:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:12:46]Read from MH i2c: E2 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 65 14 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 0B [07:12:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [07:12:46]wFMCommunicate OK [07:12:46]wFMCommunicate request_size=4 [07:12:46]MH_SAM_APDU [07:12:46]CAPDU: 80 17 00 00 [07:12:46]Write to MH i2c: E2 08 00 66 14 80 17 00 00 00 00 00 00 FA [07:12:46]Write i2c OK [07:12:46]MH_I2C_Read... [07:12:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:12:46]Read from MH i2c: E2 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 66 14 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 BE [07:12:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [07:12:46]wFMCommunicate OK [07:12:46]wFMCommunicate request_size=4 [07:12:46]MH_SAM_APDU [07:12:46]CAPDU: 80 17 00 00 [07:12:46]Write to MH i2c: E2 08 00 67 14 80 17 00 00 00 00 00 00 FB [07:12:46]Write i2c OK [07:12:46]MH_I2C_Read... [07:12:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:12:46]Read from MH i2c: E2 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 FD 00 67 14 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 70 [07:12:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [07:12:46]wFMCommunicate OK [07:12:46]wFMCommunicate request_size=4 [07:12:46]MH_SAM_APDU [07:12:46]CAPDU: 80 17 00 00 [07:12:46]Write to MH i2c: E2 08 00 68 14 80 17 00 00 00 00 00 00 FC [07:12:46]Write i2c OK [07:12:46]MH_I2C_Read... [07:12:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [07:12:46]Read from MH i2c: E2 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 CA 00 [07:12:46]MH_I2C_Read... [07:12:46]Read from MH i2c: E2 CA 00 68 14 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 E1 [07:12:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:12:46]wFMCommunicate OK [07:12:46]SAM_PROTO_GetShiftData done [07:12:46]requested_item shift.sale.total_cash is exist - process it [07:12:46]requested_item shift.sale_refund.total is exist - process it [07:12:46]requested_item shift.sale_refund.total_cash is exist - process it [07:12:46]produce_requested_data done [07:12:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56752,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6143.00,"shift.sale.total_cash":4078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:12:46]process_action_free close_receipt [07:12:46]json_value_free [07:12:46]json_value_free done [07:12:46]process_json_proto returns [07:12:46]Send response to host [07:12:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56752,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6143.00,"shift.sale.total_cash":4078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:12:46]free response buf [07:12:46]execute_script done [07:12:46]execute_script returns [07:12:46]free content buf [07:12:46]Sock 7.Close socket [07:12:46]Sock 7.Thread stoped [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:21]accept exits with 9 [07:13:21]New connection [07:13:21]New thread 3066600804 created [07:13:21]Thread 3066457444 joined [07:13:21]Waiting for new connection... [07:13:21] Sock 9.Parse request [07:13:21]Sock 9.Check first char [07:13:21]Sock 9.First char is OK [07:13:21]request: POST /json_proto HTTP/1.0 [07:13:21]Method: POST [07:13:21]URL: /json_proto [07:13:21]Method is POST - this is cgi request [07:13:21]url: /json_proto [07:13:21]query_string will be loaded in cgi processing [07:13:21]execute_cgi json_proto POST (null) [07:13:21]execute_cgi path=json_proto method=POST [07:13:21]POST find Content-Length [07:13:21]Host: 172.17.39.4:8080 [07:13:21]Content-Length: 802 [07:13:21]Content-Type: application/json [07:13:21] [07:13:21]POST finish read [07:13:21]Found Content-Length = 802 [07:13:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129254", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:13:21]execute_script... [07:13: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)129254", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:13:21]POST & json_proto [07:13:21]process_json_proto [07:13:21]json parsed OK: [07:13:21]protocol is kg_v1.0 [07:13:21]action value=close_receipt [07:13:21]process_action close_receipt [07:13:21]cmd_close_receipt [07:13:21]MH_GetDate [07:13:21]Write to MH i2c: F0 00 00 69 14 6C [07:13:21]Write i2c OK [07:13:21]MH_I2C_Read... [07:13:21]Read from MH i2c: F0 [07:13:21]MH_I2C_Read... [07:13:21]Read from MH i2c: F0 09 00 [07:13:21]MH_I2C_Read... [07:13:21]Read from MH i2c: F0 09 00 69 14 00 95 D7 90 66 2D 25 5D 64 EA [07:13:21]GetLastDocTimeStamp 1720768365 [07:13:21]current date 1720768405 [07:13:21]FM_GetShiftState [07:13:21]SAM_PROTO_GetShiftState [07:13:21]wFMCommunicate request_size=4 [07:13:21]MH_SAM_APDU [07:13:21]CAPDU: 80 13 01 00 [07:13:21]Write to MH i2c: E2 08 00 6A 14 80 13 01 00 00 00 00 00 FB [07:13:21]Write i2c OK [07:13:21]MH_I2C_Read... [07:13:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:13:21]Read from MH i2c: E2 [07:13:21]MH_I2C_Read... [07:13:21]Read from MH i2c: E2 0E 00 [07:13:21]MH_I2C_Read... [07:13:21]Read from MH i2c: E2 0E 00 6A 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 FC [07:13:21]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:13:21]wFMCommunicate OK [07:13:21]SAM_PROTO_GetShiftState done [07:13:21]FM_GetShiftState done [07:13:21]opened in 1720744326 [07:13:21]opened+sec_in_day 1720830726 [07:13:21]quantity*price = 10000 [07:13:21]sum+1 = 10001 [07:13:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 21 12.07.2024 07:13 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56753 ФПД: 72533708671964 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071325&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56753&fm=72533708671964&tin=02508201610067®Number=0000000000091208&sum=10000 0 [07:13:22]StoreToDocumentArchive [07:13:22]shift 494 fd 56753 [07:13:22]save to /storage/0494/doc_00056753 [07:13:22]save last doc name /storage/0494/doc_00056753 to /storage/kkm_last_doc_name [07:13:22]save OK [07:13:22]Clear old archive folders... [07:13:22]ProcessDocumentItem done err = 0, tmpTLVsize=298 [07:13:22]tlvbuf is B6E528B0 [07:13:22]SAM_PROTO_ClearQueue [07:13:22]wFMCommunicate request_size=4 [07:13:22]MH_SAM_APDU [07:13:22]CAPDU: 80 09 00 00 [07:13:22]Write to MH i2c: E2 08 00 77 14 80 09 00 00 00 00 00 00 FD [07:13:22]Write i2c OK [07:13:22]MH_I2C_Read... [07:13:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:13:22]Read from MH i2c: E2 [07:13:22]MH_I2C_Read... [07:13:22]Read from MH i2c: E2 03 00 [07:13:22]MH_I2C_Read... [07:13:22]Read from MH i2c: E2 03 00 77 14 00 90 00 FF [07:13:22]RAPDU: 90 00 [07:13:22]wFMCommunicate OK [07:13:22]SAM_PROTO_ClearQueue done [07:13:22]KKMCreateOFDPacket [07:13:22]OFDProtocolAddRootSTLVToBuf [07:13:22]FM_MakeSignedData [07:13:22]FM_MakeSignedData [07:13:22]SAM_PROTO_SignData [07:13:22]wFMCommunicate request_size=4 [07:13:22]MH_SAM_APDU [07:13:22]CAPDU: 80 0D 01 02 [07:13:22]Write to MH i2c: E2 08 00 78 14 80 0D 01 02 00 00 00 00 05 [07:13:22]Write i2c OK [07:13:22]MH_I2C_Read... [07:13:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:13:22]Read from MH i2c: E2 [07:13:22]MH_I2C_Read... [07:13:22]Read from MH i2c: E2 03 00 [07:13:22]MH_I2C_Read... [07:13:22]Read from MH i2c: E2 03 00 78 14 00 90 00 00 [07:13:22]RAPDU: 90 00 [07:13:22]wFMCommunicate OK [07:13:22]wFMCommunicate request_size=255 [07:13:22]MH_SAM_APDU [07:13:22]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 15 00 00 00 F4 03 04 00 95 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [07:13:22]Write to MH i2c: E2 02 01 79 14 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 15 00 00 00 F4 03 04 00 95 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 D4 [07:13:22]Write i2c OK [07:13:22]MH_I2C_Read... [07:13:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:13:23]Read from MH i2c: E2 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 03 00 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 03 00 79 14 00 90 00 01 [07:13:23]RAPDU: 90 00 [07:13:23]wFMCommunicate OK [07:13:23]wFMCommunicate request_size=57 [07:13:23]MH_SAM_APDU [07:13:23]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DD 00 00 35 04 06 00 41 F8 11 F0 8B DC [07:13:23]Write to MH i2c: E2 3C 00 7A 14 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DD 00 00 35 04 06 00 41 F8 11 F0 8B DC 00 00 F6 [07:13:23]Write i2c OK [07:13:23]MH_I2C_Read... [07:13:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:13:23]Read from MH i2c: E2 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 03 00 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 03 00 7A 14 00 90 00 02 [07:13:23]RAPDU: 90 00 [07:13:23]wFMCommunicate OK [07:13:23]wFMCommunicate request_size=4 [07:13:23]MH_SAM_APDU [07:13:23]CAPDU: 80 0D 03 02 [07:13:23]Write to MH i2c: E2 08 00 7B 14 80 0D 03 02 00 00 00 00 0A [07:13:23]Write i2c OK [07:13:23]MH_I2C_Read... [07:13:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:13:23]Read from MH i2c: E2 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 0B 00 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 0B 00 7B 14 00 E8 91 F3 56 42 75 3A 66 90 00 24 [07:13:23]RAPDU: E8 91 F3 56 42 75 3A 66 90 00 [07:13:23]wFMCommunicate OK [07:13:23]SAM_PROTO_SignData done [07:13:23]FM_MakeSignedData done [07:13:23]CreateOFDProtocolMessage [07:13:23]wFMCommunicate request_size=4 [07:13:23]MH_SAM_APDU [07:13:23]CAPDU: 80 11 00 00 [07:13:23]Write to MH i2c: E2 08 00 7C 14 80 11 00 00 00 00 00 00 0A [07:13:23]Write i2c OK [07:13:23]MH_I2C_Read... [07:13:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:13:23]Read from MH i2c: E2 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 17 00 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: E2 17 00 7C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 64 [07:13:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:13:23]wFMCommunicate OK [07:13:23]CreateOFDProtocolMessage done [07:13:23]OFDSenderStorePacket 56753 [07:13:23]StoreOFDPacket docnum=56753 [07:13:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3E 01 00 00 12 5F 36 01 9F 1C 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 15 00 00 00 F4 03 04 00 95 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DD 00 00 35 04 06 00 41 F8 11 F0 8B DC E8 91 F3 56 42 75 3A 66 [07:13:23]CheckFolder [07:13:23]dirname=/storage/ofd_packets [07:13:23]CheckFolder done [07:13:23]ProducePacketName [07:13:23]name=ofd_packets/00056753 [07:13:23]NVStorageSaveData ofd_packets/00056753 [07:13:23]File name is /storage/ofd_packets/00056753 [07:13:23]Write 348 bytes [07:13:23]NVStorageSaveData done [07:13:23]OFDSenderStorePacket done [07:13:23]KKMCreateOFDPacket done [07:13:23]NVStorageSaveData kkm_last_timestamp [07:13:23]File name is /storage/kkm_last_timestamp [07:13:23]Write 4 bytes [07:13:23]NVStorageSaveData done [07:13:23]OFD Sender: Processing packet 56753 [packets to send 38, broken 37] [07:13:23]ProducePacketName [07:13:23]name=ofd_packets/00056753 [07:13:23]OFD Sender: To server: pG, [07:13:23]CommunicateWithHost lk.salyk.kg:30040 [07:13:23]ConnectInit lk.salyk.kg [07:13:23]ExternCall_PrintAddStr [07:13:23]wPrintStart [07:13:23]Write to MH i2c: 01 00 00 7D 14 91 [07:13:23]Write i2c OK [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: 01 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: 01 07 00 [07:13:23]MH_I2C_Read... [07:13:23]Read from MH i2c: 01 07 00 7D 14 00 00 00 00 00 FF 0F A6 [07:13:23]RasterBufferAndPrint [07:13:23]line Счет N : (3)129254 [07:13:23]line ИНН: 02508201610067 [07:13:23]line Контрольно-Кассовый Чек [07:13:23]line ПРОДАЖА [07:13:23]line Товар: 4870001571528 [07:13:23]line Вода ASU пит н.газ персик ПЭТ 1,0 л [07:13:23]line 1.000 * 100.00 [07:13:23]line = 100.00 [07:13:23]line НДС 12% НСП 1% [07:13:23]line > о реализуемом товаре [07:13:23]line ИТОГО: 100.00 [07:13:23]line НСП 1% : 0.88 [07:13:23]line НДС 12% : 10.62 [07:13:23]line Наличными: 100.00 [07:13:23]line Безнал.: 0.00 [07:13:23]line Место: АЗС № 132 "Партнер Нефть" [07:13:23]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:13:23]line СНО: Общий режим [07:13:23]line Чек 21 12.07.2024 07:13 [07:13:23]line Смена: 494 ФФД: 1.0 [07:13:23]line ЗНМ: 0300000132 [07:13:23]line РНМ: 0000000000091208 [07:13:23]line Версия ККМ: 001 [07:13:23]line ФМ: 0000000000874857 [07:13:23]line ФД: 56753 [07:13:23]line ФПД: 72533708671964 [07:13:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071325&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56753&fm=72533708671964&tin=02508201610067®Number=0000000000091208&sum=10000 [07:13:23]line 0 [07:13:23]Connected sock=11 [07:13: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 38 35 37 3E 01 00 00 12 5F 36 01 9F 1C 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 15 00 00 00 F4 03 04 00 95 D7 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B1 DD 00 00 35 04 06 00 41 F8 11 F0 8B DC E8 91 F3 56 42 75 3A 66 [07:13:23]written 0, free lines is 4095 [07:13:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 51 F3 47 00 47 68 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 38 35 37 10 04 04 00 B1 DD 00 00 F4 03 04 00 ED 7D 90 66 B6 04 01 00 00 77 15 63 68 0A 20 F5 F7 [07:13:23]CommunicateWithHost err = 0 [07:13:23]CheckOFDResponse [07:13:23]1017 (14) - 77093643461234 [07:13:23]1041 (16) - 0000000000874857 [07:13:23]1040 (4) - 56753 [07:13:23]1012 (4) - 12.07.2024 00:50 [07:13:23]1206 (1) - 0 [07:13:23]OFD Sender: Remove packet 56753 [07:13:23]ProducePacketName [07:13:23]name=ofd_packets/00056753 [07:13:23]NVStorageDeleteData [07:13:24]Write to MH i2c: 01 00 00 A6 14 BA [07:13:24]Write i2c OK [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: 01 [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: 01 07 00 [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: 01 07 00 A6 14 00 00 00 00 00 F5 0C C2 [07:13:24]RasterBufferAndPrint [07:13:24]line [07:13:24]line [07:13:24]line [07:13:24]line [07:13:24]line [07:13:24]written 0, free lines is 3324 [07:13:24]MH_Cut [07:13:24]Write to MH i2c: D1 01 00 AD 14 01 93 [07:13:24]Write i2c OK [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: D1 [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: D1 01 00 [07:13:24]MH_I2C_Read... [07:13:24]Read from MH i2c: D1 01 00 AD 14 00 92 [07:13:24]Write to MH i2c: 01 00 00 AE 14 C2 [07:13:24]Write i2c OK [07:13:24]MH_I2C_Read... [07:13:24]OFD Sender: No OFD packet to send [07:13:24]*** Cut start [07:13:24]*** Partial cut [07:13:24]*** CUTSNS_PIN = 1 [07:13:24]*** CUTSNS_PIN = 0 [07:13:25]*** Brake cut motor [07:13:25]Read from MH i2c: 01 [07:13:25]MH_I2C_Read... [07:13:25]*** Stop cut motor [07:13:25]*** Cut end [07:13:25]Read from MH i2c: 01 07 00 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: 01 07 00 AE 14 00 00 00 00 00 FF 0F D7 [07:13:25]process_action close_receipt done [07:13:25]requested_data is exist [07:13:25]produce_requested_data [07:13:25]requested_item fm.sn is exist - process it [07:13:25]wFMCommunicate request_size=4 [07:13:25]MH_SAM_APDU [07:13:25]CAPDU: 80 11 00 00 [07:13:25]Write to MH i2c: E2 08 00 AF 14 80 11 00 00 00 00 00 00 3D [07:13:25]Write i2c OK [07:13:25]MH_I2C_Read... [07:13:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:13:25]Read from MH i2c: E2 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 17 00 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 17 00 AF 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 97 [07:13:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:13:25]wFMCommunicate OK [07:13:25]requested_item fd.num is exist - process it [07:13:25]SAM_PROTO_GetFieldsCounters [07:13:25]wFMCommunicate request_size=4 [07:13:25]MH_SAM_APDU [07:13:25]CAPDU: 80 13 00 00 [07:13:25]Write to MH i2c: E2 08 00 B0 14 80 13 00 00 00 00 00 00 40 [07:13:25]Write i2c OK [07:13:25]MH_I2C_Read... [07:13:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:13:25]Read from MH i2c: E2 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 62 00 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 62 00 B0 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B1 DD 00 00 0E 04 04 00 EE 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 1F [07:13: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B1 DD 00 00 0E 04 04 00 EE 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 [07:13:25]wFMCommunicate OK [07:13:25]SAM_PROTO_GetFieldsCounters done [07:13:25]requested_item shift.num is exist - process it [07:13:25]requested_item shift.opened is exist - process it [07:13:25]req_shift_opened [07:13:25]FM_GetShiftState [07:13:25]SAM_PROTO_GetShiftState [07:13:25]wFMCommunicate request_size=4 [07:13:25]MH_SAM_APDU [07:13:25]CAPDU: 80 13 01 00 [07:13:25]Write to MH i2c: E2 08 00 B1 14 80 13 01 00 00 00 00 00 42 [07:13:25]Write i2c OK [07:13:25]MH_I2C_Read... [07:13:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:13:25]Read from MH i2c: E2 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 0E 00 [07:13:25]MH_I2C_Read... [07:13:25]Read from MH i2c: E2 0E 00 B1 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 43 [07:13:25]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:13:25]wFMCommunicate OK [07:13:25]SAM_PROTO_GetShiftState done [07:13:25]FM_GetShiftState done [07:13:25]req_shift_opened done [07:13:25]requested_item shift.open_date is exist - process it [07:13:25]req_shift_open_date [07:13:25]req_shift_open_date done [07:13:25]requested_item shift.sale.total is exist - process it [07:13:25]SAM_PROTO_GetShiftData [07:13:25]wFMCommunicate request_size=4 [07:13:25]MH_SAM_APDU [07:13:25]CAPDU: 80 13 02 00 [07:13:25]Write to MH i2c: E2 08 00 B2 14 80 13 02 00 00 00 00 00 44 [07:13:25]Write i2c OK [07:13:25]MH_I2C_Read... [07:13:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:13:26]Read from MH i2c: E2 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 B2 14 00 AE 04 AA 04 AA 04 6E 04 04 00 15 00 00 00 69 04 9B 00 6F 04 04 00 15 00 00 00 B1 04 03 00 AC 86 09 70 04 03 00 08 60 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F9 02 01 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 93 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 49 [07:13:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 15 00 00 00 69 04 9B 00 6F 04 04 00 15 00 00 00 B1 04 03 00 AC 86 09 70 04 03 00 08 60 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F9 02 01 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 93 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:13:26]wFMCommunicate OK [07:13:26]wFMCommunicate request_size=4 [07:13:26]MH_SAM_APDU [07:13:26]CAPDU: 80 17 00 00 [07:13:26]Write to MH i2c: E2 08 00 B3 14 80 17 00 00 00 00 00 00 47 [07:13:26]Write i2c OK [07:13:26]MH_I2C_Read... [07:13:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:13:26]Read from MH i2c: E2 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 B3 14 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 69 [07:13:26]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 [07:13:26]wFMCommunicate OK [07:13:26]wFMCommunicate request_size=4 [07:13:26]MH_SAM_APDU [07:13:26]CAPDU: 80 17 00 00 [07:13:26]Write to MH i2c: E2 08 00 B4 14 80 17 00 00 00 00 00 00 48 [07:13:26]Write i2c OK [07:13:26]MH_I2C_Read... [07:13:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:13:26]Read from MH i2c: E2 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 B4 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FF [07:13:26]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 [07:13:26]wFMCommunicate OK [07:13:26]wFMCommunicate request_size=4 [07:13:26]MH_SAM_APDU [07:13:26]CAPDU: 80 17 00 00 [07:13:26]Write to MH i2c: E2 08 00 B5 14 80 17 00 00 00 00 00 00 49 [07:13:26]Write i2c OK [07:13:26]MH_I2C_Read... [07:13:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:13:26]Read from MH i2c: E2 [07:13:26]MH_I2C_Read... [07:13:26]Read from MH i2c: E2 FD 00 [07:13:27]MH_I2C_Read... [07:13:27]Read from MH i2c: E2 FD 00 B5 14 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 BB [07:13:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [07:13:27]wFMCommunicate OK [07:13:27]wFMCommunicate request_size=4 [07:13:27]MH_SAM_APDU [07:13:27]CAPDU: 80 17 00 00 [07:13:27]Write to MH i2c: E2 08 00 B6 14 80 17 00 00 00 00 00 00 4A [07:13:27]Write i2c OK [07:13:27]MH_I2C_Read... [07:13:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [07:13:27]Read from MH i2c: E2 [07:13:27]MH_I2C_Read... [07:13:27]Read from MH i2c: E2 CB 00 [07:13:27]MH_I2C_Read... [07:13:27]Read from MH i2c: E2 CB 00 B6 14 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 33 [07:13:27]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 [07:13:27]wFMCommunicate OK [07:13:27]SAM_PROTO_GetShiftData done [07:13:27]requested_item shift.sale.total_cash is exist - process it [07:13:27]requested_item shift.sale_refund.total is exist - process it [07:13:27]requested_item shift.sale_refund.total_cash is exist - process it [07:13:27]produce_requested_data done [07:13:27]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56753,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6243.00,"shift.sale.total_cash":4178.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:13:27]process_action_free close_receipt [07:13:27]json_value_free [07:13:27]json_value_free done [07:13:27]process_json_proto returns [07:13:27]Send response to host [07:13:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56753,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6243.00,"shift.sale.total_cash":4178.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:13:27]free response buf [07:13:27]execute_script done [07:13:27]execute_script returns [07:13:27]free content buf [07:13:27]Sock 9.Close socket [07:13:27]Sock 9.Thread stoped [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:23]accept exits with 7 [07:15:23]New connection [07:15:23]New thread 3066457444 created [07:15:23]Thread 3066600804 joined [07:15:23]Waiting for new connection... [07:15:23] Sock 7.Parse request [07:15:23]Sock 7.Check first char [07:15:23]Sock 7.First char is OK [07:15:23]request: POST /json_proto HTTP/1.0 [07:15:23]Method: POST [07:15:23]URL: /json_proto [07:15:23]Method is POST - this is cgi request [07:15:23]url: /json_proto [07:15:23]query_string will be loaded in cgi processing [07:15:23]execute_cgi json_proto POST (null) [07:15:23]execute_cgi path=json_proto method=POST [07:15:23]POST find Content-Length [07:15:23]Host: 172.17.39.4:8080 [07:15:23]Content-Length: 727 [07:15:23]Content-Type: application/json [07:15:23] [07:15:23]POST finish read [07:15:23]Found Content-Length = 727 [07:15:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129255", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:15:23]execute_script... [07:15: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)129255", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:15:23]POST & json_proto [07:15:23]process_json_proto [07:15:23]json parsed OK: [07:15:23]protocol is kg_v1.0 [07:15:23]action value=close_receipt [07:15:23]process_action close_receipt [07:15:23]cmd_close_receipt [07:15:23]MH_GetDate [07:15:23]Write to MH i2c: F0 00 00 B7 14 BA [07:15:23]Write i2c OK [07:15:23]MH_I2C_Read... [07:15:23]Read from MH i2c: F0 [07:15:23]MH_I2C_Read... [07:15:23]Read from MH i2c: F0 09 00 [07:15:23]MH_I2C_Read... [07:15:23]Read from MH i2c: F0 09 00 B7 14 00 0F D8 90 66 2D 25 5D 64 B3 [07:15:23]GetLastDocTimeStamp 1720768405 [07:15:23]current date 1720768527 [07:15:23]FM_GetShiftState [07:15:23]SAM_PROTO_GetShiftState [07:15:23]wFMCommunicate request_size=4 [07:15:23]MH_SAM_APDU [07:15:23]CAPDU: 80 13 01 00 [07:15:23]Write to MH i2c: E2 08 00 B8 14 80 13 01 00 00 00 00 00 49 [07:15:23]Write i2c OK [07:15:23]MH_I2C_Read... [07:15:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:15:23]Read from MH i2c: E2 [07:15:23]MH_I2C_Read... [07:15:23]Read from MH i2c: E2 0E 00 [07:15:23]MH_I2C_Read... [07:15:23]Read from MH i2c: E2 0E 00 B8 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 4A [07:15:23]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:15:23]wFMCommunicate OK [07:15:23]SAM_PROTO_GetShiftState done [07:15:23]FM_GetShiftState done [07:15:23]opened in 1720744326 [07:15:23]opened+sec_in_day 1720830726 [07:15:23]quantity*price = 14000 [07:15:23]sum+1 = 14001 [07:15:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 22 12.07.2024 07:15 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56754 ФПД: 154170315204519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071527&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56754&fm=154170315204519&tin=02508201610067®Number=0000000000091208&sum=14000 0 [07:15:24]StoreToDocumentArchive [07:15:24]shift 494 fd 56754 [07:15:24]save to /storage/0494/doc_00056754 [07:15:24]save last doc name /storage/0494/doc_00056754 to /storage/kkm_last_doc_name [07:15:24]save OK [07:15:24]Clear old archive folders... [07:15:24]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:15:24]tlvbuf is B6E52570 [07:15:24]SAM_PROTO_ClearQueue [07:15:24]wFMCommunicate request_size=4 [07:15:24]MH_SAM_APDU [07:15:24]CAPDU: 80 09 00 00 [07:15:24]Write to MH i2c: E2 08 00 C5 14 80 09 00 00 00 00 00 00 4B [07:15:24]Write i2c OK [07:15:24]MH_I2C_Read... [07:15:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:15:24]Read from MH i2c: E2 [07:15:24]MH_I2C_Read... [07:15:24]Read from MH i2c: E2 03 00 [07:15:24]MH_I2C_Read... [07:15:24]Read from MH i2c: E2 03 00 C5 14 00 90 00 4D [07:15:24]RAPDU: 90 00 [07:15:24]wFMCommunicate OK [07:15:24]SAM_PROTO_ClearQueue done [07:15:24]KKMCreateOFDPacket [07:15:24]OFDProtocolAddRootSTLVToBuf [07:15:24]FM_MakeSignedData [07:15:24]FM_MakeSignedData [07:15:24]SAM_PROTO_SignData [07:15:24]wFMCommunicate request_size=4 [07:15:24]MH_SAM_APDU [07:15:24]CAPDU: 80 0D 01 02 [07:15:24]Write to MH i2c: E2 08 00 C6 14 80 0D 01 02 00 00 00 00 53 [07:15:24]Write i2c OK [07:15:24]MH_I2C_Read... [07:15:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:15:24]Read from MH i2c: E2 [07:15:24]MH_I2C_Read... [07:15:24]Read from MH i2c: E2 03 00 [07:15:24]MH_I2C_Read... [07:15:24]Read from MH i2c: E2 03 00 C6 14 00 90 00 4E [07:15:24]RAPDU: 90 00 [07:15:24]wFMCommunicate OK [07:15:24]wFMCommunicate request_size=255 [07:15:24]MH_SAM_APDU [07:15:24]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 16 00 00 00 F4 03 04 00 0F D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [07:15:24]Write to MH i2c: E2 02 01 C7 14 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 16 00 00 00 F4 03 04 00 0F D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 C0 [07:15:24]Write i2c OK [07:15:24]MH_I2C_Read... [07:15:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:15:25]Read from MH i2c: E2 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 03 00 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 03 00 C7 14 00 90 00 4F [07:15:25]RAPDU: 90 00 [07:15:25]wFMCommunicate OK [07:15:25]wFMCommunicate request_size=34 [07:15:25]MH_SAM_APDU [07:15:25]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DD 00 00 35 04 06 00 8C 37 92 DF 67 A7 [07:15:25]Write to MH i2c: E2 25 00 C8 14 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DD 00 00 35 04 06 00 8C 37 92 DF 67 A7 00 00 EF [07:15:25]Write i2c OK [07:15:25]MH_I2C_Read... [07:15:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:15:25]Read from MH i2c: E2 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 03 00 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 03 00 C8 14 00 90 00 50 [07:15:25]RAPDU: 90 00 [07:15:25]wFMCommunicate OK [07:15:25]wFMCommunicate request_size=4 [07:15:25]MH_SAM_APDU [07:15:25]CAPDU: 80 0D 03 02 [07:15:25]Write to MH i2c: E2 08 00 C9 14 80 0D 03 02 00 00 00 00 58 [07:15:25]Write i2c OK [07:15:25]MH_I2C_Read... [07:15:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:15:25]Read from MH i2c: E2 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 0B 00 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 0B 00 C9 14 00 F0 F9 BC 62 AF 31 14 98 90 00 EC [07:15:25]RAPDU: F0 F9 BC 62 AF 31 14 98 90 00 [07:15:25]wFMCommunicate OK [07:15:25]SAM_PROTO_SignData done [07:15:25]FM_MakeSignedData done [07:15:25]CreateOFDProtocolMessage [07:15:25]wFMCommunicate request_size=4 [07:15:25]MH_SAM_APDU [07:15:25]CAPDU: 80 11 00 00 [07:15:25]Write to MH i2c: E2 08 00 CA 14 80 11 00 00 00 00 00 00 58 [07:15:25]Write i2c OK [07:15:25]MH_I2C_Read... [07:15:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:15:25]Read from MH i2c: E2 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 17 00 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: E2 17 00 CA 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B2 [07:15:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:15:25]wFMCommunicate OK [07:15:25]CreateOFDProtocolMessage done [07:15:25]OFDSenderStorePacket 56754 [07:15:25]StoreOFDPacket docnum=56754 [07:15:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 0A 5E 1F 01 4C 3F 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 16 00 00 00 F4 03 04 00 0F D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DD 00 00 35 04 06 00 8C 37 92 DF 67 A7 F0 F9 BC 62 AF 31 14 98 [07:15:25]CheckFolder [07:15:25]dirname=/storage/ofd_packets [07:15:25]CheckFolder done [07:15:25]ProducePacketName [07:15:25]name=ofd_packets/00056754 [07:15:25]NVStorageSaveData ofd_packets/00056754 [07:15:25]File name is /storage/ofd_packets/00056754 [07:15:25]Write 325 bytes [07:15:25]NVStorageSaveData done [07:15:25]OFDSenderStorePacket done [07:15:25]KKMCreateOFDPacket done [07:15:25]NVStorageSaveData kkm_last_timestamp [07:15:25]File name is /storage/kkm_last_timestamp [07:15:25]Write 4 bytes [07:15:25]NVStorageSaveData done [07:15:25]OFD Sender: Processing packet 56754 [packets to send 38, broken 37] [07:15:25]ProducePacketName [07:15:25]name=ofd_packets/00056754 [07:15:25]OFD Sender: To server: pG, [07:15:25]CommunicateWithHost lk.salyk.kg:30040 [07:15:25]ConnectInit lk.salyk.kg [07:15:25]ExternCall_PrintAddStr [07:15:25]wPrintStart [07:15:25]Write to MH i2c: 01 00 00 CB 14 DF [07:15:25]Write i2c OK [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: 01 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: 01 07 00 [07:15:25]MH_I2C_Read... [07:15:25]Read from MH i2c: 01 07 00 CB 14 00 00 00 00 00 FF 0F F4 [07:15:25]RasterBufferAndPrint [07:15:25]line Счет N : (3)129255 [07:15:25]line ИНН: 02508201610067 [07:15:25]line Контрольно-Кассовый Чек [07:15:25]line ПРОДАЖА [07:15:25]line Товар: 48743587 [07:15:25]line Сигареты Winston XStyle Silver [07:15:25]line 1.000 * 140.00 [07:15:25]line = 140.00 [07:15:25]line НДС 12% НСП 1% [07:15:25]line > о реализуемом товаре [07:15:25]line ИТОГО: 140.00 [07:15:25]line НСП 1% : 1.24 [07:15:25]line НДС 12% : 14.87 [07:15:25]line Наличными: 140.00 [07:15:25]line Безнал.: 0.00 [07:15:25]line Место: АЗС № 132 "Партнер Нефть" [07:15:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:15:25]line СНО: Общий режим [07:15:25]line Чек 22 12.07.2024 07:15 [07:15:25]line Смена: 494 ФФД: 1.0 [07:15:25]line ЗНМ: 0300000132 [07:15:25]line РНМ: 0000000000091208 [07:15:25]line Версия ККМ: 001 [07:15:25]line ФМ: 0000000000874857 [07:15:25]line ФД: 56754 [07:15:25]line ФПД: 154170315204519 [07:15:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071527&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56754&fm=154170315204519&tin=02508201610067®Number=0000000000091208&sum=14000 [07:15:25]line 0 [07:15:25]Connected sock=11 [07:15: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 38 35 37 27 01 00 00 0A 5E 1F 01 4C 3F 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 16 00 00 00 F4 03 04 00 0F D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DD 00 00 35 04 06 00 8C 37 92 DF 67 A7 F0 F9 BC 62 AF 31 14 98 [07:15:25]written 0, free lines is 4095 [07:15:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 88 9D 47 00 D2 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B2 DD 00 00 F4 03 04 00 67 7E 90 66 B6 04 01 00 00 A5 AF 80 2D ED 11 0F 24 [07:15:25]CommunicateWithHost err = 0 [07:15:25]CheckOFDResponse [07:15:25]1017 (14) - 77093643461234 [07:15:25]1041 (16) - 0000000000874857 [07:15:25]1040 (4) - 56754 [07:15:25]1012 (4) - 12.07.2024 00:52 [07:15:25]1206 (1) - 0 [07:15:25]OFD Sender: Remove packet 56754 [07:15:25]ProducePacketName [07:15:25]name=ofd_packets/00056754 [07:15:25]NVStorageDeleteData [07:15:26]Write to MH i2c: 01 00 00 F4 14 08 [07:15:26]Write i2c OK [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: 01 [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: 01 07 00 [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: 01 07 00 F4 14 00 00 00 00 00 EE 0C 09 [07:15:26]RasterBufferAndPrint [07:15:26]line [07:15:26]line [07:15:26]line [07:15:26]line [07:15:26]line [07:15:26]written 0, free lines is 3316 [07:15:26]MH_Cut [07:15:26]Write to MH i2c: D1 01 00 FB 14 01 E1 [07:15:26]Write i2c OK [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: D1 [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: D1 01 00 [07:15:26]MH_I2C_Read... [07:15:26]Read from MH i2c: D1 01 00 FB 14 00 E0 [07:15:26]Write to MH i2c: 01 00 00 FC 14 10 [07:15:26]Write i2c OK [07:15:26]MH_I2C_Read... [07:15:26]OFD Sender: No OFD packet to send [07:15:26]*** Cut start [07:15:26]*** Partial cut [07:15:26]*** CUTSNS_PIN = 1 [07:15:26]*** CUTSNS_PIN = 0 [07:15:27]*** Brake cut motor [07:15:27]Read from MH i2c: 01 [07:15:27]MH_I2C_Read... [07:15:27]*** Stop cut motor [07:15:27]*** Cut end [07:15:27]Read from MH i2c: 01 07 00 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: 01 07 00 FC 14 00 00 00 00 00 FF 0F 25 [07:15:27]process_action close_receipt done [07:15:27]requested_data is exist [07:15:27]produce_requested_data [07:15:27]requested_item fm.sn is exist - process it [07:15:27]wFMCommunicate request_size=4 [07:15:27]MH_SAM_APDU [07:15:27]CAPDU: 80 11 00 00 [07:15:27]Write to MH i2c: E2 08 00 FD 14 80 11 00 00 00 00 00 00 8B [07:15:27]Write i2c OK [07:15:27]MH_I2C_Read... [07:15:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:15:27]Read from MH i2c: E2 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 17 00 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 17 00 FD 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E5 [07:15:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:15:27]wFMCommunicate OK [07:15:27]requested_item fd.num is exist - process it [07:15:27]SAM_PROTO_GetFieldsCounters [07:15:27]wFMCommunicate request_size=4 [07:15:27]MH_SAM_APDU [07:15:27]CAPDU: 80 13 00 00 [07:15:27]Write to MH i2c: E2 08 00 FE 14 80 13 00 00 00 00 00 00 8E [07:15:27]Write i2c OK [07:15:27]MH_I2C_Read... [07:15:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:15:27]Read from MH i2c: E2 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 62 00 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 62 00 FE 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B2 DD 00 00 0E 04 04 00 EE 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 71 [07:15: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B2 DD 00 00 0E 04 04 00 EE 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 [07:15:27]wFMCommunicate OK [07:15:27]SAM_PROTO_GetFieldsCounters done [07:15:27]requested_item shift.num is exist - process it [07:15:27]requested_item shift.opened is exist - process it [07:15:27]req_shift_opened [07:15:27]FM_GetShiftState [07:15:27]SAM_PROTO_GetShiftState [07:15:27]wFMCommunicate request_size=4 [07:15:27]MH_SAM_APDU [07:15:27]CAPDU: 80 13 01 00 [07:15:27]Write to MH i2c: E2 08 00 FF 14 80 13 01 00 00 00 00 00 90 [07:15:27]Write i2c OK [07:15:27]MH_I2C_Read... [07:15:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:15:27]Read from MH i2c: E2 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 0E 00 [07:15:27]MH_I2C_Read... [07:15:27]Read from MH i2c: E2 0E 00 FF 14 00 09 00 01 86 79 90 66 00 00 00 00 90 00 91 [07:15:27]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:15:27]wFMCommunicate OK [07:15:27]SAM_PROTO_GetShiftState done [07:15:27]FM_GetShiftState done [07:15:27]req_shift_opened done [07:15:27]requested_item shift.open_date is exist - process it [07:15:27]req_shift_open_date [07:15:27]req_shift_open_date done [07:15:27]requested_item shift.sale.total is exist - process it [07:15:27]SAM_PROTO_GetShiftData [07:15:27]wFMCommunicate request_size=4 [07:15:27]MH_SAM_APDU [07:15:27]CAPDU: 80 13 02 00 [07:15:27]Write to MH i2c: E2 08 00 00 15 80 13 02 00 00 00 00 00 93 [07:15:27]Write i2c OK [07:15:27]MH_I2C_Read... [07:15:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:15:28]Read from MH i2c: E2 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 00 15 00 AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5C BD 09 70 04 03 00 B8 96 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C8 08 01 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 0F 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B9 [07:15:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5C BD 09 70 04 03 00 B8 96 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C8 08 01 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 0F 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:15:28]wFMCommunicate OK [07:15:28]wFMCommunicate request_size=4 [07:15:28]MH_SAM_APDU [07:15:28]CAPDU: 80 17 00 00 [07:15:28]Write to MH i2c: E2 08 00 01 15 80 17 00 00 00 00 00 00 96 [07:15:28]Write i2c OK [07:15:28]MH_I2C_Read... [07:15:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:15:28]Read from MH i2c: E2 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 01 15 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 B8 [07:15:28]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 [07:15:28]wFMCommunicate OK [07:15:28]wFMCommunicate request_size=4 [07:15:28]MH_SAM_APDU [07:15:28]CAPDU: 80 17 00 00 [07:15:28]Write to MH i2c: E2 08 00 02 15 80 17 00 00 00 00 00 00 97 [07:15:28]Write i2c OK [07:15:28]MH_I2C_Read... [07:15:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:15:28]Read from MH i2c: E2 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 02 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4E [07:15:28]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 [07:15:28]wFMCommunicate OK [07:15:28]wFMCommunicate request_size=4 [07:15:28]MH_SAM_APDU [07:15:28]CAPDU: 80 17 00 00 [07:15:28]Write to MH i2c: E2 08 00 03 15 80 17 00 00 00 00 00 00 98 [07:15:28]Write i2c OK [07:15:28]MH_I2C_Read... [07:15:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:15:28]Read from MH i2c: E2 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 [07:15:28]MH_I2C_Read... [07:15:28]Read from MH i2c: E2 FD 00 03 15 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 0A [07:15:29]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 [07:15:29]wFMCommunicate OK [07:15:29]wFMCommunicate request_size=4 [07:15:29]MH_SAM_APDU [07:15:29]CAPDU: 80 17 00 00 [07:15:29]Write to MH i2c: E2 08 00 04 15 80 17 00 00 00 00 00 00 99 [07:15:29]Write i2c OK [07:15:29]MH_I2C_Read... [07:15:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [07:15:29]Read from MH i2c: E2 [07:15:29]MH_I2C_Read... [07:15:29]Read from MH i2c: E2 CB 00 [07:15:29]MH_I2C_Read... [07:15:29]Read from MH i2c: E2 CB 00 04 15 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 82 [07:15:29]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 [07:15:29]wFMCommunicate OK [07:15:29]SAM_PROTO_GetShiftData done [07:15:29]requested_item shift.sale.total_cash is exist - process it [07:15:29]requested_item shift.sale_refund.total is exist - process it [07:15:29]requested_item shift.sale_refund.total_cash is exist - process it [07:15:29]produce_requested_data done [07:15:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56754,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6383.00,"shift.sale.total_cash":4318.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:15:29]process_action_free close_receipt [07:15:29]json_value_free [07:15:29]json_value_free done [07:15:29]process_json_proto returns [07:15:29]Send response to host [07:15:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56754,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6383.00,"shift.sale.total_cash":4318.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:15:29]free response buf [07:15:29]execute_script done [07:15:29]execute_script returns [07:15:29]free content buf [07:15:29]Sock 7.Close socket [07:15:29]Sock 7.Thread stoped [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:30]accept exits with 9 [07:16:30]New connection [07:16:30]New thread 3066600804 created [07:16:30]Thread 3066457444 joined [07:16:30]Waiting for new connection... [07:16:30] Sock 9.Parse request [07:16:30]Sock 9.Check first char [07:16:30]Sock 9.First char is OK [07:16:30]request: POST /json_proto HTTP/1.0 [07:16:30]Method: POST [07:16:30]URL: /json_proto [07:16:30]Method is POST - this is cgi request [07:16:30]url: /json_proto [07:16:30]query_string will be loaded in cgi processing [07:16:30]execute_cgi json_proto POST (null) [07:16:30]execute_cgi path=json_proto method=POST [07:16:30]POST find Content-Length [07:16:30]Host: 172.17.39.4:8080 [07:16:30]Content-Length: 727 [07:16:30]Content-Type: application/json [07:16:30] [07:16:30]POST finish read [07:16:30]Found Content-Length = 727 [07:16:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129256", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:16:30]execute_script... [07:16: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)129256", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:16:30]POST & json_proto [07:16:30]process_json_proto [07:16:30]json parsed OK: [07:16:30]protocol is kg_v1.0 [07:16:30]action value=close_receipt [07:16:30]process_action close_receipt [07:16:30]cmd_close_receipt [07:16:30]MH_GetDate [07:16:30]Write to MH i2c: F0 00 00 05 15 09 [07:16:30]Write i2c OK [07:16:30]MH_I2C_Read... [07:16:30]Read from MH i2c: F0 [07:16:30]MH_I2C_Read... [07:16:30]Read from MH i2c: F0 09 00 [07:16:30]MH_I2C_Read... [07:16:30]Read from MH i2c: F0 09 00 05 15 00 52 D8 90 66 2D 25 5D 64 45 [07:16:30]GetLastDocTimeStamp 1720768527 [07:16:30]current date 1720768594 [07:16:30]FM_GetShiftState [07:16:30]SAM_PROTO_GetShiftState [07:16:30]wFMCommunicate request_size=4 [07:16:30]MH_SAM_APDU [07:16:30]CAPDU: 80 13 01 00 [07:16:30]Write to MH i2c: E2 08 00 06 15 80 13 01 00 00 00 00 00 98 [07:16:30]Write i2c OK [07:16:30]MH_I2C_Read... [07:16:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:16:30]Read from MH i2c: E2 [07:16:30]MH_I2C_Read... [07:16:30]Read from MH i2c: E2 0E 00 [07:16:30]MH_I2C_Read... [07:16:30]Read from MH i2c: E2 0E 00 06 15 00 09 00 01 86 79 90 66 00 00 00 00 90 00 99 [07:16:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:16:30]wFMCommunicate OK [07:16:30]SAM_PROTO_GetShiftState done [07:16:30]FM_GetShiftState done [07:16:30]opened in 1720744326 [07:16:30]opened+sec_in_day 1720830726 [07:16:30]quantity*price = 14000 [07:16:30]sum+1 = 14001 [07:16:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 23 12.07.2024 07:16 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56755 ФПД: 259236179738921 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071634&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56755&fm=259236179738921&tin=02508201610067®Number=0000000000091208&sum=14000 0 [07:16:31]StoreToDocumentArchive [07:16:31]shift 494 fd 56755 [07:16:31]save to /storage/0494/doc_00056755 [07:16:31]save last doc name /storage/0494/doc_00056755 to /storage/kkm_last_doc_name [07:16:31]save OK [07:16:31]Clear old archive folders... [07:16:31]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:16:31]tlvbuf is B6E6B0E0 [07:16:31]SAM_PROTO_ClearQueue [07:16:31]wFMCommunicate request_size=4 [07:16:31]MH_SAM_APDU [07:16:31]CAPDU: 80 09 00 00 [07:16:31]Write to MH i2c: E2 08 00 13 15 80 09 00 00 00 00 00 00 9A [07:16:31]Write i2c OK [07:16:31]MH_I2C_Read... [07:16:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:16:31]Read from MH i2c: E2 [07:16:31]MH_I2C_Read... [07:16:31]Read from MH i2c: E2 03 00 [07:16:31]MH_I2C_Read... [07:16:31]Read from MH i2c: E2 03 00 13 15 00 90 00 9C [07:16:31]RAPDU: 90 00 [07:16:31]wFMCommunicate OK [07:16:31]SAM_PROTO_ClearQueue done [07:16:31]KKMCreateOFDPacket [07:16:31]OFDProtocolAddRootSTLVToBuf [07:16:31]FM_MakeSignedData [07:16:31]FM_MakeSignedData [07:16:31]SAM_PROTO_SignData [07:16:31]wFMCommunicate request_size=4 [07:16:31]MH_SAM_APDU [07:16:31]CAPDU: 80 0D 01 02 [07:16:31]Write to MH i2c: E2 08 00 14 15 80 0D 01 02 00 00 00 00 A2 [07:16:31]Write i2c OK [07:16:31]MH_I2C_Read... [07:16:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:16:31]Read from MH i2c: E2 [07:16:31]MH_I2C_Read... [07:16:31]Read from MH i2c: E2 03 00 [07:16:31]MH_I2C_Read... [07:16:31]Read from MH i2c: E2 03 00 14 15 00 90 00 9D [07:16:31]RAPDU: 90 00 [07:16:31]wFMCommunicate OK [07:16:31]wFMCommunicate request_size=255 [07:16:31]MH_SAM_APDU [07:16:31]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 17 00 00 00 F4 03 04 00 52 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [07:16:31]Write to MH i2c: E2 02 01 15 15 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 17 00 00 00 F4 03 04 00 52 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 53 [07:16:31]Write i2c OK [07:16:31]MH_I2C_Read... [07:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:16:32]Read from MH i2c: E2 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 03 00 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 03 00 15 15 00 90 00 9E [07:16:32]RAPDU: 90 00 [07:16:32]wFMCommunicate OK [07:16:32]wFMCommunicate request_size=34 [07:16:32]MH_SAM_APDU [07:16:32]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DD 00 00 35 04 06 00 EB C6 20 68 01 29 [07:16:32]Write to MH i2c: E2 25 00 16 15 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DD 00 00 35 04 06 00 EB C6 20 68 01 29 00 00 60 [07:16:32]Write i2c OK [07:16:32]MH_I2C_Read... [07:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:16:32]Read from MH i2c: E2 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 03 00 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 03 00 16 15 00 90 00 9F [07:16:32]RAPDU: 90 00 [07:16:32]wFMCommunicate OK [07:16:32]wFMCommunicate request_size=4 [07:16:32]MH_SAM_APDU [07:16:32]CAPDU: 80 0D 03 02 [07:16:32]Write to MH i2c: E2 08 00 17 15 80 0D 03 02 00 00 00 00 A7 [07:16:32]Write i2c OK [07:16:32]MH_I2C_Read... [07:16:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:16:32]Read from MH i2c: E2 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 0B 00 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 0B 00 17 15 00 17 E3 E4 56 DF 75 C4 59 90 00 4D [07:16:32]RAPDU: 17 E3 E4 56 DF 75 C4 59 90 00 [07:16:32]wFMCommunicate OK [07:16:32]SAM_PROTO_SignData done [07:16:32]FM_MakeSignedData done [07:16:32]CreateOFDProtocolMessage [07:16:32]wFMCommunicate request_size=4 [07:16:32]MH_SAM_APDU [07:16:32]CAPDU: 80 11 00 00 [07:16:32]Write to MH i2c: E2 08 00 18 15 80 11 00 00 00 00 00 00 A7 [07:16:32]Write i2c OK [07:16:32]MH_I2C_Read... [07:16:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:16:32]Read from MH i2c: E2 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 17 00 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: E2 17 00 18 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 01 [07:16:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:16:32]wFMCommunicate OK [07:16:32]CreateOFDProtocolMessage done [07:16:32]OFDSenderStorePacket 56755 [07:16:32]StoreOFDPacket docnum=56755 [07:16:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 8C 59 1F 01 6A F0 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 17 00 00 00 F4 03 04 00 52 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DD 00 00 35 04 06 00 EB C6 20 68 01 29 17 E3 E4 56 DF 75 C4 59 [07:16:32]CheckFolder [07:16:32]dirname=/storage/ofd_packets [07:16:32]CheckFolder done [07:16:32]ProducePacketName [07:16:32]name=ofd_packets/00056755 [07:16:32]NVStorageSaveData ofd_packets/00056755 [07:16:32]File name is /storage/ofd_packets/00056755 [07:16:32]Write 325 bytes [07:16:32]NVStorageSaveData done [07:16:32]OFDSenderStorePacket done [07:16:32]KKMCreateOFDPacket done [07:16:32]NVStorageSaveData kkm_last_timestamp [07:16:32]File name is /storage/kkm_last_timestamp [07:16:32]Write 4 bytes [07:16:32]NVStorageSaveData done [07:16:32]OFD Sender: Processing packet 56755 [packets to send 38, broken 37] [07:16:32]ProducePacketName [07:16:32]name=ofd_packets/00056755 [07:16:32]OFD Sender: To server: pG, [07:16:32]CommunicateWithHost lk.salyk.kg:30040 [07:16:32]ConnectInit lk.salyk.kg [07:16:32]ExternCall_PrintAddStr [07:16:32]wPrintStart [07:16:32]Write to MH i2c: 01 00 00 19 15 2E [07:16:32]Write i2c OK [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: 01 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: 01 07 00 [07:16:32]MH_I2C_Read... [07:16:32]Read from MH i2c: 01 07 00 19 15 00 00 00 00 00 FF 0F 43 [07:16:32]RasterBufferAndPrint [07:16:32]line Счет N : (3)129256 [07:16:32]line ИНН: 02508201610067 [07:16:32]line Контрольно-Кассовый Чек [07:16:32]line ПРОДАЖА [07:16:32]line Товар: 48743587 [07:16:32]line Сигареты Winston XStyle Silver [07:16:32]line 1.000 * 140.00 [07:16:32]line = 140.00 [07:16:32]line НДС 12% НСП 1% [07:16:32]line > о реализуемом товаре [07:16:32]line ИТОГО: 140.00 [07:16:32]line НСП 1% : 1.24 [07:16:32]line НДС 12% : 14.87 [07:16:32]line Наличными: 140.00 [07:16:32]line Безнал.: 0.00 [07:16:32]line Место: АЗС № 132 "Партнер Нефть" [07:16:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:16:32]line СНО: Общий режим [07:16:32]line Чек 23 12.07.2024 07:16 [07:16:32]line Смена: 494 ФФД: 1.0 [07:16:32]line ЗНМ: 0300000132 [07:16:32]line РНМ: 0000000000091208 [07:16:32]line Версия ККМ: 001 [07:16:32]line ФМ: 0000000000874857 [07:16:32]line ФД: 56755 [07:16:32]line ФПД: 259236179738921 [07:16:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071634&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56755&fm=259236179738921&tin=02508201610067®Number=0000000000091208&sum=14000 [07:16:32]line 0 [07:16:32]Connected sock=11 [07:16: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 38 35 37 27 01 00 00 8C 59 1F 01 6A F0 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 17 00 00 00 F4 03 04 00 52 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DD 00 00 35 04 06 00 EB C6 20 68 01 29 17 E3 E4 56 DF 75 C4 59 [07:16:32]written 0, free lines is 4095 [07:16:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E3 82 47 00 1E 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 38 35 37 10 04 04 00 B3 DD 00 00 F4 03 04 00 A9 7E 90 66 B6 04 01 00 00 49 9D 9D FC BA B1 88 3C [07:16:32]CommunicateWithHost err = 0 [07:16:32]CheckOFDResponse [07:16:32]1017 (14) - 77093643461234 [07:16:32]1041 (16) - 0000000000874857 [07:16:32]1040 (4) - 56755 [07:16:32]1012 (4) - 12.07.2024 00:54 [07:16:32]1206 (1) - 0 [07:16:32]OFD Sender: Remove packet 56755 [07:16:32]ProducePacketName [07:16:32]name=ofd_packets/00056755 [07:16:32]NVStorageDeleteData [07:16:33]Write to MH i2c: 01 00 00 42 15 57 [07:16:33]Write i2c OK [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: 01 [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: 01 07 00 [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: 01 07 00 42 15 00 00 00 00 00 EB 0C 55 [07:16:33]RasterBufferAndPrint [07:16:33]line [07:16:33]line [07:16:33]line [07:16:33]line [07:16:33]line [07:16:33]written 0, free lines is 3313 [07:16:33]MH_Cut [07:16:33]Write to MH i2c: D1 01 00 49 15 01 30 [07:16:33]Write i2c OK [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: D1 [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: D1 01 00 [07:16:33]MH_I2C_Read... [07:16:33]Read from MH i2c: D1 01 00 49 15 00 2F [07:16:33]Write to MH i2c: 01 00 00 4A 15 5F [07:16:33]Write i2c OK [07:16:33]MH_I2C_Read... [07:16:33]OFD Sender: No OFD packet to send [07:16:33]*** Cut start [07:16:33]*** Partial cut [07:16:33]*** CUTSNS_PIN = 1 [07:16:33]*** CUTSNS_PIN = 0 [07:16:34]*** Brake cut motor [07:16:34]Read from MH i2c: 01 [07:16:34]MH_I2C_Read... [07:16:34]*** Stop cut motor [07:16:34]*** Cut end [07:16:34]Read from MH i2c: 01 07 00 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: 01 07 00 4A 15 00 00 00 00 00 FF 0F 74 [07:16:34]process_action close_receipt done [07:16:34]requested_data is exist [07:16:34]produce_requested_data [07:16:34]requested_item fm.sn is exist - process it [07:16:34]wFMCommunicate request_size=4 [07:16:34]MH_SAM_APDU [07:16:34]CAPDU: 80 11 00 00 [07:16:34]Write to MH i2c: E2 08 00 4B 15 80 11 00 00 00 00 00 00 DA [07:16:34]Write i2c OK [07:16:34]MH_I2C_Read... [07:16:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:16:34]Read from MH i2c: E2 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 17 00 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 17 00 4B 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 34 [07:16:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:16:34]wFMCommunicate OK [07:16:34]requested_item fd.num is exist - process it [07:16:34]SAM_PROTO_GetFieldsCounters [07:16:34]wFMCommunicate request_size=4 [07:16:34]MH_SAM_APDU [07:16:34]CAPDU: 80 13 00 00 [07:16:34]Write to MH i2c: E2 08 00 4C 15 80 13 00 00 00 00 00 00 DD [07:16:34]Write i2c OK [07:16:34]MH_I2C_Read... [07:16:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:16:34]Read from MH i2c: E2 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 62 00 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 62 00 4C 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B3 DD 00 00 0E 04 04 00 EE 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 C4 [07:16:34]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B3 DD 00 00 0E 04 04 00 EE 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 [07:16:34]wFMCommunicate OK [07:16:34]SAM_PROTO_GetFieldsCounters done [07:16:34]requested_item shift.num is exist - process it [07:16:34]requested_item shift.opened is exist - process it [07:16:34]req_shift_opened [07:16:34]FM_GetShiftState [07:16:34]SAM_PROTO_GetShiftState [07:16:34]wFMCommunicate request_size=4 [07:16:34]MH_SAM_APDU [07:16:34]CAPDU: 80 13 01 00 [07:16:34]Write to MH i2c: E2 08 00 4D 15 80 13 01 00 00 00 00 00 DF [07:16:34]Write i2c OK [07:16:34]MH_I2C_Read... [07:16:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:16:34]Read from MH i2c: E2 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 0E 00 [07:16:34]MH_I2C_Read... [07:16:34]Read from MH i2c: E2 0E 00 4D 15 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E0 [07:16:34]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:16:34]wFMCommunicate OK [07:16:34]SAM_PROTO_GetShiftState done [07:16:34]FM_GetShiftState done [07:16:34]req_shift_opened done [07:16:34]requested_item shift.open_date is exist - process it [07:16:34]req_shift_open_date [07:16:34]req_shift_open_date done [07:16:34]requested_item shift.sale.total is exist - process it [07:16:34]SAM_PROTO_GetShiftData [07:16:34]wFMCommunicate request_size=4 [07:16:34]MH_SAM_APDU [07:16:34]CAPDU: 80 13 02 00 [07:16:34]Write to MH i2c: E2 08 00 4E 15 80 13 02 00 00 00 00 00 E1 [07:16:34]Write i2c OK [07:16:34]MH_I2C_Read... [07:16:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:16:35]Read from MH i2c: E2 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 4E 15 00 AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 0C F4 09 70 04 03 00 68 CD 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 97 0E 01 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 8B 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 28 [07:16:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 0C F4 09 70 04 03 00 68 CD 06 72 04 03 00 A4 26 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 97 0E 01 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 8B 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:16:35]wFMCommunicate OK [07:16:35]wFMCommunicate request_size=4 [07:16:35]MH_SAM_APDU [07:16:35]CAPDU: 80 17 00 00 [07:16:35]Write to MH i2c: E2 08 00 4F 15 80 17 00 00 00 00 00 00 E4 [07:16:35]Write i2c OK [07:16:35]MH_I2C_Read... [07:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:16:35]Read from MH i2c: E2 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 4F 15 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 06 [07:16:35]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 [07:16:35]wFMCommunicate OK [07:16:35]wFMCommunicate request_size=4 [07:16:35]MH_SAM_APDU [07:16:35]CAPDU: 80 17 00 00 [07:16:35]Write to MH i2c: E2 08 00 50 15 80 17 00 00 00 00 00 00 E5 [07:16:35]Write i2c OK [07:16:35]MH_I2C_Read... [07:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:16:35]Read from MH i2c: E2 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 50 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C [07:16:35]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 [07:16:35]wFMCommunicate OK [07:16:35]wFMCommunicate request_size=4 [07:16:35]MH_SAM_APDU [07:16:35]CAPDU: 80 17 00 00 [07:16:35]Write to MH i2c: E2 08 00 51 15 80 17 00 00 00 00 00 00 E6 [07:16:35]Write i2c OK [07:16:35]MH_I2C_Read... [07:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:16:35]Read from MH i2c: E2 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 [07:16:35]MH_I2C_Read... [07:16:35]Read from MH i2c: E2 FD 00 51 15 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 58 [07:16:35]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 [07:16:35]wFMCommunicate OK [07:16:35]wFMCommunicate request_size=4 [07:16:35]MH_SAM_APDU [07:16:35]CAPDU: 80 17 00 00 [07:16:35]Write to MH i2c: E2 08 00 52 15 80 17 00 00 00 00 00 00 E7 [07:16:35]Write i2c OK [07:16:35]MH_I2C_Read... [07:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [07:16:36]Read from MH i2c: E2 [07:16:36]MH_I2C_Read... [07:16:36]Read from MH i2c: E2 CB 00 [07:16:36]MH_I2C_Read... [07:16:36]Read from MH i2c: E2 CB 00 52 15 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 D0 [07:16:36]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 [07:16:36]wFMCommunicate OK [07:16:36]SAM_PROTO_GetShiftData done [07:16:36]requested_item shift.sale.total_cash is exist - process it [07:16:36]requested_item shift.sale_refund.total is exist - process it [07:16:36]requested_item shift.sale_refund.total_cash is exist - process it [07:16:36]produce_requested_data done [07:16:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56755,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6523.00,"shift.sale.total_cash":4458.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:16:36]process_action_free close_receipt [07:16:36]json_value_free [07:16:36]json_value_free done [07:16:36]process_json_proto returns [07:16:36]Send response to host [07:16:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56755,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6523.00,"shift.sale.total_cash":4458.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:16:36]free response buf [07:16:36]execute_script done [07:16:36]execute_script returns [07:16:36]free content buf [07:16:36]Sock 9.Close socket [07:16:36]Sock 9.Thread stoped [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:08]accept exits with 7 [07:17:08]New connection [07:17:08]New thread 3066457444 created [07:17:08]Thread 3066600804 joined [07:17:08]Waiting for new connection... [07:17:08] Sock 7.Parse request [07:17:08]Sock 7.Check first char [07:17:08]Sock 7.First char is OK [07:17:08]request: POST /json_proto HTTP/1.0 [07:17:08]Method: POST [07:17:08]URL: /json_proto [07:17:08]Method is POST - this is cgi request [07:17:08]url: /json_proto [07:17:08]query_string will be loaded in cgi processing [07:17:08]execute_cgi json_proto POST (null) [07:17:08]execute_cgi path=json_proto method=POST [07:17:08]POST find Content-Length [07:17:08]Host: 172.17.39.4:8080 [07:17:08]Content-Length: 903 [07:17:08]Content-Type: application/json [07:17:08] [07:17:08]POST finish read [07:17:08]Found Content-Length = 903 [07:17:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129257", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.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" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:17:08]execute_script... [07:17:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129257", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.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" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:17:08]POST & json_proto [07:17:08]process_json_proto [07:17:08]json parsed OK: [07:17:08]protocol is kg_v1.0 [07:17:08]action value=close_receipt [07:17:08]process_action close_receipt [07:17:08]cmd_close_receipt [07:17:08]MH_GetDate [07:17:08]Write to MH i2c: F0 00 00 53 15 57 [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: F0 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: F0 09 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: F0 09 00 53 15 00 78 D8 90 66 2D 25 5D 64 B9 [07:17:08]GetLastDocTimeStamp 1720768594 [07:17:08]current date 1720768632 [07:17:08]FM_GetShiftState [07:17:08]SAM_PROTO_GetShiftState [07:17:08]wFMCommunicate request_size=4 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 13 01 00 [07:17:08]Write to MH i2c: E2 08 00 54 15 80 13 01 00 00 00 00 00 E6 [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 0E 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 0E 00 54 15 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E7 [07:17:08]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:17:08]wFMCommunicate OK [07:17:08]SAM_PROTO_GetShiftState done [07:17:08]FM_GetShiftState done [07:17:08]opened in 1720744326 [07:17:08]opened+sec_in_day 1720830726 [07:17:08]quantity*price = 15000 [07:17:08]sum+1 = 15001 [07:17:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 24 12.07.2024 07:17 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874857 ФД: 56756 ФПД: 202256113769556 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071712&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56756&fm=202256113769556&tin=02508201610067®Number=0000000000091208&sum=15000 0 [07:17:09]StoreToDocumentArchive [07:17:09]shift 494 fd 56756 [07:17:09]save to /storage/0494/doc_00056756 [07:17:09]save last doc name /storage/0494/doc_00056756 to /storage/kkm_last_doc_name [07:17:09]save OK [07:17:09]Clear old archive folders... [07:17:09]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:17:09]tlvbuf is B6E52350 [07:17:09]SAM_PROTO_ClearQueue [07:17:09]wFMCommunicate request_size=4 [07:17:09]MH_SAM_APDU [07:17:09]CAPDU: 80 09 00 00 [07:17:09]Write to MH i2c: E2 08 00 61 15 80 09 00 00 00 00 00 00 E8 [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:17:09]Read from MH i2c: E2 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: E2 03 00 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: E2 03 00 61 15 00 90 00 EA [07:17:09]RAPDU: 90 00 [07:17:09]wFMCommunicate OK [07:17:09]SAM_PROTO_ClearQueue done [07:17:09]KKMCreateOFDPacket [07:17:09]OFDProtocolAddRootSTLVToBuf [07:17:09]FM_MakeSignedData [07:17:09]FM_MakeSignedData [07:17:09]SAM_PROTO_SignData [07:17:09]wFMCommunicate request_size=4 [07:17:09]MH_SAM_APDU [07:17:09]CAPDU: 80 0D 01 02 [07:17:09]Write to MH i2c: E2 08 00 62 15 80 0D 01 02 00 00 00 00 F0 [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:17:09]Read from MH i2c: E2 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: E2 03 00 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: E2 03 00 62 15 00 90 00 EB [07:17:09]RAPDU: 90 00 [07:17:09]wFMCommunicate OK [07:17:09]wFMCommunicate request_size=255 [07:17:09]MH_SAM_APDU [07:17:09]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 78 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [07:17:09]Write to MH i2c: E2 02 01 63 15 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 78 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 50 [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:10]Read from MH i2c: E2 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 03 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 03 00 63 15 00 90 00 EC [07:17:10]RAPDU: 90 00 [07:17:10]wFMCommunicate OK [07:17:10]wFMCommunicate request_size=33 [07:17:10]MH_SAM_APDU [07:17:10]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DD 00 00 35 04 06 00 B7 F3 6B D0 9C 54 [07:17:10]Write to MH i2c: E2 24 00 64 15 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DD 00 00 35 04 06 00 B7 F3 6B D0 9C 54 00 00 EF [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:10]Read from MH i2c: E2 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 03 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 03 00 64 15 00 90 00 ED [07:17:10]RAPDU: 90 00 [07:17:10]wFMCommunicate OK [07:17:10]wFMCommunicate request_size=4 [07:17:10]MH_SAM_APDU [07:17:10]CAPDU: 80 0D 03 02 [07:17:10]Write to MH i2c: E2 08 00 65 15 80 0D 03 02 00 00 00 00 F5 [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:17:10]Read from MH i2c: E2 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 0B 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 0B 00 65 15 00 AB 67 95 0E 6E 7E 14 63 90 00 0E [07:17:10]RAPDU: AB 67 95 0E 6E 7E 14 63 90 00 [07:17:10]wFMCommunicate OK [07:17:10]SAM_PROTO_SignData done [07:17:10]FM_MakeSignedData done [07:17:10]CreateOFDProtocolMessage [07:17:10]wFMCommunicate request_size=4 [07:17:10]MH_SAM_APDU [07:17:10]CAPDU: 80 11 00 00 [07:17:10]Write to MH i2c: E2 08 00 66 15 80 11 00 00 00 00 00 00 F5 [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:10]Read from MH i2c: E2 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 17 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 17 00 66 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [07:17:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:17:10]wFMCommunicate OK [07:17:10]CreateOFDProtocolMessage done [07:17:10]OFDSenderStorePacket 56756 [07:17:10]StoreOFDPacket docnum=56756 [07:17:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 F4 0B 1E 01 EA B8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 78 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DD 00 00 35 04 06 00 B7 F3 6B D0 9C 54 AB 67 95 0E 6E 7E 14 63 [07:17:10]CheckFolder [07:17:10]dirname=/storage/ofd_packets [07:17:10]CheckFolder done [07:17:10]ProducePacketName [07:17:10]name=ofd_packets/00056756 [07:17:10]NVStorageSaveData ofd_packets/00056756 [07:17:10]File name is /storage/ofd_packets/00056756 [07:17:10]Write 324 bytes [07:17:10]NVStorageSaveData done [07:17:10]OFDSenderStorePacket done [07:17:10]KKMCreateOFDPacket done [07:17:10]NVStorageSaveData kkm_last_timestamp [07:17:10]File name is /storage/kkm_last_timestamp [07:17:10]Write 4 bytes [07:17:10]NVStorageSaveData done [07:17:10]ExternCall_PrintAddStr [07:17:10]wPrintStart [07:17:10]Write to MH i2c: 01 00 00 67 15 7C [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: 01 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: 01 07 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: 01 07 00 67 15 00 00 00 00 00 FF 0F 91 [07:17:10]RasterBufferAndPrint [07:17:10]line Счет N : (3)129257 [07:17:10]line ИНН: 02508201610067 [07:17:10]line Контрольно-Кассовый Чек [07:17:10]line ПРОДАЖА [07:17:10]line Товар: 46230614 [07:17:10]line Сигареты Richmond Red Edition [07:17:10]line 1.000 * 150.00 [07:17:10]line = 150.00 [07:17:10]line НДС 12% НСП 1% [07:17:10]line > о реализуемом товаре [07:17:10]line ИТОГО: 150.00 [07:17:10]line НСП 1% : 1.33 [07:17:10]line НДС 12% : 15.93 [07:17:10]line Наличными: 0.00 [07:17:10]line Безнал.: 150.00 [07:17:10]line Место: АЗС № 132 "Партнер Нефть" [07:17:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:17:10]line СНО: Общий режим [07:17:10]line Чек 24 12.07.2024 07:17 [07:17:10]line Смена: 494 ФФД: 1.0 [07:17:10]line ЗНМ: 0300000132 [07:17:10]line РНМ: 0000000000091208 [07:17:10]line Версия ККМ: 001 [07:17:10]line Платежная система: Бакай Банк [07:17:10]line ФМ: 0000000000874857 [07:17:10]line ФД: 56756 [07:17:10]line ФПД: 202256113769556 [07:17:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T071712&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56756&fm=202256113769556&tin=02508201610067®Number=0000000000091208&sum=15000 [07:17:10]OFD Sender: Processing packet 56756 [packets to send 38, broken 37] [07:17:10]ProducePacketName [07:17:10]name=ofd_packets/00056756 [07:17:10]OFD Sender: To server: pG, [07:17:10]CommunicateWithHost lk.salyk.kg:30040 [07:17:10]ConnectInit lk.salyk.kg [07:17:10]line 0 [07:17:10]written 0, free lines is 4095 [07:17:10]Connected sock=10 [07:17: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 38 35 37 26 01 00 00 F4 0B 1E 01 EA B8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 78 D8 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DD 00 00 35 04 06 00 B7 F3 6B D0 9C 54 AB 67 95 0E 6E 7E 14 63 [07:17:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 CA 2C 47 00 58 6D 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 38 35 37 10 04 04 00 B4 DD 00 00 F4 03 04 00 D0 7E 90 66 B6 04 01 00 00 7B E7 40 9D 6E 11 CD 18 [07:17:10]CommunicateWithHost err = 0 [07:17:10]CheckOFDResponse [07:17:10]1017 (14) - 77093643461234 [07:17:10]1041 (16) - 0000000000874857 [07:17:10]1040 (4) - 56756 [07:17:10]1012 (4) - 12.07.2024 00:54 [07:17:10]1206 (1) - 0 [07:17:10]OFD Sender: Remove packet 56756 [07:17:10]ProducePacketName [07:17:10]name=ofd_packets/00056756 [07:17:10]NVStorageDeleteData [07:17:11]Write to MH i2c: 01 00 00 92 15 A7 [07:17:11]Write i2c OK [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: 01 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: 01 07 00 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: 01 07 00 92 15 00 00 00 00 00 D2 0C 8C [07:17:11]RasterBufferAndPrint [07:17:11]line [07:17:11]line [07:17:11]line [07:17:11]line [07:17:11]line [07:17:11]written 0, free lines is 3288 [07:17:11]MH_Cut [07:17:11]Write to MH i2c: D1 01 00 99 15 01 80 [07:17:11]Write i2c OK [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: D1 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: D1 01 00 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: D1 01 00 99 15 00 7F [07:17:11]Write to MH i2c: 01 00 00 9A 15 AF [07:17:11]Write i2c OK [07:17:11]MH_I2C_Read... [07:17:11]OFD Sender: No OFD packet to send [07:17:11]*** Cut start [07:17:11]*** Partial cut [07:17:11]*** CUTSNS_PIN = 1 [07:17:11]*** CUTSNS_PIN = 0 [07:17:12]*** Brake cut motor [07:17:12]Read from MH i2c: 01 [07:17:12]MH_I2C_Read... [07:17:12]*** Stop cut motor [07:17:12]*** Cut end [07:17:12]Read from MH i2c: 01 07 00 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: 01 07 00 9A 15 00 00 00 00 00 FF 0F C4 [07:17:12]process_action close_receipt done [07:17:12]requested_data is exist [07:17:12]produce_requested_data [07:17:12]requested_item fm.sn is exist - process it [07:17:12]wFMCommunicate request_size=4 [07:17:12]MH_SAM_APDU [07:17:12]CAPDU: 80 11 00 00 [07:17:12]Write to MH i2c: E2 08 00 9B 15 80 11 00 00 00 00 00 00 2A [07:17:12]Write i2c OK [07:17:12]MH_I2C_Read... [07:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:12]Read from MH i2c: E2 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 17 00 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 17 00 9B 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [07:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:17:12]wFMCommunicate OK [07:17:12]requested_item fd.num is exist - process it [07:17:12]SAM_PROTO_GetFieldsCounters [07:17:12]wFMCommunicate request_size=4 [07:17:12]MH_SAM_APDU [07:17:12]CAPDU: 80 13 00 00 [07:17:12]Write to MH i2c: E2 08 00 9C 15 80 13 00 00 00 00 00 00 2D [07:17:12]Write i2c OK [07:17:12]MH_I2C_Read... [07:17:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:17:12]Read from MH i2c: E2 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 62 00 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 62 00 9C 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B4 DD 00 00 0E 04 04 00 EE 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 18 [07:17: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B4 DD 00 00 0E 04 04 00 EE 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 [07:17:12]wFMCommunicate OK [07:17:12]SAM_PROTO_GetFieldsCounters done [07:17:12]requested_item shift.num is exist - process it [07:17:12]requested_item shift.opened is exist - process it [07:17:12]req_shift_opened [07:17:12]FM_GetShiftState [07:17:12]SAM_PROTO_GetShiftState [07:17:12]wFMCommunicate request_size=4 [07:17:12]MH_SAM_APDU [07:17:12]CAPDU: 80 13 01 00 [07:17:12]Write to MH i2c: E2 08 00 9D 15 80 13 01 00 00 00 00 00 2F [07:17:12]Write i2c OK [07:17:12]MH_I2C_Read... [07:17:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:12]Read from MH i2c: E2 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 0E 00 [07:17:12]MH_I2C_Read... [07:17:12]Read from MH i2c: E2 0E 00 9D 15 00 09 00 01 86 79 90 66 00 00 00 00 90 00 30 [07:17:12]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:17:12]wFMCommunicate OK [07:17:12]SAM_PROTO_GetShiftState done [07:17:12]FM_GetShiftState done [07:17:12]req_shift_opened done [07:17:12]requested_item shift.open_date is exist - process it [07:17:12]req_shift_open_date [07:17:12]req_shift_open_date done [07:17:12]requested_item shift.sale.total is exist - process it [07:17:12]SAM_PROTO_GetShiftData [07:17:12]wFMCommunicate request_size=4 [07:17:12]MH_SAM_APDU [07:17:12]CAPDU: 80 13 02 00 [07:17:12]Write to MH i2c: E2 08 00 9E 15 80 13 02 00 00 00 00 00 31 [07:17:12]Write i2c OK [07:17:12]MH_I2C_Read... [07:17:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:17:13]Read from MH i2c: E2 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 9E 15 00 AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 A4 2E 0A 70 04 03 00 68 CD 06 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 14 01 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 10 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E5 [07:17:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 A4 2E 0A 70 04 03 00 68 CD 06 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 14 01 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 10 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:17:13]wFMCommunicate OK [07:17:13]wFMCommunicate request_size=4 [07:17:13]MH_SAM_APDU [07:17:13]CAPDU: 80 17 00 00 [07:17:13]Write to MH i2c: E2 08 00 9F 15 80 17 00 00 00 00 00 00 34 [07:17:13]Write i2c OK [07:17:13]MH_I2C_Read... [07:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:13]Read from MH i2c: E2 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 9F 15 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 56 [07:17:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [07:17:13]wFMCommunicate OK [07:17:13]wFMCommunicate request_size=4 [07:17:13]MH_SAM_APDU [07:17:13]CAPDU: 80 17 00 00 [07:17:13]Write to MH i2c: E2 08 00 A0 15 80 17 00 00 00 00 00 00 35 [07:17:13]Write i2c OK [07:17:13]MH_I2C_Read... [07:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:13]Read from MH i2c: E2 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 A0 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [07:17:13]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [07:17:13]wFMCommunicate OK [07:17:13]wFMCommunicate request_size=4 [07:17:13]MH_SAM_APDU [07:17:13]CAPDU: 80 17 00 00 [07:17:13]Write to MH i2c: E2 08 00 A1 15 80 17 00 00 00 00 00 00 36 [07:17:13]Write i2c OK [07:17:13]MH_I2C_Read... [07:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:17:13]Read from MH i2c: E2 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 [07:17:13]MH_I2C_Read... [07:17:13]Read from MH i2c: E2 FD 00 A1 15 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 A8 [07:17:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [07:17:14]wFMCommunicate OK [07:17:14]wFMCommunicate request_size=4 [07:17:14]MH_SAM_APDU [07:17:14]CAPDU: 80 17 00 00 [07:17:14]Write to MH i2c: E2 08 00 A2 15 80 17 00 00 00 00 00 00 37 [07:17:14]Write i2c OK [07:17:14]MH_I2C_Read... [07:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [07:17:14]Read from MH i2c: E2 [07:17:14]MH_I2C_Read... [07:17:14]Read from MH i2c: E2 CB 00 [07:17:14]MH_I2C_Read... [07:17:14]Read from MH i2c: E2 CB 00 A2 15 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 20 [07:17:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:17:14]wFMCommunicate OK [07:17:14]SAM_PROTO_GetShiftData done [07:17:14]requested_item shift.sale.total_cash is exist - process it [07:17:14]requested_item shift.sale_refund.total is exist - process it [07:17:14]requested_item shift.sale_refund.total_cash is exist - process it [07:17:14]produce_requested_data done [07:17:14]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56756,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6673.00,"shift.sale.total_cash":4458.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:17:14]process_action_free close_receipt [07:17:14]json_value_free [07:17:14]json_value_free done [07:17:14]process_json_proto returns [07:17:14]Send response to host [07:17:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56756,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6673.00,"shift.sale.total_cash":4458.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:17:14]free response buf [07:17:14]execute_script done [07:17:14]execute_script returns [07:17:14]free content buf [07:17:14]Sock 7.Close socket [07:17:14]Sock 7.Thread stoped [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:39:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=13 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 15 02 00 08 F4 03 04 00 95 DD 90 66 [07:39:01]Write to MH i2c: E2 10 00 74 00 80 15 02 00 08 00 F4 03 04 00 95 DD 90 66 00 00 67 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=25 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [07:39:01]Write to MH i2c: E2 1C 00 75 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 52 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 15 03 00 [07:39:01]Write to MH i2c: E2 08 00 76 00 80 15 03 00 00 00 00 00 F7 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 40 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 40 00 76 00 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 1A 00 00 00 35 04 06 00 7E A3 54 E5 20 33 90 00 3D [07:39:01]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 1A 00 00 00 35 04 06 00 7E A3 54 E5 20 33 90 00 [07:39:01]wFMCommunicate OK [07:39:01]SAM_PROTO_ProcessDocument answer len = 59 [07:39:01]SAM_PROTO_ProcessDocument done [07:39:01]SetTLVBufToDocument [07:39:01]Processing tag 1209 (04B9) [07:39:01]Malloc new data [07:39:01]Processing tag 1041 (0411) [07:39:01]Processing tag 1040 (0410) [07:39:01]Malloc new data [07:39:01]Processing tag 1038 (040E) [07:39:01]Malloc new data [07:39:01]Processing tag 1042 (0412) [07:39:01]Malloc new data [07:39:01]Processing tag 1077 (0435) [07:39:01]Malloc new data [07:39:01]SetTLVBufToDocument err=0 [07:39:01]KKMLoadAndSignReceiptData store KKM data [07:39:01]KKMLoadAndSignReceiptData err=0 [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 11 00 00 [07:39:01]Write to MH i2c: E2 08 00 77 00 80 11 00 00 00 00 00 00 F1 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 17 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 17 00 77 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4B [07:39:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:01]wFMCommunicate OK [07:39:01]Счет N : (3)129259 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4620006995702 Водка Зеленая Марка 0,1л 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 26 12.07.2024 07:39 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56758 ФПД: 139239969071155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T073901&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56758&fm=139239969071155&tin=02508201610067®Number=0000000000091208&sum=13000 0 [07:39:01]StoreToDocumentArchive [07:39:01]shift 494 fd 56758 [07:39:01]save to /storage/0494/doc_00056758 [07:39:01]save last doc name /storage/0494/doc_00056758 to /storage/kkm_last_doc_name [07:39:01]save OK [07:39:01]Clear old archive folders... [07:39:01]ProcessDocumentItem done err = 0, tmpTLVsize=284 [07:39:01]tlvbuf is 01AAF7A0 [07:39:01]SAM_PROTO_ClearQueue [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 09 00 00 [07:39:01]Write to MH i2c: E2 08 00 78 00 80 09 00 00 00 00 00 00 EA [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]SAM_PROTO_ClearQueue done [07:39:01]KKMCreateOFDPacket [07:39:01]OFDProtocolAddRootSTLVToBuf [07:39:01]FM_MakeSignedData [07:39:01]FM_MakeSignedData [07:39:01]SAM_PROTO_SignData [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 01 02 [07:39:01]Write to MH i2c: E2 08 00 79 00 80 0D 01 02 00 00 00 00 F2 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=255 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1A 00 00 00 F4 03 04 00 95 DD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [07:39:01]Write to MH i2c: E2 02 01 7A 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1A 00 00 00 F4 03 04 00 95 DD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 B9 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=43 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 35 04 06 00 7E A3 54 E5 20 33 [07:39:01]Write to MH i2c: E2 2E 00 7B 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 35 04 06 00 7E A3 54 E5 20 33 00 00 24 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [07:39:01]RAPDU: 90 00 [07:39:01]wFMCommunicate OK [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 0D 03 02 [07:39:01]Write to MH i2c: E2 08 00 7C 00 80 0D 03 02 00 00 00 00 F7 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:39:01]Read from MH i2c: E2 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 0B 00 [07:39:01]MH_I2C_Read... [07:39:01]Read from MH i2c: E2 0B 00 7C 00 00 E0 1D 0C BA DC 9B 34 9A 90 00 00 [07:39:01]RAPDU: E0 1D 0C BA DC 9B 34 9A 90 00 [07:39:01]wFMCommunicate OK [07:39:01]SAM_PROTO_SignData done [07:39:01]FM_MakeSignedData done [07:39:01]CreateOFDProtocolMessage [07:39:01]wFMCommunicate request_size=4 [07:39:01]MH_SAM_APDU [07:39:01]CAPDU: 80 11 00 00 [07:39:01]Write to MH i2c: E2 08 00 7D 00 80 11 00 00 00 00 00 00 F7 [07:39:01]Write i2c OK [07:39:01]MH_I2C_Read... [07:39:01]ConnectInit Can't connect to host [07:39:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:02]Read from MH i2c: E2 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: E2 17 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: E2 17 00 7D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 51 [07:39:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:02]wFMCommunicate OK [07:39:02]CreateOFDProtocolMessage done [07:39:02]OFDSenderStorePacket 56758 [07:39:02]StoreOFDPacket docnum=56758 [07:39:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 03 23 28 01 3B D0 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1A 00 00 00 F4 03 04 00 95 DD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 35 04 06 00 7E A3 54 E5 20 33 E0 1D 0C BA DC 9B 34 9A [07:39:02]CheckFolder [07:39:02]dirname=/storage/ofd_packets [07:39:02]CheckFolder done [07:39:02]ProducePacketName [07:39:02]name=ofd_packets/00056758 [07:39:02]NVStorageSaveData ofd_packets/00056758 [07:39:02]File name is /storage/ofd_packets/00056758 [07:39:02]Write 334 bytes [07:39:02]NVStorageSaveData done [07:39:02]OFDSenderStorePacket done [07:39:02]KKMCreateOFDPacket done [07:39:02]NVStorageSaveData kkm_last_timestamp [07:39:02]File name is /storage/kkm_last_timestamp [07:39:02]Write 4 bytes [07:39:02]NVStorageSaveData done [07:39:02]ExternCall_PrintAddStr [07:39:02]wPrintStart [07:39:02]Write to MH i2c: 01 00 00 7E 00 7E [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 7E 00 00 00 00 00 00 FF 0F 93 [07:39:02]RasterBufferAndPrint [07:39:02]line Счет N : (3)129259 [07:39:02]line ИНН: 02508201610067 [07:39:02]line Контрольно-Кассовый Чек [07:39:02]line ПРОДАЖА [07:39:02]line Товар: 4620006995702 [07:39:02]line Водка Зеленая Марка 0,1л [07:39:02]line 1.000 * 130.00 [07:39:02]line = 130.00 [07:39:02]line НДС 12% НСП 1% [07:39:02]line > о реализуемом товаре [07:39:02]line ИТОГО: 130.00 [07:39:02]line НСП 1% : 1.15 [07:39:02]line НДС 12% : 13.80 [07:39:02]line Наличными: 130.00 [07:39:02]line Безнал.: 0.00 [07:39:02]line Место: АЗС № 132 "Партнер Нефть" [07:39:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:39:02]line СНО: Общий режим [07:39:02]line Чек 26 12.07.2024 07:39 [07:39:02]line Смена: 494 ФФД: 1.0 [07:39:02]line ЗНМ: 0300000132 [07:39:02]line РНМ: 0000000000091208 [07:39:02]line Версия ККМ: 001 [07:39:02]line ФМ: 0000000000874857 [07:39:02]line ФД: 56758 [07:39:02]line ФПД: 139239969071155 [07:39:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T073901&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56758&fm=139239969071155&tin=02508201610067®Number=0000000000091208&sum=13000 [07:39:02]line 0 [07:39:02]written 0, free lines is 4095 [07:39:02]Write to MH i2c: 01 00 00 A6 00 A6 [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: 01 07 00 A6 00 00 00 00 00 00 08 0D C2 [07:39:02]RasterBufferAndPrint [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]line [07:39:02]written 0, free lines is 3339 [07:39:02]MH_Cut [07:39:02]Write to MH i2c: D1 01 00 AD 00 01 7F [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 01 00 [07:39:02]MH_I2C_Read... [07:39:02]Read from MH i2c: D1 01 00 AD 00 00 7E [07:39:02]Write to MH i2c: 01 00 00 AE 00 AE [07:39:02]Write i2c OK [07:39:02]MH_I2C_Read... [07:39:03]*** Cut start [07:39:03]*** Partial cut [07:39:03]*** CUTSNS_PIN = 1 [07:39:03]*** CUTSNS_PIN = 0 [07:39:03]*** Brake cut motor [07:39:04]Read from MH i2c: 01 [07:39:04]MH_I2C_Read... [07:39:04]*** Stop cut motor [07:39:04]*** Cut end [07:39:04]Read from MH i2c: 01 07 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 FF 0F C3 [07:39:04]process_action close_receipt done [07:39:04]requested_data is exist [07:39:04]produce_requested_data [07:39:04]requested_item fm.sn is exist - process it [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 11 00 00 [07:39:04]Write to MH i2c: E2 08 00 AF 00 80 11 00 00 00 00 00 00 29 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 17 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 17 00 AF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 83 [07:39:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:39:04]wFMCommunicate OK [07:39:04]requested_item fd.num is exist - process it [07:39:04]SAM_PROTO_GetFieldsCounters [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 00 00 [07:39:04]Write to MH i2c: E2 08 00 B0 00 80 13 00 00 00 00 00 00 2C [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 62 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 62 00 B0 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B6 DD 00 00 0E 04 04 00 EE 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 1F [07:39: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B6 DD 00 00 0E 04 04 00 EE 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 [07:39:04]wFMCommunicate OK [07:39:04]SAM_PROTO_GetFieldsCounters done [07:39:04]requested_item shift.num is exist - process it [07:39:04]requested_item shift.opened is exist - process it [07:39:04]req_shift_opened [07:39:04]FM_GetShiftState [07:39:04]SAM_PROTO_GetShiftState [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 01 00 [07:39:04]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 0E 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 2F [07:39:04]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [07:39:04]wFMCommunicate OK [07:39:04]SAM_PROTO_GetShiftState done [07:39:04]FM_GetShiftState done [07:39:04]req_shift_opened done [07:39:04]requested_item shift.open_date is exist - process it [07:39:04]req_shift_open_date [07:39:04]req_shift_open_date done [07:39:04]requested_item shift.sale.total is exist - process it [07:39:04]SAM_PROTO_GetShiftData [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 13 02 00 [07:39:04]Write to MH i2c: E2 08 00 B2 00 80 13 02 00 00 00 00 00 30 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:39:04]Read from MH i2c: E2 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 FD 00 [07:39:04]MH_I2C_Read... [07:39:04]Read from MH i2c: E2 FD 00 B2 00 00 AE 04 AA 04 AA 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 34 94 0A 70 04 03 00 F8 32 07 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 98 1F 01 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 F6 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [07:39:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1A 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 34 94 0A 70 04 03 00 F8 32 07 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 98 1F 01 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 F6 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:39:04]wFMCommunicate OK [07:39:04]wFMCommunicate request_size=4 [07:39:04]MH_SAM_APDU [07:39:04]CAPDU: 80 17 00 00 [07:39:04]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [07:39:04]Write i2c OK [07:39:04]MH_I2C_Read... [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 B3 00 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 55 [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 B4 00 80 17 00 00 00 00 00 00 34 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:05]ConnectInit Can't take IP for lk.salyk.kg [07:39:05]CommunicateWithHost connect error [07:39:05]CommunicateWithHost err = -1 [07:39:05]OFD Sender: Server communicate error [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 B4 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EB [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:05]OFD Sender: Processing packet 56757 [packets to send 39, broken 37] [07:39:05]ProducePacketName [07:39:05]name=ofd_packets/00056757 [07:39:05]OFD Sender: To server: pG, [07:39:05]CommunicateWithHost lk.salyk.kg:30040 [07:39:05]ConnectInit lk.salyk.kg [07:39:05]Connected sock=10 [07:39:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 AA 39 1D 01 48 74 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 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 19 00 00 00 F4 03 04 00 7F DD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DD 00 00 35 04 06 00 09 6F C4 B2 9B 71 5B 27 16 D2 B2 D2 93 8A [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 FD 00 B5 00 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 A7 [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]wFMCommunicate request_size=4 [07:39:05]MH_SAM_APDU [07:39:05]CAPDU: 80 17 00 00 [07:39:05]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [07:39:05]Write i2c OK [07:39:05]MH_I2C_Read... [07:39:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 17 1A 47 00 A2 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DD 00 00 F4 03 04 00 F0 83 90 66 B6 04 01 00 00 0B 08 7B 27 B9 61 C4 AD [07:39:05]CommunicateWithHost err = 0 [07:39:05]CheckOFDResponse [07:39:05]1017 (14) - 77093643461234 [07:39:05]1041 (16) - 0000000000874857 [07:39:05]1040 (4) - 56757 [07:39:05]1012 (4) - 12.07.2024 01:16 [07:39:05]1206 (1) - 0 [07:39:05]OFD Sender: Remove packet 56757 [07:39:05]ProducePacketName [07:39:05]name=ofd_packets/00056757 [07:39:05]NVStorageDeleteData [07:39:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [07:39:05]Read from MH i2c: E2 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 CB 00 [07:39:05]MH_I2C_Read... [07:39:05]Read from MH i2c: E2 CB 00 B6 00 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 1F [07:39:05]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 [07:39:05]wFMCommunicate OK [07:39:05]SAM_PROTO_GetShiftData done [07:39:05]requested_item shift.sale.total_cash is exist - process it [07:39:05]requested_item shift.sale_refund.total is exist - process it [07:39:05]requested_item shift.sale_refund.total_cash is exist - process it [07:39:05]produce_requested_data done [07:39:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56758,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6933.00,"shift.sale.total_cash":4718.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [07:39:05]process_action_free close_receipt [07:39:05]json_value_free [07:39:05]json_value_free done [07:39:05]process_json_proto returns [07:39:05]Send response to host [07:39:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56758,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":6933.00,"shift.sale.total_cash":4718.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [07:39:05]free response buf [07:39:05]execute_script done [07:39:05]execute_script returns [07:39:05]free content buf [07:39:05]Sock 7.Close socket [07:39:05]Sock 7.Thread stoped [07:39:06]OFD Sender: Processing packet 56758 [packets to send 38, broken 37] [07:39:06]ProducePacketName [07:39:06]name=ofd_packets/00056758 [07:39:06]OFD Sender: To server: pG, [07:39:06]CommunicateWithHost lk.salyk.kg:30040 [07:39:06]ConnectInit lk.salyk.kg [07:39:06]Connected sock=7 [07:39:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 03 23 28 01 3B D0 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1A 00 00 00 F4 03 04 00 95 DD 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DD 00 00 35 04 06 00 7E A3 54 E5 20 33 E0 1D 0C BA DC 9B 34 9A [07:39:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E3 17 47 00 63 61 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 38 35 37 10 04 04 00 B6 DD 00 00 F4 03 04 00 F1 83 90 66 B6 04 01 00 00 5F A2 BF DC 03 F2 FC 07 [07:39:06]CommunicateWithHost err = 0 [07:39:06]CheckOFDResponse [07:39:06]1017 (14) - 77093643461234 [07:39:06]1041 (16) - 0000000000874857 [07:39:06]1040 (4) - 56758 [07:39:06]1012 (4) - 12.07.2024 01:16 [07:39:06]1206 (1) - 0 [07:39:06]OFD Sender: Remove packet 56758 [07:39:06]ProducePacketName [07:39:06]name=ofd_packets/00056758 [07:39:06]NVStorageDeleteData [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [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:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:18]OFD Sender: No OFD packet to send [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:53]OFD Sender: No OFD packet to send [08:06:58]OFD Sender: No OFD packet to send [08:07:03]OFD Sender: No OFD packet to send [08:07:08]OFD Sender: No OFD packet to send [08:07:13]OFD Sender: No OFD packet to send [08:07:18]OFD Sender: No OFD packet to send [08:07:23]OFD Sender: No OFD packet to send [08:07:28]OFD Sender: No OFD packet to send [08:07:33]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:45]accept exits with 9 [08:12:45]New connection [08:12:45]New thread 3066781028 created [08:12:45]Thread 3066637668 joined [08:12:45]Waiting for new connection... [08:12:45] Sock 9.Parse request [08:12:45]Sock 9.Check first char [08:12:45]Sock 9.First char is OK [08:12:45]request: POST /json_proto HTTP/1.0 [08:12:45]Method: POST [08:12:45]URL: /json_proto [08:12:45]Method is POST - this is cgi request [08:12:45]url: /json_proto [08:12:45]query_string will be loaded in cgi processing [08:12:45]execute_cgi json_proto POST (null) [08:12:45]execute_cgi path=json_proto method=POST [08:12:45]POST find Content-Length [08:12:45]Host: 172.17.39.4:8080 [08:12:45]Content-Length: 765 [08:12:45]Content-Type: application/json [08:12:45] [08:12:45]POST finish read [08:12:45]Found Content-Length = 765 [08:12:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854032", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.000, "sum" : 663.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "payments": [ { "type": 0, "sum" : 663.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:12:45]execute_script... [08:12: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 : (1)854032", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.000, "sum" : 663.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "payments": [ { "type": 0, "sum" : 663.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:12:45]POST & json_proto [08:12:45]process_json_proto [08:12:45]json parsed OK: [08:12:45]protocol is kg_v1.0 [08:12:45]action value=close_receipt [08:12:45]process_action close_receipt [08:12:45]cmd_close_receipt [08:12:45]MH_GetDate [08:12:45]Write to MH i2c: F0 00 00 B7 00 A6 [08:12:45]Write i2c OK [08:12:45]MH_I2C_Read... [08:12:45]Read from MH i2c: F0 [08:12:45]MH_I2C_Read... [08:12:45]Read from MH i2c: F0 09 00 [08:12:45]MH_I2C_Read... [08:12:45]Read from MH i2c: F0 09 00 B7 00 00 7E E5 90 66 2D 25 5D 64 1B [08:12:45]GetLastDocTimeStamp 1720769941 [08:12:45]current date 1720771966 [08:12:45]FM_GetShiftState [08:12:45]SAM_PROTO_GetShiftState [08:12:45]wFMCommunicate request_size=4 [08:12:45]MH_SAM_APDU [08:12:45]CAPDU: 80 13 01 00 [08:12:45]Write to MH i2c: E2 08 00 B8 00 80 13 01 00 00 00 00 00 35 [08:12:45]Write i2c OK [08:12:45]MH_I2C_Read... [08:12:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:45]Read from MH i2c: E2 [08:12:45]MH_I2C_Read... [08:12:45]Read from MH i2c: E2 0E 00 [08:12:45]MH_I2C_Read... [08:12:45]Read from MH i2c: E2 0E 00 B8 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 36 [08:12:45]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:12:45]wFMCommunicate OK [08:12:45]SAM_PROTO_GetShiftState done [08:12:45]FM_GetShiftState done [08:12:45]opened in 1720744326 [08:12:45]opened+sec_in_day 1720830726 [08:12:45]quantity*price = 66300 [08:12:45]sum+1 = 66301 [08:12:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 663.00 Внесено: 1000.00 СДАЧА: 337.00 НСП 1% : 5.87 НДС 12% : 70.41 Наличными: 663.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 27 12.07.2024 08:12 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56759 ФПД: 210893654478576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081246&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56759&fm=210893654478576&tin=02508201610067®Number=0000000000091208&sum=66300 [08:12:46]StoreToDocumentArchive [08:12:46]shift 494 fd 56759 [08:12:46]save to /storage/0494/doc_00056759 [08:12:46]save last doc name /storage/0494/doc_00056759 to /storage/kkm_last_doc_name [08:12:46]save OK [08:12:46]Clear old archive folders... [08:12:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:12:46]tlvbuf is 01AAEF80 [08:12:46]SAM_PROTO_ClearQueue [08:12:46]wFMCommunicate request_size=4 [08:12:46]MH_SAM_APDU [08:12:46]CAPDU: 80 09 00 00 [08:12:46]Write to MH i2c: E2 08 00 C5 00 80 09 00 00 00 00 00 00 37 [08:12:46]Write i2c OK [08:12:46]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [08:12:47]RAPDU: 90 00 [08:12:47]wFMCommunicate OK [08:12:47]SAM_PROTO_ClearQueue done [08:12:47]KKMCreateOFDPacket [08:12:47]OFDProtocolAddRootSTLVToBuf [08:12:47]FM_MakeSignedData [08:12:47]FM_MakeSignedData [08:12:47]SAM_PROTO_SignData [08:12:47]wFMCommunicate request_size=4 [08:12:47]MH_SAM_APDU [08:12:47]CAPDU: 80 0D 01 02 [08:12:47]Write to MH i2c: E2 08 00 C6 00 80 0D 01 02 00 00 00 00 3F [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [08:12:47]RAPDU: 90 00 [08:12:47]wFMCommunicate OK [08:12:47]wFMCommunicate request_size=255 [08:12:47]MH_SAM_APDU [08:12:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 FC 02 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 02 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 1B 00 00 00 00 07 04 06 00 FC 02 01 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 7E E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DD 00 00 35 04 06 00 BF [08:12:47]Write to MH i2c: E2 02 01 C7 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 FC 02 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 02 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 1B 00 00 00 00 07 04 06 00 FC 02 01 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 7E E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DD 00 00 35 04 06 00 BF 00 00 1D [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [08:12:47]RAPDU: 90 00 [08:12:47]wFMCommunicate OK [08:12:47]wFMCommunicate request_size=10 [08:12:47]MH_SAM_APDU [08:12:47]CAPDU: 80 0D 02 02 05 CE 81 5C 4E F0 [08:12:47]Write to MH i2c: E2 0D 00 C8 00 80 0D 02 02 05 00 CE 81 5C 4E F0 00 00 35 [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [08:12:47]RAPDU: 90 00 [08:12:47]wFMCommunicate OK [08:12:47]wFMCommunicate request_size=4 [08:12:47]MH_SAM_APDU [08:12:47]CAPDU: 80 0D 03 02 [08:12:47]Write to MH i2c: E2 08 00 C9 00 80 0D 03 02 00 00 00 00 44 [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 0B 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 0B 00 C9 00 00 2E 4F 5D F2 FB AB B8 59 90 00 C8 [08:12:47]RAPDU: 2E 4F 5D F2 FB AB B8 59 90 00 [08:12:47]wFMCommunicate OK [08:12:47]SAM_PROTO_SignData done [08:12:47]FM_MakeSignedData done [08:12:47]CreateOFDProtocolMessage [08:12:47]wFMCommunicate request_size=4 [08:12:47]MH_SAM_APDU [08:12:47]CAPDU: 80 11 00 00 [08:12:47]Write to MH i2c: E2 08 00 CA 00 80 11 00 00 00 00 00 00 44 [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:47]Read from MH i2c: E2 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 17 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: E2 17 00 CA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9E [08:12:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:12:47]wFMCommunicate OK [08:12:47]CreateOFDProtocolMessage done [08:12:47]OFDSenderStorePacket 56759 [08:12:47]StoreOFDPacket docnum=56759 [08:12:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 F8 69 07 01 5A 8C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 FC 02 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 02 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 1B 00 00 00 00 07 04 06 00 FC 02 01 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 7E E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DD 00 00 35 04 06 00 BF CE 81 5C 4E F0 2E 4F 5D F2 FB AB B8 59 [08:12:47]CheckFolder [08:12:47]dirname=/storage/ofd_packets [08:12:47]CheckFolder done [08:12:47]ProducePacketName [08:12:47]name=ofd_packets/00056759 [08:12:47]NVStorageSaveData ofd_packets/00056759 [08:12:47]File name is /storage/ofd_packets/00056759 [08:12:47]Write 301 bytes [08:12:47]NVStorageSaveData done [08:12:47]OFDSenderStorePacket done [08:12:47]KKMCreateOFDPacket done [08:12:47]NVStorageSaveData kkm_last_timestamp [08:12:47]File name is /storage/kkm_last_timestamp [08:12:47]Write 4 bytes [08:12:47]NVStorageSaveData done [08:12:47]ExternCall_PrintAddStr [08:12:47]wPrintStart [08:12:47]Write to MH i2c: 01 00 00 CB 00 CB [08:12:47]Write i2c OK [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: 01 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: 01 07 00 [08:12:47]MH_I2C_Read... [08:12:47]Read from MH i2c: 01 07 00 CB 00 00 00 00 00 00 FF 0F E0 [08:12:47]RasterBufferAndPrint [08:12:47]line Счет N : (1)854032 [08:12:47]line ИНН: 02508201610067 [08:12:47]line Контрольно-Кассовый Чек [08:12:47]line ПРОДАЖА [08:12:47]line ТРК (МРК, ГНК) : 33 [08:12:47]line Товар: 2710124130 [08:12:47]line Аи-92-К-5 [08:12:47]line 10.000 * 66.30 [08:12:47]line = 663.00 [08:12:47]line НДС 12% НСП 1% [08:12:47]line > о реализуемом товаре [08:12:47]line ИТОГО: 663.00 [08:12:47]line Внесено: 1000.00 [08:12:47]line СДАЧА: 337.00 [08:12:47]line НСП 1% : 5.87 [08:12:47]line НДС 12% : 70.41 [08:12:47]line Наличными: 663.00 [08:12:47]line Безнал.: 0.00 [08:12:47]line Место: АЗС № 132 "Партнер Нефть" [08:12:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:12:47]line СНО: Общий режим [08:12:47]line Чек 27 12.07.2024 08:12 [08:12:47]line Смена: 494 ФФД: 1.0 [08:12:47]line ЗНМ: 0300000132 [08:12:47]line РНМ: 0000000000091208 [08:12:47]line Версия ККМ: 001 [08:12:47]line ФМ: 0000000000874857 [08:12:47]line ФД: 56759 [08:12:47]line ФПД: 210893654478576 [08:12:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081246&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56759&fm=210893654478576&tin=02508201610067®Number=0000000000091208&sum=66300 [08:12:47]OFD Sender: Processing packet 56759 [packets to send 38, broken 37] [08:12:47]ProducePacketName [08:12:47]name=ofd_packets/00056759 [08:12:47]OFD Sender: To server: pG, [08:12:47]CommunicateWithHost lk.salyk.kg:30040 [08:12:47]ConnectInit lk.salyk.kg [08:12:47]written 0, free lines is 4095 [08:12:48]Connected sock=10 [08:12: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 38 35 37 0F 01 00 00 F8 69 07 01 5A 8C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 FC 02 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 02 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 1B 00 00 00 00 07 04 06 00 FC 02 01 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 7E E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DD 00 00 35 04 06 00 BF CE 81 5C 4E F0 2E 4F 5D F2 FB AB B8 59 [08:12:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 8E 1A 47 00 22 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DD 00 00 F4 03 04 00 D6 8B 90 66 B6 04 01 00 00 84 36 2F 1C E2 BC 7A 41 [08:12:48]CommunicateWithHost err = 0 [08:12:48]CheckOFDResponse [08:12:48]1017 (14) - 77093643461234 [08:12:48]1041 (16) - 0000000000874857 [08:12:48]1040 (4) - 56759 [08:12:48]1012 (4) - 12.07.2024 01:50 [08:12:48]1206 (1) - 0 [08:12:48]OFD Sender: Remove packet 56759 [08:12:48]ProducePacketName [08:12:48]name=ofd_packets/00056759 [08:12:48]NVStorageDeleteData [08:12:48]Write to MH i2c: 01 00 00 F5 00 F5 [08:12:48]Write i2c OK [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: 01 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: 01 07 00 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: 01 07 00 F5 00 00 00 00 00 00 F8 0C 00 [08:12:48]RasterBufferAndPrint [08:12:48]line [08:12:48]line [08:12:48]line [08:12:48]line [08:12:48]line [08:12:48]written 0, free lines is 3327 [08:12:48]MH_Cut [08:12:48]Write to MH i2c: D1 01 00 FC 00 01 CE [08:12:48]Write i2c OK [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: D1 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: D1 01 00 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: D1 01 00 FC 00 00 CD [08:12:48]Write to MH i2c: 01 00 00 FD 00 FD [08:12:48]Write i2c OK [08:12:48]MH_I2C_Read... [08:12:48]OFD Sender: No OFD packet to send [08:12:49]*** Cut start [08:12:49]*** Partial cut [08:12:49]*** CUTSNS_PIN = 1 [08:12:49]*** CUTSNS_PIN = 0 [08:12:49]*** Brake cut motor [08:12:49]Read from MH i2c: 01 [08:12:49]MH_I2C_Read... [08:12:49]*** Stop cut motor [08:12:49]*** Cut end [08:12:49]Read from MH i2c: 01 07 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: 01 07 00 FD 00 00 00 00 00 00 FF 0F 12 [08:12:49]process_action close_receipt done [08:12:49]requested_data is exist [08:12:49]produce_requested_data [08:12:49]requested_item fm.sn is exist - process it [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 11 00 00 [08:12:49]Write to MH i2c: E2 08 00 FE 00 80 11 00 00 00 00 00 00 78 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 17 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 17 00 FE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D2 [08:12:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:12:49]wFMCommunicate OK [08:12:49]requested_item fd.num is exist - process it [08:12:49]SAM_PROTO_GetFieldsCounters [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 13 00 00 [08:12:49]Write to MH i2c: E2 08 00 FF 00 80 13 00 00 00 00 00 00 7B [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 62 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 62 00 FF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B7 DD 00 00 0E 04 04 00 EE 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 72 [08:12: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B7 DD 00 00 0E 04 04 00 EE 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 [08:12:49]wFMCommunicate OK [08:12:49]SAM_PROTO_GetFieldsCounters done [08:12:49]requested_item shift.num is exist - process it [08:12:49]requested_item shift.opened is exist - process it [08:12:49]req_shift_opened [08:12:49]FM_GetShiftState [08:12:49]SAM_PROTO_GetShiftState [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 13 01 00 [08:12:49]Write to MH i2c: E2 08 00 00 01 80 13 01 00 00 00 00 00 7E [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 0E 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 0E 00 00 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 7F [08:12:49]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:12:49]wFMCommunicate OK [08:12:49]SAM_PROTO_GetShiftState done [08:12:49]FM_GetShiftState done [08:12:49]req_shift_opened done [08:12:49]requested_item shift.open_date is exist - process it [08:12:49]req_shift_open_date [08:12:49]req_shift_open_date done [08:12:49]requested_item shift.sale.total is exist - process it [08:12:49]SAM_PROTO_GetShiftData [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 13 02 00 [08:12:49]Write to MH i2c: E2 08 00 01 01 80 13 02 00 00 00 00 00 80 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:12:50]Read from MH i2c: E2 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 01 01 00 AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 30 97 0B 70 04 03 00 F4 35 08 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 3B 01 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 41 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:12:50]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 30 97 0B 70 04 03 00 F4 35 08 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 3B 01 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 41 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:12:50]wFMCommunicate OK [08:12:50]wFMCommunicate request_size=4 [08:12:50]MH_SAM_APDU [08:12:50]CAPDU: 80 17 00 00 [08:12:50]Write to MH i2c: E2 08 00 02 01 80 17 00 00 00 00 00 00 83 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:50]Read from MH i2c: E2 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 02 01 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 A5 [08:12:50]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 [08:12:50]wFMCommunicate OK [08:12:50]wFMCommunicate request_size=4 [08:12:50]MH_SAM_APDU [08:12:50]CAPDU: 80 17 00 00 [08:12:50]Write to MH i2c: E2 08 00 03 01 80 17 00 00 00 00 00 00 84 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:50]Read from MH i2c: E2 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: E2 FD 00 03 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3B [08:12:50]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 [08:12:50]wFMCommunicate OK [08:12:50]wFMCommunicate request_size=4 [08:12:50]MH_SAM_APDU [08:12:50]CAPDU: 80 17 00 00 [08:12:50]Write to MH i2c: E2 08 00 04 01 80 17 00 00 00 00 00 00 85 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:12:51]Read from MH i2c: E2 [08:12:51]MH_I2C_Read... [08:12:51]Read from MH i2c: E2 FD 00 [08:12:51]MH_I2C_Read... [08:12:51]Read from MH i2c: E2 FD 00 04 01 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 F7 [08:12:51]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 [08:12:51]wFMCommunicate OK [08:12:51]wFMCommunicate request_size=4 [08:12:51]MH_SAM_APDU [08:12:51]CAPDU: 80 17 00 00 [08:12:51]Write to MH i2c: E2 08 00 05 01 80 17 00 00 00 00 00 00 86 [08:12:51]Write i2c OK [08:12:51]MH_I2C_Read... [08:12:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [08:12:51]Read from MH i2c: E2 [08:12:51]MH_I2C_Read... [08:12:51]Read from MH i2c: E2 CB 00 [08:12:51]MH_I2C_Read... [08:12:51]Read from MH i2c: E2 CB 00 05 01 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 6F [08:12:51]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 [08:12:51]wFMCommunicate OK [08:12:51]SAM_PROTO_GetShiftData done [08:12:51]requested_item shift.sale.total_cash is exist - process it [08:12:51]requested_item shift.sale_refund.total is exist - process it [08:12:51]requested_item shift.sale_refund.total_cash is exist - process it [08:12:51]produce_requested_data done [08:12:51]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56759,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":7596.00,"shift.sale.total_cash":5381.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:12:51]process_action_free close_receipt [08:12:51]json_value_free [08:12:51]json_value_free done [08:12:51]process_json_proto returns [08:12:51]Send response to host [08:12:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56759,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":7596.00,"shift.sale.total_cash":5381.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:12:51]free response buf [08:12:51]execute_script done [08:12:51]execute_script returns [08:12:51]free content buf [08:12:51]Sock 9.Close socket [08:12:51]Sock 9.Thread stoped [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:31]accept exits with 7 [08:13:31]New connection [08:13:31]New thread 3066637668 created [08:13:31]Thread 3066781028 joined [08:13:31]Waiting for new connection... [08:13:31] Sock 7.Parse request [08:13:31]Sock 7.Check first char [08:13:31]Sock 7.First char is OK [08:13:31]request: POST /json_proto HTTP/1.0 [08:13:31]Method: POST [08:13:31]URL: /json_proto [08:13:31]Method is POST - this is cgi request [08:13:31]url: /json_proto [08:13:31]query_string will be loaded in cgi processing [08:13:31]execute_cgi json_proto POST (null) [08:13:31]execute_cgi path=json_proto method=POST [08:13:31]POST find Content-Length [08:13:31]Host: 172.17.39.4:8080 [08:13:31]Content-Length: 750 [08:13:31]Content-Type: application/json [08:13:31] [08:13:31]POST finish read [08:13:31]Found Content-Length = 750 [08:13:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129260", "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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:13:31]execute_script... [08:13: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)129260", "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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:13:31]POST & json_proto [08:13:31]process_json_proto [08:13:31]json parsed OK: [08:13:31]protocol is kg_v1.0 [08:13:31]action value=close_receipt [08:13:31]process_action close_receipt [08:13:31]cmd_close_receipt [08:13:31]MH_GetDate [08:13:31]Write to MH i2c: F0 00 00 06 01 F6 [08:13:31]Write i2c OK [08:13:31]MH_I2C_Read... [08:13:31]Read from MH i2c: F0 [08:13:31]MH_I2C_Read... [08:13:31]Read from MH i2c: F0 09 00 [08:13:31]MH_I2C_Read... [08:13:31]Read from MH i2c: F0 09 00 06 01 00 AC E5 90 66 2D 25 5D 64 99 [08:13:31]GetLastDocTimeStamp 1720771966 [08:13:31]current date 1720772012 [08:13:31]FM_GetShiftState [08:13:31]SAM_PROTO_GetShiftState [08:13:31]wFMCommunicate request_size=4 [08:13:31]MH_SAM_APDU [08:13:31]CAPDU: 80 13 01 00 [08:13:31]Write to MH i2c: E2 08 00 07 01 80 13 01 00 00 00 00 00 85 [08:13:31]Write i2c OK [08:13:31]MH_I2C_Read... [08:13:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:13:31]Read from MH i2c: E2 [08:13:31]MH_I2C_Read... [08:13:31]Read from MH i2c: E2 0E 00 [08:13:31]MH_I2C_Read... [08:13:31]Read from MH i2c: E2 0E 00 07 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 86 [08:13:31]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:13:31]wFMCommunicate OK [08:13:31]SAM_PROTO_GetShiftState done [08:13:31]FM_GetShiftState done [08:13:31]opened in 1720744326 [08:13:31]opened+sec_in_day 1720830726 [08:13:31]quantity*price = 26000 [08:13:31]sum+1 = 26001 [08:13:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 28 12.07.2024 08:13 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56760 ФПД: 25038978881534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081332&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56760&fm=25038978881534&tin=02508201610067®Number=0000000000091208&sum=26000 0 [08:13:32]StoreToDocumentArchive [08:13:32]shift 494 fd 56760 [08:13:32]save to /storage/0494/doc_00056760 [08:13:32]save last doc name /storage/0494/doc_00056760 to /storage/kkm_last_doc_name [08:13:32]save OK [08:13:32]Clear old archive folders... [08:13:32]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:13:32]tlvbuf is 01AF4BB0 [08:13:32]SAM_PROTO_ClearQueue [08:13:32]wFMCommunicate request_size=4 [08:13:32]MH_SAM_APDU [08:13:32]CAPDU: 80 09 00 00 [08:13:32]Write to MH i2c: E2 08 00 14 01 80 09 00 00 00 00 00 00 87 [08:13:32]Write i2c OK [08:13:32]MH_I2C_Read... [08:13:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:13:32]Read from MH i2c: E2 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [08:13:32]RAPDU: 90 00 [08:13:32]wFMCommunicate OK [08:13:32]SAM_PROTO_ClearQueue done [08:13:32]KKMCreateOFDPacket [08:13:32]OFDProtocolAddRootSTLVToBuf [08:13:32]FM_MakeSignedData [08:13:32]FM_MakeSignedData [08:13:32]SAM_PROTO_SignData [08:13:32]wFMCommunicate request_size=4 [08:13:32]MH_SAM_APDU [08:13:32]CAPDU: 80 0D 01 02 [08:13:32]Write to MH i2c: E2 08 00 15 01 80 0D 01 02 00 00 00 00 8F [08:13:32]Write i2c OK [08:13:32]MH_I2C_Read... [08:13:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:13:32]Read from MH i2c: E2 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [08:13:32]RAPDU: 90 00 [08:13:32]wFMCommunicate OK [08:13:32]wFMCommunicate request_size=255 [08:13:32]MH_SAM_APDU [08:13:32]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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 AC E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [08:13:32]Write to MH i2c: E2 02 01 16 01 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 AC E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 E5 [08:13:32]Write i2c OK [08:13:32]MH_I2C_Read... [08:13:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:13:32]Read from MH i2c: E2 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 [08:13:32]MH_I2C_Read... [08:13:32]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [08:13:32]RAPDU: 90 00 [08:13:32]wFMCommunicate OK [08:13:32]wFMCommunicate request_size=41 [08:13:32]MH_SAM_APDU [08:13:32]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DD 00 00 35 04 06 00 16 C5 D7 71 17 FE [08:13:32]Write to MH i2c: E2 2C 00 17 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DD 00 00 35 04 06 00 16 C5 D7 71 17 FE 00 00 35 [08:13:32]Write i2c OK [08:13:32]MH_I2C_Read... [08:13:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:13:33]Read from MH i2c: E2 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 03 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [08:13:33]RAPDU: 90 00 [08:13:33]wFMCommunicate OK [08:13:33]wFMCommunicate request_size=4 [08:13:33]MH_SAM_APDU [08:13:33]CAPDU: 80 0D 03 02 [08:13:33]Write to MH i2c: E2 08 00 18 01 80 0D 03 02 00 00 00 00 94 [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:13:33]Read from MH i2c: E2 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 0B 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 0B 00 18 01 00 41 9B 11 FD F6 B9 27 67 90 00 BC [08:13:33]RAPDU: 41 9B 11 FD F6 B9 27 67 90 00 [08:13:33]wFMCommunicate OK [08:13:33]SAM_PROTO_SignData done [08:13:33]FM_MakeSignedData done [08:13:33]CreateOFDProtocolMessage [08:13:33]wFMCommunicate request_size=4 [08:13:33]MH_SAM_APDU [08:13:33]CAPDU: 80 11 00 00 [08:13:33]Write to MH i2c: E2 08 00 19 01 80 11 00 00 00 00 00 00 94 [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:13:33]Read from MH i2c: E2 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 17 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 17 00 19 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EE [08:13:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:13:33]wFMCommunicate OK [08:13:33]CreateOFDProtocolMessage done [08:13:33]OFDSenderStorePacket 56760 [08:13:33]StoreOFDPacket docnum=56760 [08:13:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 61 D8 26 01 27 DE 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 AC E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DD 00 00 35 04 06 00 16 C5 D7 71 17 FE 41 9B 11 FD F6 B9 27 67 [08:13:33]CheckFolder [08:13:33]dirname=/storage/ofd_packets [08:13:33]CheckFolder done [08:13:33]ProducePacketName [08:13:33]name=ofd_packets/00056760 [08:13:33]NVStorageSaveData ofd_packets/00056760 [08:13:33]File name is /storage/ofd_packets/00056760 [08:13:33]Write 332 bytes [08:13:33]NVStorageSaveData done [08:13:33]OFDSenderStorePacket done [08:13:33]KKMCreateOFDPacket done [08:13:33]NVStorageSaveData kkm_last_timestamp [08:13:33]File name is /storage/kkm_last_timestamp [08:13:33]Write 4 bytes [08:13:33]NVStorageSaveData done [08:13:33]ExternCall_PrintAddStr [08:13:33]wPrintStart [08:13:33]Write to MH i2c: 01 00 00 1A 01 1B [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 07 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 07 00 1A 01 00 00 00 00 00 FF 0F 30 [08:13:33]RasterBufferAndPrint [08:13:33]line Счет N : (3)129260 [08:13:33]line ИНН: 02508201610067 [08:13:33]line Контрольно-Кассовый Чек [08:13:33]line ПРОДАЖА [08:13:33]line Товар: 2000036220012 [08:13:33]line Кофе Капучино XL(GABB TRADE) [08:13:33]line 2.000 * 130.00 [08:13:33]line = 260.00 [08:13:33]line НДС 12% НСП 1% [08:13:33]line > о реализуемом товаре [08:13:33]line ИТОГО: 260.00 [08:13:33]line НСП 1% : 2.30 [08:13:33]line НДС 12% : 27.61 [08:13:33]line Наличными: 260.00 [08:13:33]line Безнал.: 0.00 [08:13:33]line Место: АЗС № 132 "Партнер Нефть" [08:13:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:13:33]line СНО: Общий режим [08:13:33]line Чек 28 12.07.2024 08:13 [08:13:33]line Смена: 494 ФФД: 1.0 [08:13:33]line ЗНМ: 0300000132 [08:13:33]line РНМ: 0000000000091208 [08:13:33]line Версия ККМ: 001 [08:13:33]line ФМ: 0000000000874857 [08:13:33]line ФД: 56760 [08:13:33]line ФПД: 25038978881534 [08:13:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081332&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56760&fm=25038978881534&tin=02508201610067®Number=0000000000091208&sum=26000 [08:13:33]OFD Sender: Processing packet 56760 [packets to send 38, broken 37] [08:13:33]ProducePacketName [08:13:33]name=ofd_packets/00056760 [08:13:33]OFD Sender: To server: pG, [08:13:33]CommunicateWithHost lk.salyk.kg:30040 [08:13:33]ConnectInit lk.salyk.kg [08:13:33]line 0 [08:13:33]written 0, free lines is 4095 [08:13:33]Connected sock=10 [08:13: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 38 35 37 2E 01 00 00 61 D8 26 01 27 DE 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 AC E5 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DD 00 00 35 04 06 00 16 C5 D7 71 17 FE 41 9B 11 FD F6 B9 27 67 [08:13:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BE FD 47 00 79 9A 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 38 35 37 10 04 04 00 B8 DD 00 00 F4 03 04 00 04 8C 90 66 B6 04 01 00 00 A4 E8 40 E7 EE B0 89 93 [08:13:33]CommunicateWithHost err = 0 [08:13:33]CheckOFDResponse [08:13:33]1017 (14) - 77093643461234 [08:13:33]1041 (16) - 0000000000874857 [08:13:33]1040 (4) - 56760 [08:13:33]1012 (4) - 12.07.2024 01:51 [08:13:33]1206 (1) - 0 [08:13:33]OFD Sender: Remove packet 56760 [08:13:33]ProducePacketName [08:13:33]name=ofd_packets/00056760 [08:13:33]NVStorageDeleteData [08:13:33]Write to MH i2c: 01 00 00 43 01 44 [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 07 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: 01 07 00 43 01 00 00 00 00 00 F3 0C 4A [08:13:33]RasterBufferAndPrint [08:13:33]line [08:13:33]line [08:13:33]line [08:13:33]line [08:13:33]line [08:13:33]written 0, free lines is 3322 [08:13:33]MH_Cut [08:13:33]Write to MH i2c: D1 01 00 4A 01 01 1D [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: D1 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: D1 01 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: D1 01 00 4A 01 00 1C [08:13:33]Write to MH i2c: 01 00 00 4B 01 4C [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:34]OFD Sender: No OFD packet to send [08:13:34]*** Cut start [08:13:34]*** Partial cut [08:13:34]*** CUTSNS_PIN = 1 [08:13:34]*** CUTSNS_PIN = 0 [08:13:34]*** Brake cut motor [08:13:35]Read from MH i2c: 01 [08:13:35]MH_I2C_Read... [08:13:35]*** Stop cut motor [08:13:35]*** Cut end [08:13:35]Read from MH i2c: 01 07 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: 01 07 00 4B 01 00 00 00 00 00 FF 0F 61 [08:13:35]process_action close_receipt done [08:13:35]requested_data is exist [08:13:35]produce_requested_data [08:13:35]requested_item fm.sn is exist - process it [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 11 00 00 [08:13:35]Write to MH i2c: E2 08 00 4C 01 80 11 00 00 00 00 00 00 C7 [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 17 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 17 00 4C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 21 [08:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:13:35]wFMCommunicate OK [08:13:35]requested_item fd.num is exist - process it [08:13:35]SAM_PROTO_GetFieldsCounters [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 13 00 00 [08:13:35]Write to MH i2c: E2 08 00 4D 01 80 13 00 00 00 00 00 00 CA [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 62 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 62 00 4D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B8 DD 00 00 0E 04 04 00 EE 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 C5 [08:13: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B8 DD 00 00 0E 04 04 00 EE 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 [08:13:35]wFMCommunicate OK [08:13:35]SAM_PROTO_GetFieldsCounters done [08:13:35]requested_item shift.num is exist - process it [08:13:35]requested_item shift.opened is exist - process it [08:13:35]req_shift_opened [08:13:35]FM_GetShiftState [08:13:35]SAM_PROTO_GetShiftState [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 13 01 00 [08:13:35]Write to MH i2c: E2 08 00 4E 01 80 13 01 00 00 00 00 00 CC [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 0E 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 0E 00 4E 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CD [08:13:35]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:13:35]wFMCommunicate OK [08:13:35]SAM_PROTO_GetShiftState done [08:13:35]FM_GetShiftState done [08:13:35]req_shift_opened done [08:13:35]requested_item shift.open_date is exist - process it [08:13:35]req_shift_open_date [08:13:35]req_shift_open_date done [08:13:35]requested_item shift.sale.total is exist - process it [08:13:35]SAM_PROTO_GetShiftData [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 13 02 00 [08:13:35]Write to MH i2c: E2 08 00 4F 01 80 13 02 00 00 00 00 00 CE [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 FD 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 FD 00 4F 01 00 AE 04 AA 04 AA 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 C0 FC 0B 70 04 03 00 84 9B 08 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E2 45 01 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 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BF [08:13:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 C0 FC 0B 70 04 03 00 84 9B 08 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E2 45 01 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 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:13:35]wFMCommunicate OK [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 17 00 00 [08:13:35]Write to MH i2c: E2 08 00 50 01 80 17 00 00 00 00 00 00 D1 [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 50 01 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 F3 [08:13: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 [08:13:36]wFMCommunicate OK [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 17 00 00 [08:13:36]Write to MH i2c: E2 08 00 51 01 80 17 00 00 00 00 00 00 D2 [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 51 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 89 [08:13: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 [08:13:36]wFMCommunicate OK [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 17 00 00 [08:13:36]Write to MH i2c: E2 08 00 52 01 80 17 00 00 00 00 00 00 D3 [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 FD 00 52 01 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 45 [08:13:36]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 [08:13:36]wFMCommunicate OK [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 17 00 00 [08:13:36]Write to MH i2c: E2 08 00 53 01 80 17 00 00 00 00 00 00 D4 [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [08:13:37]Read from MH i2c: E2 [08:13:37]MH_I2C_Read... [08:13:37]Read from MH i2c: E2 CB 00 [08:13:37]MH_I2C_Read... [08:13:37]Read from MH i2c: E2 CB 00 53 01 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 BD [08:13: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 [08:13:37]wFMCommunicate OK [08:13:37]SAM_PROTO_GetShiftData done [08:13:37]requested_item shift.sale.total_cash is exist - process it [08:13:37]requested_item shift.sale_refund.total is exist - process it [08:13:37]requested_item shift.sale_refund.total_cash is exist - process it [08:13:37]produce_requested_data done [08:13:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56760,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":7856.00,"shift.sale.total_cash":5641.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:13:37]process_action_free close_receipt [08:13:37]json_value_free [08:13:37]json_value_free done [08:13:37]process_json_proto returns [08:13:37]Send response to host [08:13:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56760,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":7856.00,"shift.sale.total_cash":5641.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:13:37]free response buf [08:13:37]execute_script done [08:13:37]execute_script returns [08:13:37]free content buf [08:13:37]Sock 7.Close socket [08:13:37]Sock 7.Thread stoped [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:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:15]accept exits with 9 [08:18:15]New connection [08:18:15]New thread 3066781028 created [08:18:15]Thread 3066637668 joined [08:18:15]Waiting for new connection... [08:18:15] Sock 9.Parse request [08:18:15]Sock 9.Check first char [08:18:15]Sock 9.First char is OK [08:18:15]request: POST /json_proto HTTP/1.0 [08:18:15]Method: POST [08:18:15]URL: /json_proto [08:18:15]Method is POST - this is cgi request [08:18:15]url: /json_proto [08:18:15]query_string will be loaded in cgi processing [08:18:15]execute_cgi json_proto POST (null) [08:18:15]execute_cgi path=json_proto method=POST [08:18:15]POST find Content-Length [08:18:15]Host: 172.17.39.4:8080 [08:18:15]Content-Length: 708 [08:18:15]Content-Type: application/json [08:18:15] [08:18:15]POST finish read [08:18:15]Found Content-Length = 708 [08:18:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129261", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:18:15]execute_script... [08:18:15]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)129261", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:18:15]POST & json_proto [08:18:15]process_json_proto [08:18:15]json parsed OK: [08:18:15]protocol is kg_v1.0 [08:18:15]action value=close_receipt [08:18:15]process_action close_receipt [08:18:15]cmd_close_receipt [08:18:15]MH_GetDate [08:18:15]Write to MH i2c: F0 00 00 54 01 44 [08:18:15]Write i2c OK [08:18:15]MH_I2C_Read... [08:18:15]Read from MH i2c: F0 [08:18:15]MH_I2C_Read... [08:18:15]Read from MH i2c: F0 09 00 [08:18:15]MH_I2C_Read... [08:18:15]Read from MH i2c: F0 09 00 54 01 00 C8 E6 90 66 2D 25 5D 64 04 [08:18:15]GetLastDocTimeStamp 1720772012 [08:18:15]current date 1720772296 [08:18:15]FM_GetShiftState [08:18:15]SAM_PROTO_GetShiftState [08:18:15]wFMCommunicate request_size=4 [08:18:15]MH_SAM_APDU [08:18:15]CAPDU: 80 13 01 00 [08:18:15]Write to MH i2c: E2 08 00 55 01 80 13 01 00 00 00 00 00 D3 [08:18:15]Write i2c OK [08:18:15]MH_I2C_Read... [08:18:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:15]Read from MH i2c: E2 [08:18:15]MH_I2C_Read... [08:18:15]Read from MH i2c: E2 0E 00 [08:18:15]MH_I2C_Read... [08:18:15]Read from MH i2c: E2 0E 00 55 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D4 [08:18:15]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:18:15]wFMCommunicate OK [08:18:15]SAM_PROTO_GetShiftState done [08:18:15]FM_GetShiftState done [08:18:15]opened in 1720744326 [08:18:15]opened+sec_in_day 1720830726 [08:18:15]quantity*price = 63000 [08:18:15]sum+1 = 63001 [08:18:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 630.00 НСП 1% : 5.57 НДС 12% : 66.90 Наличными: 630.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 29 12.07.2024 08:18 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56761 ФПД: 191642236314123 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081816&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56761&fm=191642236314123&tin=02508201610067®Number=0000000000091208&sum=63000 0 [08:18:16]StoreToDocumentArchive [08:18:16]shift 494 fd 56761 [08:18:16]save to /storage/0494/doc_00056761 [08:18:16]save last doc name /storage/0494/doc_00056761 to /storage/kkm_last_doc_name [08:18:16]save OK [08:18:16]Clear old archive folders... [08:18:16]ProcessDocumentItem done err = 0, tmpTLVsize=264 [08:18:16]tlvbuf is 01AEA860 [08:18:16]SAM_PROTO_ClearQueue [08:18:16]wFMCommunicate request_size=4 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 09 00 00 [08:18:16]Write to MH i2c: E2 08 00 62 01 80 09 00 00 00 00 00 00 D5 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 62 01 00 90 00 D7 [08:18:16]RAPDU: 90 00 [08:18:16]wFMCommunicate OK [08:18:16]SAM_PROTO_ClearQueue done [08:18:16]KKMCreateOFDPacket [08:18:16]OFDProtocolAddRootSTLVToBuf [08:18:16]FM_MakeSignedData [08:18:16]FM_MakeSignedData [08:18:16]SAM_PROTO_SignData [08:18:16]wFMCommunicate request_size=4 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 0D 01 02 [08:18:16]Write to MH i2c: E2 08 00 63 01 80 0D 01 02 00 00 00 00 DD [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 63 01 00 90 00 D8 [08:18:16]RAPDU: 90 00 [08:18:16]wFMCommunicate OK [08:18:16]wFMCommunicate request_size=255 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 0D 02 02 FA 03 00 08 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 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 C8 E6 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 [08:18:16]Write to MH i2c: E2 02 01 64 01 80 0D 02 02 FA 00 03 00 08 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 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 C8 E6 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 00 00 F0 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 64 01 00 90 00 D9 [08:18:16]RAPDU: 90 00 [08:18:16]wFMCommunicate OK [08:18:16]wFMCommunicate request_size=23 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 0D 02 02 12 10 04 04 00 B9 DD 00 00 35 04 06 00 AE 4C 2F 6B 62 0B [08:18:16]Write to MH i2c: E2 1A 00 65 01 80 0D 02 02 12 00 10 04 04 00 B9 DD 00 00 35 04 06 00 AE 4C 2F 6B 62 0B 00 00 F2 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 03 00 65 01 00 90 00 DA [08:18:16]RAPDU: 90 00 [08:18:16]wFMCommunicate OK [08:18:16]wFMCommunicate request_size=4 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 0D 03 02 [08:18:16]Write to MH i2c: E2 08 00 66 01 80 0D 03 02 00 00 00 00 E2 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 0B 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 0B 00 66 01 00 D7 18 37 C4 4C 94 D8 DA 90 00 5F [08:18:16]RAPDU: D7 18 37 C4 4C 94 D8 DA 90 00 [08:18:16]wFMCommunicate OK [08:18:16]SAM_PROTO_SignData done [08:18:16]FM_MakeSignedData done [08:18:16]CreateOFDProtocolMessage [08:18:16]wFMCommunicate request_size=4 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 11 00 00 [08:18:16]Write to MH i2c: E2 08 00 67 01 80 11 00 00 00 00 00 00 E2 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 17 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 17 00 67 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3C [08:18:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:18:16]wFMCommunicate OK [08:18:16]CreateOFDProtocolMessage done [08:18:16]OFDSenderStorePacket 56761 [08:18:16]StoreOFDPacket docnum=56761 [08:18:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1C 01 00 00 72 48 14 01 D1 42 5A 03 01 00 03 00 08 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 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 C8 E6 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B9 DD 00 00 35 04 06 00 AE 4C 2F 6B 62 0B D7 18 37 C4 4C 94 D8 DA [08:18:16]CheckFolder [08:18:16]dirname=/storage/ofd_packets [08:18:16]CheckFolder done [08:18:16]ProducePacketName [08:18:16]name=ofd_packets/00056761 [08:18:16]NVStorageSaveData ofd_packets/00056761 [08:18:16]File name is /storage/ofd_packets/00056761 [08:18:16]Write 314 bytes [08:18:16]NVStorageSaveData done [08:18:16]OFDSenderStorePacket done [08:18:16]KKMCreateOFDPacket done [08:18:16]NVStorageSaveData kkm_last_timestamp [08:18:16]File name is /storage/kkm_last_timestamp [08:18:16]Write 4 bytes [08:18:16]NVStorageSaveData done [08:18:16]ExternCall_PrintAddStr [08:18:16]wPrintStart [08:18:16]Write to MH i2c: 01 00 00 68 01 69 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: 01 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: 01 07 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: 01 07 00 68 01 00 00 00 00 00 FF 0F 7E [08:18:16]RasterBufferAndPrint [08:18:16]line Счет N : (3)129261 [08:18:16]line ИНН: 02508201610067 [08:18:16]line Контрольно-Кассовый Чек [08:18:16]line ПРОДАЖА [08:18:16]line Товар: 4700002083334 [08:18:16]line Водка Level 0,7л [08:18:16]line 1.000 * 630.00 [08:18:16]line = 630.00 [08:18:16]line НДС 12% НСП 1% [08:18:16]line > о реализуемом товаре [08:18:16]line ИТОГО: 630.00 [08:18:16]line НСП 1% : 5.57 [08:18:16]line НДС 12% : 66.90 [08:18:16]line Наличными: 630.00 [08:18:16]line Безнал.: 0.00 [08:18:16]line Место: АЗС № 132 "Партнер Нефть" [08:18:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:18:16]line СНО: Общий режим [08:18:16]line Чек 29 12.07.2024 08:18 [08:18:16]line Смена: 494 ФФД: 1.0 [08:18:16]line ЗНМ: 0300000132 [08:18:16]line РНМ: 0000000000091208 [08:18:16]line Версия ККМ: 001 [08:18:16]line ФМ: 0000000000874857 [08:18:16]line ФД: 56761 [08:18:16]line ФПД: 191642236314123 [08:18:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T081816&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56761&fm=191642236314123&tin=02508201610067®Number=0000000000091208&sum=63000 [08:18:17]OFD Sender: Processing packet 56761 [packets to send 38, broken 37] [08:18:17]ProducePacketName [08:18:17]name=ofd_packets/00056761 [08:18:17]OFD Sender: To server: pG, [08:18:17]CommunicateWithHost lk.salyk.kg:30040 [08:18:17]ConnectInit lk.salyk.kg [08:18:17]line 0 [08:18:17]written 0, free lines is 4095 [08:18:17]Connected sock=10 [08:18: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 38 35 37 1C 01 00 00 72 48 14 01 D1 42 5A 03 01 00 03 00 08 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 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 C8 E6 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B9 DD 00 00 35 04 06 00 AE 4C 2F 6B 62 0B D7 18 37 C4 4C 94 D8 DA [08:18:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 5E 0C 47 00 24 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 38 35 37 10 04 04 00 B9 DD 00 00 F4 03 04 00 20 8D 90 66 B6 04 01 00 00 8B 90 83 53 43 B9 63 6D [08:18:17]CommunicateWithHost err = 0 [08:18:17]CheckOFDResponse [08:18:17]1017 (14) - 77093643461234 [08:18:17]1041 (16) - 0000000000874857 [08:18:17]1040 (4) - 56761 [08:18:17]1012 (4) - 12.07.2024 01:55 [08:18:17]1206 (1) - 0 [08:18:17]OFD Sender: Remove packet 56761 [08:18:17]ProducePacketName [08:18:17]name=ofd_packets/00056761 [08:18:17]NVStorageDeleteData [08:18:17]Write to MH i2c: 01 00 00 90 01 91 [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: 01 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: 01 07 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: 01 07 00 90 01 00 00 00 00 00 16 0D BB [08:18:17]RasterBufferAndPrint [08:18:17]line [08:18:17]line [08:18:17]line [08:18:17]line [08:18:17]line [08:18:17]written 0, free lines is 3358 [08:18:17]MH_Cut [08:18:17]Write to MH i2c: D1 01 00 97 01 01 6A [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: D1 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: D1 01 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: D1 01 00 97 01 00 69 [08:18:17]Write to MH i2c: 01 00 00 98 01 99 [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:18]OFD Sender: No OFD packet to send [08:18:18]*** Cut start [08:18:18]*** Partial cut [08:18:18]*** CUTSNS_PIN = 1 [08:18:18]*** CUTSNS_PIN = 0 [08:18:18]*** Brake cut motor [08:18:19]Read from MH i2c: 01 [08:18:19]MH_I2C_Read... [08:18:19]*** Stop cut motor [08:18:19]*** Cut end [08:18:19]Read from MH i2c: 01 07 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 07 00 98 01 00 00 00 00 00 FF 0F AE [08:18:19]process_action close_receipt done [08:18:19]requested_data is exist [08:18:19]produce_requested_data [08:18:19]requested_item fm.sn is exist - process it [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 11 00 00 [08:18:19]Write to MH i2c: E2 08 00 99 01 80 11 00 00 00 00 00 00 14 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 17 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 17 00 99 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6E [08:18:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:18:19]wFMCommunicate OK [08:18:19]requested_item fd.num is exist - process it [08:18:19]SAM_PROTO_GetFieldsCounters [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 13 00 00 [08:18:19]Write to MH i2c: E2 08 00 9A 01 80 13 00 00 00 00 00 00 17 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 62 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 62 00 9A 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B9 DD 00 00 0E 04 04 00 EE 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 16 [08:18: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B9 DD 00 00 0E 04 04 00 EE 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 [08:18:19]wFMCommunicate OK [08:18:19]SAM_PROTO_GetFieldsCounters done [08:18:19]requested_item shift.num is exist - process it [08:18:19]requested_item shift.opened is exist - process it [08:18:19]req_shift_opened [08:18:19]FM_GetShiftState [08:18:19]SAM_PROTO_GetShiftState [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 13 01 00 [08:18:19]Write to MH i2c: E2 08 00 9B 01 80 13 01 00 00 00 00 00 19 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0E 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0E 00 9B 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 1A [08:18:19]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:18:19]wFMCommunicate OK [08:18:19]SAM_PROTO_GetShiftState done [08:18:19]FM_GetShiftState done [08:18:19]req_shift_opened done [08:18:19]requested_item shift.open_date is exist - process it [08:18:19]req_shift_open_date [08:18:19]req_shift_open_date done [08:18:19]requested_item shift.sale.total is exist - process it [08:18:19]SAM_PROTO_GetShiftData [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 13 02 00 [08:18:19]Write to MH i2c: E2 08 00 9C 01 80 13 02 00 00 00 00 00 1B [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 FD 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 FD 00 9C 01 00 AE 04 AA 04 AA 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 D8 F2 0C 70 04 03 00 9C 91 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 04 60 01 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 54 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 [08:18:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 D8 F2 0C 70 04 03 00 9C 91 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 04 60 01 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 54 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:18:19]wFMCommunicate OK [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 17 00 00 [08:18:19]Write to MH i2c: E2 08 00 9D 01 80 17 00 00 00 00 00 00 1E [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 9D 01 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 40 [08:18:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [08:18:20]wFMCommunicate OK [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 17 00 00 [08:18:20]Write to MH i2c: E2 08 00 9E 01 80 17 00 00 00 00 00 00 1F [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 9E 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D6 [08:18:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [08:18:20]wFMCommunicate OK [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 17 00 00 [08:18:20]Write to MH i2c: E2 08 00 9F 01 80 17 00 00 00 00 00 00 20 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 FD 00 9F 01 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 92 [08:18:20]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 [08:18:20]wFMCommunicate OK [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 17 00 00 [08:18:20]Write to MH i2c: E2 08 00 A0 01 80 17 00 00 00 00 00 00 21 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [08:18:20]Read from MH i2c: E2 CB 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 CB 00 A0 01 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 0A [08:18:20]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 [08:18:20]wFMCommunicate OK [08:18:20]SAM_PROTO_GetShiftData done [08:18:20]requested_item shift.sale.total_cash is exist - process it [08:18:20]requested_item shift.sale_refund.total is exist - process it [08:18:20]requested_item shift.sale_refund.total_cash is exist - process it [08:18:20]produce_requested_data done [08:18:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56761,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8486.00,"shift.sale.total_cash":6271.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:18:20]process_action_free close_receipt [08:18:20]json_value_free [08:18:20]json_value_free done [08:18:20]process_json_proto returns [08:18:20]Send response to host [08:18:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56761,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8486.00,"shift.sale.total_cash":6271.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:18:20]free response buf [08:18:20]execute_script done [08:18:20]execute_script returns [08:18:20]free content buf [08:18:20]Sock 9.Close socket [08:18:20]Sock 9.Thread stoped [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:53]OFD Sender: No OFD packet to send [08:20:58]OFD Sender: No OFD packet to send [08:21:03]OFD Sender: No OFD packet to send [08:21:08]OFD Sender: No OFD packet to send [08:21:13]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:28]OFD Sender: No OFD packet to send [08:21:33]OFD Sender: No OFD packet to send [08:21:38]OFD Sender: No OFD packet to send [08:21:43]OFD Sender: No OFD packet to send [08:21:48]OFD Sender: No OFD packet to send [08:21:53]OFD Sender: No OFD packet to send [08:21:58]OFD Sender: No OFD packet to send [08:22:03]OFD Sender: No OFD packet to send [08:22:08]OFD Sender: No OFD packet to send [08:22:13]OFD Sender: No OFD packet to send [08:22:18]OFD Sender: No OFD packet to send [08:22:23]OFD Sender: No OFD packet to send [08:22:28]OFD Sender: No OFD packet to send [08:22:33]OFD Sender: No OFD packet to send [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:18]OFD Sender: No OFD packet to send [08:23:23]OFD Sender: No OFD packet to send [08:23:28]OFD Sender: No OFD packet to send [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:57]accept exits with 7 [08:38:57]New connection [08:38:57]New thread 3066637668 created [08:38:57]Thread 3066781028 joined [08:38:57]Waiting for new connection... [08:38:57] Sock 7.Parse request [08:38:57]Sock 7.Check first char [08:38:57]Sock 7.First char is OK [08:38:57]request: POST /json_proto HTTP/1.0 [08:38:57]Method: POST [08:38:57]URL: /json_proto [08:38:57]Method is POST - this is cgi request [08:38:57]url: /json_proto [08:38:57]query_string will be loaded in cgi processing [08:38:57]execute_cgi json_proto POST (null) [08:38:57]execute_cgi path=json_proto method=POST [08:38:57]POST find Content-Length [08:38:57]Host: 172.17.39.4:8080 [08:38:57]Content-Length: 724 [08:38:57]Content-Type: application/json [08:38:57] [08:38:57]POST finish read [08:38:57]Found Content-Length = 724 [08:38:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129262", "tax_sys" : 0, "items" : [ { "code": "48742795", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M Loft Blue", "price" : 118.00, "quantity" : 1.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 118.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:38:57]execute_script... [08:38: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)129262", "tax_sys" : 0, "items" : [ { "code": "48742795", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B L\u0026M Loft Blue", "price" : 118.00, "quantity" : 1.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 118.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:38:57]POST & json_proto [08:38:57]process_json_proto [08:38:57]json parsed OK: [08:38:57]protocol is kg_v1.0 [08:38:57]action value=close_receipt [08:38:57]process_action close_receipt [08:38:57]cmd_close_receipt [08:38:57]MH_GetDate [08:38:57]Write to MH i2c: F0 00 00 A1 01 91 [08:38:57]Write i2c OK [08:38:57]MH_I2C_Read... [08:38:57]Read from MH i2c: F0 [08:38:57]MH_I2C_Read... [08:38:57]Read from MH i2c: F0 09 00 [08:38:57]MH_I2C_Read... [08:38:57]Read from MH i2c: F0 09 00 A1 01 00 A2 EB 90 66 2D 25 5D 64 30 [08:38:57]GetLastDocTimeStamp 1720772296 [08:38:57]current date 1720773538 [08:38:57]FM_GetShiftState [08:38:57]SAM_PROTO_GetShiftState [08:38:57]wFMCommunicate request_size=4 [08:38:57]MH_SAM_APDU [08:38:57]CAPDU: 80 13 01 00 [08:38:57]Write to MH i2c: E2 08 00 A2 01 80 13 01 00 00 00 00 00 20 [08:38:57]Write i2c OK [08:38:57]MH_I2C_Read... [08:38:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:57]Read from MH i2c: E2 [08:38:57]MH_I2C_Read... [08:38:57]Read from MH i2c: E2 0E 00 [08:38:57]MH_I2C_Read... [08:38:57]Read from MH i2c: E2 0E 00 A2 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 21 [08:38:57]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:38:57]wFMCommunicate OK [08:38:57]SAM_PROTO_GetShiftState done [08:38:57]FM_GetShiftState done [08:38:57]opened in 1720744326 [08:38:57]opened+sec_in_day 1720830726 [08:38:57]quantity*price = 11800 [08:38:57]sum+1 = 11801 [08:38:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 118.00 НСП 1% : 1.04 НДС 12% : 12.53 Наличными: 118.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 30 12.07.2024 08:38 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56762 ФПД: 172607693209438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T083858&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56762&fm=172607693209438&tin=02508201610067®Number=0000000000091208&sum=11800 0 [08:38:58]StoreToDocumentArchive [08:38:58]shift 494 fd 56762 [08:38:58]save to /storage/0494/doc_00056762 [08:38:58]save last doc name /storage/0494/doc_00056762 to /storage/kkm_last_doc_name [08:38:58]save OK [08:38:58]Clear old archive folders... [08:38:58]ProcessDocumentItem done err = 0, tmpTLVsize=267 [08:38:58]tlvbuf is 01AEA480 [08:38:58]SAM_PROTO_ClearQueue [08:38:58]wFMCommunicate request_size=4 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 09 00 00 [08:38:58]Write to MH i2c: E2 08 00 AF 01 80 09 00 00 00 00 00 00 22 [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:38:58]Read from MH i2c: E2 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 AF 01 00 90 00 24 [08:38:58]RAPDU: 90 00 [08:38:58]wFMCommunicate OK [08:38:58]SAM_PROTO_ClearQueue done [08:38:58]KKMCreateOFDPacket [08:38:58]OFDProtocolAddRootSTLVToBuf [08:38:58]FM_MakeSignedData [08:38:58]FM_MakeSignedData [08:38:58]SAM_PROTO_SignData [08:38:58]wFMCommunicate request_size=4 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 0D 01 02 [08:38:58]Write to MH i2c: E2 08 00 B0 01 80 0D 01 02 00 00 00 00 2A [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:38:58]Read from MH i2c: E2 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 B0 01 00 90 00 25 [08:38:58]RAPDU: 90 00 [08:38:58]wFMCommunicate OK [08:38:58]wFMCommunicate request_size=255 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 18 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A2 EB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 [08:38:58]Write to MH i2c: E2 02 01 B1 01 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 18 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A2 EB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 00 00 4D [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:58]Read from MH i2c: E2 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 B1 01 00 90 00 26 [08:38:58]RAPDU: 90 00 [08:38:58]wFMCommunicate OK [08:38:58]wFMCommunicate request_size=26 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 0D 02 02 15 38 35 37 10 04 04 00 BA DD 00 00 35 04 06 00 9C FC 5C 3D 3F 5E [08:38:58]Write to MH i2c: E2 1D 00 B2 01 80 0D 02 02 15 00 38 35 37 10 04 04 00 BA DD 00 00 35 04 06 00 9C FC 5C 3D 3F 5E 00 00 B7 [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:58]Read from MH i2c: E2 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 03 00 B2 01 00 90 00 27 [08:38:58]RAPDU: 90 00 [08:38:58]wFMCommunicate OK [08:38:58]wFMCommunicate request_size=4 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 0D 03 02 [08:38:58]Write to MH i2c: E2 08 00 B3 01 80 0D 03 02 00 00 00 00 2F [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:38:58]Read from MH i2c: E2 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 0B 00 [08:38:58]MH_I2C_Read... [08:38:58]Read from MH i2c: E2 0B 00 B3 01 00 FE 33 C1 1B 2F E2 A7 8D 90 00 82 [08:38:58]RAPDU: FE 33 C1 1B 2F E2 A7 8D 90 00 [08:38:58]wFMCommunicate OK [08:38:58]SAM_PROTO_SignData done [08:38:58]FM_MakeSignedData done [08:38:58]CreateOFDProtocolMessage [08:38:58]wFMCommunicate request_size=4 [08:38:58]MH_SAM_APDU [08:38:58]CAPDU: 80 11 00 00 [08:38:58]Write to MH i2c: E2 08 00 B4 01 80 11 00 00 00 00 00 00 2F [08:38:58]Write i2c OK [08:38:58]MH_I2C_Read... [08:38:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:59]Read from MH i2c: E2 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: E2 17 00 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: E2 17 00 B4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 89 [08:38:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:38:59]wFMCommunicate OK [08:38:59]CreateOFDProtocolMessage done [08:38:59]OFDSenderStorePacket 56762 [08:38:59]StoreOFDPacket docnum=56762 [08:38:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1F 01 00 00 A2 2F 17 01 FE E0 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 18 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A2 EB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BA DD 00 00 35 04 06 00 9C FC 5C 3D 3F 5E FE 33 C1 1B 2F E2 A7 8D [08:38:59]CheckFolder [08:38:59]dirname=/storage/ofd_packets [08:38:59]CheckFolder done [08:38:59]ProducePacketName [08:38:59]name=ofd_packets/00056762 [08:38:59]NVStorageSaveData ofd_packets/00056762 [08:38:59]File name is /storage/ofd_packets/00056762 [08:38:59]Write 317 bytes [08:38:59]NVStorageSaveData done [08:38:59]OFDSenderStorePacket done [08:38:59]KKMCreateOFDPacket done [08:38:59]NVStorageSaveData kkm_last_timestamp [08:38:59]File name is /storage/kkm_last_timestamp [08:38:59]Write 4 bytes [08:38:59]NVStorageSaveData done [08:38:59]ExternCall_PrintAddStr [08:38:59]wPrintStart [08:38:59]Write to MH i2c: 01 00 00 B5 01 B6 [08:38:59]Write i2c OK [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 07 00 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 07 00 B5 01 00 00 00 00 00 FF 0F CB [08:38:59]RasterBufferAndPrint [08:38:59]line Счет N : (3)129262 [08:38:59]line ИНН: 02508201610067 [08:38:59]line Контрольно-Кассовый Чек [08:38:59]line ПРОДАЖА [08:38:59]line Товар: 48742795 [08:38:59]line Сигареты L&M Loft Blue [08:38:59]line 1.000 * 118.00 [08:38:59]line = 118.00 [08:38:59]line НДС 12% НСП 1% [08:38:59]line > о реализуемом товаре [08:38:59]line ИТОГО: 118.00 [08:38:59]line НСП 1% : 1.04 [08:38:59]line НДС 12% : 12.53 [08:38:59]line Наличными: 118.00 [08:38:59]line Безнал.: 0.00 [08:38:59]line Место: АЗС № 132 "Партнер Нефть" [08:38:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:38:59]line СНО: Общий режим [08:38:59]line Чек 30 12.07.2024 08:38 [08:38:59]line Смена: 494 ФФД: 1.0 [08:38:59]line ЗНМ: 0300000132 [08:38:59]line РНМ: 0000000000091208 [08:38:59]line Версия ККМ: 001 [08:38:59]line ФМ: 0000000000874857 [08:38:59]line ФД: 56762 [08:38:59]line ФПД: 172607693209438 [08:38:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T083858&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56762&fm=172607693209438&tin=02508201610067®Number=0000000000091208&sum=11800 [08:38:59]OFD Sender: Processing packet 56762 [packets to send 38, broken 37] [08:38:59]ProducePacketName [08:38:59]name=ofd_packets/00056762 [08:38:59]OFD Sender: To server: pG, [08:38:59]CommunicateWithHost lk.salyk.kg:30040 [08:38:59]ConnectInit lk.salyk.kg [08:38:59]line 0 [08:38:59]written 0, free lines is 4095 [08:38:59]Connected sock=10 [08:38: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 38 35 37 1F 01 00 00 A2 2F 17 01 FE E0 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 38 37 34 32 37 39 35 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 26 4D 20 4C 6F 66 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 18 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A2 EB 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BA DD 00 00 35 04 06 00 9C FC 5C 3D 3F 5E FE 33 C1 1B 2F E2 A7 8D [08:38:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 83 CC 47 00 AC 47 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 38 35 37 10 04 04 00 BA DD 00 00 F4 03 04 00 FA 91 90 66 B6 04 01 00 00 BA 1E F9 35 BA FE 53 FF [08:38:59]CommunicateWithHost err = 0 [08:38:59]CheckOFDResponse [08:38:59]1017 (14) - 77093643461234 [08:38:59]1041 (16) - 0000000000874857 [08:38:59]1040 (4) - 56762 [08:38:59]1012 (4) - 12.07.2024 02:16 [08:38:59]1206 (1) - 0 [08:38:59]OFD Sender: Remove packet 56762 [08:38:59]ProducePacketName [08:38:59]name=ofd_packets/00056762 [08:38:59]NVStorageDeleteData [08:38:59]Write to MH i2c: 01 00 00 DD 01 DE [08:38:59]Write i2c OK [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 07 00 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: 01 07 00 DD 01 00 00 00 00 00 09 0D FB [08:38:59]RasterBufferAndPrint [08:38:59]line [08:38:59]line [08:38:59]line [08:38:59]line [08:38:59]line [08:38:59]written 0, free lines is 3343 [08:38:59]MH_Cut [08:38:59]Write to MH i2c: D1 01 00 E4 01 01 B7 [08:38:59]Write i2c OK [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: D1 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: D1 01 00 [08:38:59]MH_I2C_Read... [08:38:59]Read from MH i2c: D1 01 00 E4 01 00 B6 [08:38:59]Write to MH i2c: 01 00 00 E5 01 E6 [08:38:59]Write i2c OK [08:38:59]MH_I2C_Read... [08:39:00]OFD Sender: No OFD packet to send [08:39:00]*** Cut start [08:39:00]*** Partial cut [08:39:00]*** CUTSNS_PIN = 1 [08:39:00]*** CUTSNS_PIN = 0 [08:39:00]*** Brake cut motor [08:39:01]Read from MH i2c: 01 [08:39:01]MH_I2C_Read... [08:39:01]*** Stop cut motor [08:39:01]*** Cut end [08:39:01]Read from MH i2c: 01 07 00 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: 01 07 00 E5 01 00 00 00 00 00 FF 0F FB [08:39:01]process_action close_receipt done [08:39:01]requested_data is exist [08:39:01]produce_requested_data [08:39:01]requested_item fm.sn is exist - process it [08:39:01]wFMCommunicate request_size=4 [08:39:01]MH_SAM_APDU [08:39:01]CAPDU: 80 11 00 00 [08:39:01]Write to MH i2c: E2 08 00 E6 01 80 11 00 00 00 00 00 00 61 [08:39:01]Write i2c OK [08:39:01]MH_I2C_Read... [08:39:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:01]Read from MH i2c: E2 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 17 00 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 17 00 E6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [08:39:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:39:01]wFMCommunicate OK [08:39:01]requested_item fd.num is exist - process it [08:39:01]SAM_PROTO_GetFieldsCounters [08:39:01]wFMCommunicate request_size=4 [08:39:01]MH_SAM_APDU [08:39:01]CAPDU: 80 13 00 00 [08:39:01]Write to MH i2c: E2 08 00 E7 01 80 13 00 00 00 00 00 00 64 [08:39:01]Write i2c OK [08:39:01]MH_I2C_Read... [08:39:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:01]Read from MH i2c: E2 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 62 00 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 62 00 E7 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BA DD 00 00 0E 04 04 00 EE 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 67 [08:39: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BA DD 00 00 0E 04 04 00 EE 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 [08:39:01]wFMCommunicate OK [08:39:01]SAM_PROTO_GetFieldsCounters done [08:39:01]requested_item shift.num is exist - process it [08:39:01]requested_item shift.opened is exist - process it [08:39:01]req_shift_opened [08:39:01]FM_GetShiftState [08:39:01]SAM_PROTO_GetShiftState [08:39:01]wFMCommunicate request_size=4 [08:39:01]MH_SAM_APDU [08:39:01]CAPDU: 80 13 01 00 [08:39:01]Write to MH i2c: E2 08 00 E8 01 80 13 01 00 00 00 00 00 66 [08:39:01]Write i2c OK [08:39:01]MH_I2C_Read... [08:39:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:01]Read from MH i2c: E2 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 0E 00 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 0E 00 E8 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 67 [08:39:01]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [08:39:01]wFMCommunicate OK [08:39:01]SAM_PROTO_GetShiftState done [08:39:01]FM_GetShiftState done [08:39:01]req_shift_opened done [08:39:01]requested_item shift.open_date is exist - process it [08:39:01]req_shift_open_date [08:39:01]req_shift_open_date done [08:39:01]requested_item shift.sale.total is exist - process it [08:39:01]SAM_PROTO_GetShiftData [08:39:01]wFMCommunicate request_size=4 [08:39:01]MH_SAM_APDU [08:39:01]CAPDU: 80 13 02 00 [08:39:01]Write to MH i2c: E2 08 00 E9 01 80 13 02 00 00 00 00 00 68 [08:39:01]Write i2c OK [08:39:01]MH_I2C_Read... [08:39:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:39:01]Read from MH i2c: E2 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 FD 00 [08:39:01]MH_I2C_Read... [08:39:01]Read from MH i2c: E2 FD 00 E9 01 00 AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 F0 20 0D 70 04 03 00 B4 BF 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E9 64 01 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 BC 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C5 [08:39:01]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 F0 20 0D 70 04 03 00 B4 BF 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E9 64 01 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 BC 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:39:01]wFMCommunicate OK [08:39:01]wFMCommunicate request_size=4 [08:39:01]MH_SAM_APDU [08:39:01]CAPDU: 80 17 00 00 [08:39:01]Write to MH i2c: E2 08 00 EA 01 80 17 00 00 00 00 00 00 6B [08:39:01]Write i2c OK [08:39:01]MH_I2C_Read... [08:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:39:02]Read from MH i2c: E2 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 EA 01 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 8D [08:39:02]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 [08:39:02]wFMCommunicate OK [08:39:02]wFMCommunicate request_size=4 [08:39:02]MH_SAM_APDU [08:39:02]CAPDU: 80 17 00 00 [08:39:02]Write to MH i2c: E2 08 00 EB 01 80 17 00 00 00 00 00 00 6C [08:39:02]Write i2c OK [08:39:02]MH_I2C_Read... [08:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:39:02]Read from MH i2c: E2 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 EB 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 23 [08:39:02]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 [08:39:02]wFMCommunicate OK [08:39:02]wFMCommunicate request_size=4 [08:39:02]MH_SAM_APDU [08:39:02]CAPDU: 80 17 00 00 [08:39:02]Write to MH i2c: E2 08 00 EC 01 80 17 00 00 00 00 00 00 6D [08:39:02]Write i2c OK [08:39:02]MH_I2C_Read... [08:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:39:02]Read from MH i2c: E2 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 FD 00 EC 01 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 DF [08:39:02]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 [08:39:02]wFMCommunicate OK [08:39:02]wFMCommunicate request_size=4 [08:39:02]MH_SAM_APDU [08:39:02]CAPDU: 80 17 00 00 [08:39:02]Write to MH i2c: E2 08 00 ED 01 80 17 00 00 00 00 00 00 6E [08:39:02]Write i2c OK [08:39:02]MH_I2C_Read... [08:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [08:39:02]Read from MH i2c: E2 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 CB 00 [08:39:02]MH_I2C_Read... [08:39:02]Read from MH i2c: E2 CB 00 ED 01 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 57 [08:39:02]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 [08:39:03]wFMCommunicate OK [08:39:03]SAM_PROTO_GetShiftData done [08:39:03]requested_item shift.sale.total_cash is exist - process it [08:39:03]requested_item shift.sale_refund.total is exist - process it [08:39:03]requested_item shift.sale_refund.total_cash is exist - process it [08:39:03]produce_requested_data done [08:39:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56762,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8604.00,"shift.sale.total_cash":6389.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [08:39:03]process_action_free close_receipt [08:39:03]json_value_free [08:39:03]json_value_free done [08:39:03]process_json_proto returns [08:39:03]Send response to host [08:39:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56762,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8604.00,"shift.sale.total_cash":6389.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [08:39:03]free response buf [08:39:03]execute_script done [08:39:03]execute_script returns [08:39:03]free content buf [08:39:03]Sock 7.Close socket [08:39:03]Sock 7.Thread stoped [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:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:35]OFD Sender: No OFD packet to send [08:40:40]OFD Sender: No OFD packet to send [08:40:45]OFD Sender: No OFD packet to send [08:40:50]OFD Sender: No OFD packet to send [08:40:55]OFD Sender: No OFD packet to send [08:41:00]OFD Sender: No OFD packet to send [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:40]OFD Sender: No OFD packet to send [08:41:45]OFD Sender: No OFD packet to send [08:41:50]OFD Sender: No OFD packet to send [08:41:55]OFD Sender: No OFD packet to send [08:42:00]OFD Sender: No OFD packet to send [08:42:05]OFD Sender: No OFD packet to send [08:42:10]OFD Sender: No OFD packet to send [08:42:15]OFD Sender: No OFD packet to send [08:42:20]OFD Sender: No OFD packet to send [08:42:25]OFD Sender: No OFD packet to send [08:42:30]OFD Sender: No OFD packet to send [08:42:35]OFD Sender: No OFD packet to send [08:42:40]OFD Sender: No OFD packet to send [08:42:45]OFD Sender: No OFD packet to send [08:42:50]OFD Sender: No OFD packet to send [08:42:55]OFD Sender: No OFD packet to send [08:43:00]OFD Sender: No OFD packet to send [08:43:05]OFD Sender: No OFD packet to send [08:43:10]OFD Sender: No OFD packet to send [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53: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:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:11]OFD Sender: No OFD packet to send [09:12:16]OFD Sender: No OFD packet to send [09:12:21]OFD Sender: No OFD packet to send [09:12:26]OFD Sender: No OFD packet to send [09:12:31]OFD Sender: No OFD packet to send [09:12:36]OFD Sender: No OFD packet to send [09:12:41]OFD Sender: No OFD packet to send [09:12:46]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:03]accept exits with 9 [09:13:03]New connection [09:13:03]New thread 3066781028 created [09:13:03]Thread 3066637668 joined [09:13:03]Waiting for new connection... [09:13:03] Sock 9.Parse request [09:13:03]Sock 9.Check first char [09:13:03]Sock 9.First char is OK [09:13:03]request: POST /json_proto HTTP/1.0 [09:13:03]Method: POST [09:13:03]URL: /json_proto [09:13:03]Method is POST - this is cgi request [09:13:03]url: /json_proto [09:13:03]query_string will be loaded in cgi processing [09:13:03]execute_cgi json_proto POST (null) [09:13:03]execute_cgi path=json_proto method=POST [09:13:03]POST find Content-Length [09:13:03]Host: 172.17.39.4:8080 [09:13:03]Content-Length: 754 [09:13:03]Content-Type: application/json [09:13:03] [09:13:03]POST finish read [09:13:03]Found Content-Length = 754 [09:13:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129263", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:13:03]execute_script... [09:13:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129263", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:13:03]POST & json_proto [09:13:03]process_json_proto [09:13:03]json parsed OK: [09:13:03]protocol is kg_v1.0 [09:13:03]action value=close_receipt [09:13:03]process_action close_receipt [09:13:03]cmd_close_receipt [09:13:03]MH_GetDate [09:13:03]Write to MH i2c: F0 00 00 EE 01 DE [09:13:03]Write i2c OK [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: F0 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: F0 09 00 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: F0 09 00 EE 01 00 A0 F3 90 66 2D 25 5D 64 83 [09:13:03]GetLastDocTimeStamp 1720773538 [09:13:03]current date 1720775584 [09:13:03]FM_GetShiftState [09:13:03]SAM_PROTO_GetShiftState [09:13:03]wFMCommunicate request_size=4 [09:13:03]MH_SAM_APDU [09:13:03]CAPDU: 80 13 01 00 [09:13:03]Write to MH i2c: E2 08 00 EF 01 80 13 01 00 00 00 00 00 6D [09:13:03]Write i2c OK [09:13:03]MH_I2C_Read... [09:13:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:03]Read from MH i2c: E2 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: E2 0E 00 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: E2 0E 00 EF 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6E [09:13:03]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [09:13:03]wFMCommunicate OK [09:13:03]SAM_PROTO_GetShiftState done [09:13:03]FM_GetShiftState done [09:13:03]opened in 1720744326 [09:13:03]opened+sec_in_day 1720830726 [09:13:03]quantity*price = 10500 [09:13:03]sum+1 = 10501 [09:13:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 31 12.07.2024 09:13 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56763 ФПД: 24287304264275 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T091304&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56763&fm=24287304264275&tin=02508201610067®Number=0000000000091208&sum=10500 0 [09:13:04]StoreToDocumentArchive [09:13:04]shift 494 fd 56763 [09:13:04]save to /storage/0494/doc_00056763 [09:13:04]save last doc name /storage/0494/doc_00056763 to /storage/kkm_last_doc_name [09:13:04]save OK [09:13:04]Clear old archive folders... [09:13:04]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:13:04]tlvbuf is 01AE3B00 [09:13:04]SAM_PROTO_ClearQueue [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 09 00 00 [09:13:04]Write to MH i2c: E2 08 00 FC 01 80 09 00 00 00 00 00 00 6F [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [09:13:04]RAPDU: 90 00 [09:13:04]wFMCommunicate OK [09:13:04]SAM_PROTO_ClearQueue done [09:13:04]KKMCreateOFDPacket [09:13:04]OFDProtocolAddRootSTLVToBuf [09:13:04]FM_MakeSignedData [09:13:04]FM_MakeSignedData [09:13:04]SAM_PROTO_SignData [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 0D 01 02 [09:13:04]Write to MH i2c: E2 08 00 FD 01 80 0D 01 02 00 00 00 00 77 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [09:13:04]RAPDU: 90 00 [09:13:04]wFMCommunicate OK [09:13:04]wFMCommunicate request_size=255 [09:13:04]MH_SAM_APDU [09:13:04]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 1F 00 00 00 F4 03 04 00 A0 F3 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [09:13:04]Write to MH i2c: E2 02 01 FE 01 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 1F 00 00 00 F4 03 04 00 A0 F3 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 D1 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 FE 01 00 90 00 73 [09:13:04]RAPDU: 90 00 [09:13:04]wFMCommunicate OK [09:13:04]wFMCommunicate request_size=41 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DD 00 00 35 04 06 00 16 16 D4 24 AA 53 [09:13:04]Write to MH i2c: E2 2C 00 FF 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DD 00 00 35 04 06 00 16 16 D4 24 AA 53 00 00 09 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 03 00 FF 01 00 90 00 74 [09:13:04]RAPDU: 90 00 [09:13:04]wFMCommunicate OK [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 0D 03 02 [09:13:04]Write to MH i2c: E2 08 00 00 02 80 0D 03 02 00 00 00 00 7D [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 0B 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 0B 00 00 02 00 64 2C A9 20 6C DB E3 12 90 00 13 [09:13:04]RAPDU: 64 2C A9 20 6C DB E3 12 90 00 [09:13:04]wFMCommunicate OK [09:13:04]SAM_PROTO_SignData done [09:13:04]FM_MakeSignedData done [09:13:04]CreateOFDProtocolMessage [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 11 00 00 [09:13:04]Write to MH i2c: E2 08 00 01 02 80 11 00 00 00 00 00 00 7D [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 17 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 17 00 01 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D7 [09:13:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:13:04]wFMCommunicate OK [09:13:04]CreateOFDProtocolMessage done [09:13:04]OFDSenderStorePacket 56763 [09:13:04]StoreOFDPacket docnum=56763 [09:13:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 60 16 26 01 54 9A 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 1F 00 00 00 F4 03 04 00 A0 F3 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DD 00 00 35 04 06 00 16 16 D4 24 AA 53 64 2C A9 20 6C DB E3 12 [09:13:04]CheckFolder [09:13:04]dirname=/storage/ofd_packets [09:13:04]CheckFolder done [09:13:04]ProducePacketName [09:13:04]name=ofd_packets/00056763 [09:13:04]NVStorageSaveData ofd_packets/00056763 [09:13:04]File name is /storage/ofd_packets/00056763 [09:13:04]Write 332 bytes [09:13:04]NVStorageSaveData done [09:13:04]OFDSenderStorePacket done [09:13:04]KKMCreateOFDPacket done [09:13:04]NVStorageSaveData kkm_last_timestamp [09:13:04]File name is /storage/kkm_last_timestamp [09:13:04]Write 4 bytes [09:13:04]NVStorageSaveData done [09:13:04]ExternCall_PrintAddStr [09:13:04]wPrintStart [09:13:04]Write to MH i2c: 01 00 00 02 02 04 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 07 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 07 00 02 02 00 00 00 00 00 FF 0F 19 [09:13:04]RasterBufferAndPrint [09:13:04]line Счет N : (3)129263 [09:13:04]line ИНН: 02508201610067 [09:13:04]line Контрольно-Кассовый Чек [09:13:04]line ПРОДАЖА [09:13:04]line Товар: 2000034730018 [09:13:04]line Кофе Американо (GABB TRADE) [09:13:04]line 1.000 * 105.00 [09:13:04]line = 105.00 [09:13:04]line НДС 12% НСП 1% [09:13:04]line > о реализуемом товаре [09:13:04]line ИТОГО: 105.00 [09:13:04]line НСП 1% : 0.93 [09:13:04]line НДС 12% : 11.15 [09:13:04]line Наличными: 105.00 [09:13:04]line Безнал.: 0.00 [09:13:04]line Место: АЗС № 132 "Партнер Нефть" [09:13:04]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:13:04]line СНО: Общий режим [09:13:04]line Чек 31 12.07.2024 09:13 [09:13:04]line Смена: 494 ФФД: 1.0 [09:13:04]line ЗНМ: 0300000132 [09:13:04]line РНМ: 0000000000091208 [09:13:04]line Версия ККМ: 001 [09:13:04]line ФМ: 0000000000874857 [09:13:04]line ФД: 56763 [09:13:04]line ФПД: 24287304264275 [09:13:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T091304&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56763&fm=24287304264275&tin=02508201610067®Number=0000000000091208&sum=10500 [09:13:05]line 0 [09:13:05]OFD Sender: Processing packet 56763 [packets to send 38, broken 37] [09:13:05]ProducePacketName [09:13:05]name=ofd_packets/00056763 [09:13:05]OFD Sender: To server: pG, [09:13:05]CommunicateWithHost lk.salyk.kg:30040 [09:13:05]ConnectInit lk.salyk.kg [09:13:05]written 0, free lines is 4095 [09:13:05]Connected sock=10 [09:13:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 60 16 26 01 54 9A 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 1F 00 00 00 F4 03 04 00 A0 F3 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DD 00 00 35 04 06 00 16 16 D4 24 AA 53 64 2C A9 20 6C DB E3 12 [09:13:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 AB 18 47 00 E3 98 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 38 35 37 10 04 04 00 BB DD 00 00 F4 03 04 00 F8 99 90 66 B6 04 01 00 00 C0 CE 13 66 9D FE 6D 9E [09:13:05]CommunicateWithHost err = 0 [09:13:05]CheckOFDResponse [09:13:05]1017 (14) - 77093643461234 [09:13:05]1041 (16) - 0000000000874857 [09:13:05]1040 (4) - 56763 [09:13:05]1012 (4) - 12.07.2024 02:50 [09:13:05]1206 (1) - 0 [09:13:05]OFD Sender: Remove packet 56763 [09:13:05]ProducePacketName [09:13:05]name=ofd_packets/00056763 [09:13:05]NVStorageDeleteData [09:13:05]Write to MH i2c: 01 00 00 2B 02 2D [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: 01 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: 01 07 00 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: 01 07 00 2B 02 00 00 00 00 00 F2 0C 32 [09:13:05]RasterBufferAndPrint [09:13:05]line [09:13:05]line [09:13:05]line [09:13:05]line [09:13:05]line [09:13:05]written 0, free lines is 3320 [09:13:05]MH_Cut [09:13:05]Write to MH i2c: D1 01 00 32 02 01 06 [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: D1 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: D1 01 00 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: D1 01 00 32 02 00 05 [09:13:05]Write to MH i2c: 01 00 00 33 02 35 [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:05]OFD Sender: No OFD packet to send [09:13:06]*** Cut start [09:13:06]*** Partial cut [09:13:06]*** CUTSNS_PIN = 1 [09:13:06]*** CUTSNS_PIN = 0 [09:13:06]*** Brake cut motor [09:13:06]Read from MH i2c: 01 [09:13:06]MH_I2C_Read... [09:13:06]*** Stop cut motor [09:13:06]*** Cut end [09:13:06]Read from MH i2c: 01 07 00 [09:13:06]MH_I2C_Read... [09:13:06]Read from MH i2c: 01 07 00 33 02 00 00 00 00 00 FF 0F 4A [09:13:06]process_action close_receipt done [09:13:06]requested_data is exist [09:13:06]produce_requested_data [09:13:06]requested_item fm.sn is exist - process it [09:13:06]wFMCommunicate request_size=4 [09:13:06]MH_SAM_APDU [09:13:06]CAPDU: 80 11 00 00 [09:13:06]Write to MH i2c: E2 08 00 34 02 80 11 00 00 00 00 00 00 B0 [09:13:06]Write i2c OK [09:13:06]MH_I2C_Read... [09:13:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:07]Read from MH i2c: E2 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 17 00 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 17 00 34 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0A [09:13:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:13:07]wFMCommunicate OK [09:13:07]requested_item fd.num is exist - process it [09:13:07]SAM_PROTO_GetFieldsCounters [09:13:07]wFMCommunicate request_size=4 [09:13:07]MH_SAM_APDU [09:13:07]CAPDU: 80 13 00 00 [09:13:07]Write to MH i2c: E2 08 00 35 02 80 13 00 00 00 00 00 00 B3 [09:13:07]Write i2c OK [09:13:07]MH_I2C_Read... [09:13:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:13:07]Read from MH i2c: E2 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 62 00 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 62 00 35 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BB DD 00 00 0E 04 04 00 EE 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 BA [09:13:07]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BB DD 00 00 0E 04 04 00 EE 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 [09:13:07]wFMCommunicate OK [09:13:07]SAM_PROTO_GetFieldsCounters done [09:13:07]requested_item shift.num is exist - process it [09:13:07]requested_item shift.opened is exist - process it [09:13:07]req_shift_opened [09:13:07]FM_GetShiftState [09:13:07]SAM_PROTO_GetShiftState [09:13:07]wFMCommunicate request_size=4 [09:13:07]MH_SAM_APDU [09:13:07]CAPDU: 80 13 01 00 [09:13:07]Write to MH i2c: E2 08 00 36 02 80 13 01 00 00 00 00 00 B5 [09:13:07]Write i2c OK [09:13:07]MH_I2C_Read... [09:13:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:07]Read from MH i2c: E2 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 0E 00 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 0E 00 36 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 B6 [09:13:07]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [09:13:07]wFMCommunicate OK [09:13:07]SAM_PROTO_GetShiftState done [09:13:07]FM_GetShiftState done [09:13:07]req_shift_opened done [09:13:07]requested_item shift.open_date is exist - process it [09:13:07]req_shift_open_date [09:13:07]req_shift_open_date done [09:13:07]requested_item shift.sale.total is exist - process it [09:13:07]SAM_PROTO_GetShiftData [09:13:07]wFMCommunicate request_size=4 [09:13:07]MH_SAM_APDU [09:13:07]CAPDU: 80 13 02 00 [09:13:07]Write to MH i2c: E2 08 00 37 02 80 13 02 00 00 00 00 00 B7 [09:13:07]Write i2c OK [09:13:07]MH_I2C_Read... [09:13:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:13:07]Read from MH i2c: E2 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 FD 00 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 FD 00 37 02 00 AE 04 AA 04 AA 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 F4 49 0D 70 04 03 00 B8 E8 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 44 69 01 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 19 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E [09:13:07]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 F4 49 0D 70 04 03 00 B8 E8 09 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 44 69 01 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 19 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:13:07]wFMCommunicate OK [09:13:07]wFMCommunicate request_size=4 [09:13:07]MH_SAM_APDU [09:13:07]CAPDU: 80 17 00 00 [09:13:07]Write to MH i2c: E2 08 00 38 02 80 17 00 00 00 00 00 00 BA [09:13:07]Write i2c OK [09:13:07]MH_I2C_Read... [09:13:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:07]Read from MH i2c: E2 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 FD 00 [09:13:07]MH_I2C_Read... [09:13:07]Read from MH i2c: E2 FD 00 38 02 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 DC [09:13:07]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 [09:13:07]wFMCommunicate OK [09:13:07]wFMCommunicate request_size=4 [09:13:07]MH_SAM_APDU [09:13:07]CAPDU: 80 17 00 00 [09:13:07]Write to MH i2c: E2 08 00 39 02 80 17 00 00 00 00 00 00 BB [09:13:07]Write i2c OK [09:13:07]MH_I2C_Read... [09:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:08]Read from MH i2c: E2 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 FD 00 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 FD 00 39 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 72 [09:13:08]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 [09:13:08]wFMCommunicate OK [09:13:08]wFMCommunicate request_size=4 [09:13:08]MH_SAM_APDU [09:13:08]CAPDU: 80 17 00 00 [09:13:08]Write to MH i2c: E2 08 00 3A 02 80 17 00 00 00 00 00 00 BC [09:13:08]Write i2c OK [09:13:08]MH_I2C_Read... [09:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:08]Read from MH i2c: E2 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 FD 00 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 FD 00 3A 02 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 2E [09:13:08]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 [09:13:08]wFMCommunicate OK [09:13:08]wFMCommunicate request_size=4 [09:13:08]MH_SAM_APDU [09:13:08]CAPDU: 80 17 00 00 [09:13:08]Write to MH i2c: E2 08 00 3B 02 80 17 00 00 00 00 00 00 BD [09:13:08]Write i2c OK [09:13:08]MH_I2C_Read... [09:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:13:08]Read from MH i2c: E2 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 CB 00 [09:13:08]MH_I2C_Read... [09:13:08]Read from MH i2c: E2 CB 00 3B 02 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 A6 [09:13:08]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 [09:13:08]wFMCommunicate OK [09:13:08]SAM_PROTO_GetShiftData done [09:13:08]requested_item shift.sale.total_cash is exist - process it [09:13:08]requested_item shift.sale_refund.total is exist - process it [09:13:08]requested_item shift.sale_refund.total_cash is exist - process it [09:13:08]produce_requested_data done [09:13:08]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56763,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8709.00,"shift.sale.total_cash":6494.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:13:08]process_action_free close_receipt [09:13:08]json_value_free [09:13:08]json_value_free done [09:13:08]process_json_proto returns [09:13:08]Send response to host [09:13:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56763,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8709.00,"shift.sale.total_cash":6494.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:13:08]free response buf [09:13:08]execute_script done [09:13:08]execute_script returns [09:13:08]free content buf [09:13:08]Sock 9.Close socket [09:13:08]Sock 9.Thread stoped [09:13:11]OFD Sender: No OFD packet to send [09:13:16]OFD Sender: No OFD packet to send [09:13:21]OFD Sender: No OFD packet to send [09:13:26]OFD Sender: No OFD packet to send [09:13:31]OFD Sender: No OFD packet to send [09:13:36]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:47]accept exits with 7 [09:17:47]New connection [09:17:47]New thread 3066637668 created [09:17:47]Thread 3066781028 joined [09:17:47]Waiting for new connection... [09:17:47] Sock 7.Parse request [09:17:47]Sock 7.Check first char [09:17:47]Sock 7.First char is OK [09:17:47]request: POST /json_proto HTTP/1.0 [09:17:47]Method: POST [09:17:47]URL: /json_proto [09:17:47]Method is POST - this is cgi request [09:17:47]url: /json_proto [09:17:47]query_string will be loaded in cgi processing [09:17:47]execute_cgi json_proto POST (null) [09:17:47]execute_cgi path=json_proto method=POST [09:17:47]POST find Content-Length [09:17:47]Host: 172.17.39.4:8080 [09:17:47]Content-Length: 750 [09:17:47]Content-Type: application/json [09:17:47] [09:17:47]POST finish read [09:17:47]Found Content-Length = 750 [09:17:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129264", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:17:47]execute_script... [09:17:47]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)129264", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:17:47]POST & json_proto [09:17:47]process_json_proto [09:17:47]json parsed OK: [09:17:47]protocol is kg_v1.0 [09:17:47]action value=close_receipt [09:17:47]process_action close_receipt [09:17:47]cmd_close_receipt [09:17:47]MH_GetDate [09:17:47]Write to MH i2c: F0 00 00 3C 02 2D [09:17:47]Write i2c OK [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: F0 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: F0 09 00 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: F0 09 00 3C 02 00 BC F4 90 66 2D 25 5D 64 EF [09:17:47]GetLastDocTimeStamp 1720775584 [09:17:47]current date 1720775868 [09:17:47]FM_GetShiftState [09:17:47]SAM_PROTO_GetShiftState [09:17:47]wFMCommunicate request_size=4 [09:17:47]MH_SAM_APDU [09:17:47]CAPDU: 80 13 01 00 [09:17:47]Write to MH i2c: E2 08 00 3D 02 80 13 01 00 00 00 00 00 BC [09:17:47]Write i2c OK [09:17:47]MH_I2C_Read... [09:17:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:47]Read from MH i2c: E2 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 0E 00 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 0E 00 3D 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 BD [09:17:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [09:17:47]wFMCommunicate OK [09:17:47]SAM_PROTO_GetShiftState done [09:17:47]FM_GetShiftState done [09:17:47]opened in 1720744326 [09:17:47]opened+sec_in_day 1720830726 [09:17:47]quantity*price = 13000 [09:17:47]sum+1 = 13001 [09:17:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 32 12.07.2024 09:17 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56764 ФПД: 226735736412654 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T091748&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56764&fm=226735736412654&tin=02508201610067®Number=0000000000091208&sum=13000 0 [09:17:48]StoreToDocumentArchive [09:17:48]shift 494 fd 56764 [09:17:48]save to /storage/0494/doc_00056764 [09:17:48]save last doc name /storage/0494/doc_00056764 to /storage/kkm_last_doc_name [09:17:48]save OK [09:17:48]Clear old archive folders... [09:17:48]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:17:48]tlvbuf is 01AAD700 [09:17:48]SAM_PROTO_ClearQueue [09:17:48]wFMCommunicate request_size=4 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 09 00 00 [09:17:48]Write to MH i2c: E2 08 00 4A 02 80 09 00 00 00 00 00 00 BE [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 4A 02 00 90 00 C0 [09:17:48]RAPDU: 90 00 [09:17:48]wFMCommunicate OK [09:17:48]SAM_PROTO_ClearQueue done [09:17:48]KKMCreateOFDPacket [09:17:48]OFDProtocolAddRootSTLVToBuf [09:17:48]FM_MakeSignedData [09:17:48]FM_MakeSignedData [09:17:48]SAM_PROTO_SignData [09:17:48]wFMCommunicate request_size=4 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 0D 01 02 [09:17:48]Write to MH i2c: E2 08 00 4B 02 80 0D 01 02 00 00 00 00 C6 [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 4B 02 00 90 00 C1 [09:17:48]RAPDU: 90 00 [09:17:48]wFMCommunicate OK [09:17:48]wFMCommunicate request_size=255 [09:17:48]MH_SAM_APDU [09:17:48]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 20 00 00 00 F4 03 04 00 BC F4 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [09:17:48]Write to MH i2c: E2 02 01 4C 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 BC F4 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 85 [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 4C 02 00 90 00 C2 [09:17:48]RAPDU: 90 00 [09:17:48]wFMCommunicate OK [09:17:48]wFMCommunicate request_size=41 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DD 00 00 35 04 06 00 CE 37 07 06 D9 EE [09:17:48]Write to MH i2c: E2 2C 00 4D 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DD 00 00 35 04 06 00 CE 37 07 06 D9 EE 00 00 11 [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:49]Read from MH i2c: E2 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 03 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 03 00 4D 02 00 90 00 C3 [09:17:49]RAPDU: 90 00 [09:17:49]wFMCommunicate OK [09:17:49]wFMCommunicate request_size=4 [09:17:49]MH_SAM_APDU [09:17:49]CAPDU: 80 0D 03 02 [09:17:49]Write to MH i2c: E2 08 00 4E 02 80 0D 03 02 00 00 00 00 CB [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:17:49]Read from MH i2c: E2 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 0B 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 0B 00 4E 02 00 02 F4 F8 99 DF E1 75 54 90 00 DC [09:17:49]RAPDU: 02 F4 F8 99 DF E1 75 54 90 00 [09:17:49]wFMCommunicate OK [09:17:49]SAM_PROTO_SignData done [09:17:49]FM_MakeSignedData done [09:17:49]CreateOFDProtocolMessage [09:17:49]wFMCommunicate request_size=4 [09:17:49]MH_SAM_APDU [09:17:49]CAPDU: 80 11 00 00 [09:17:49]Write to MH i2c: E2 08 00 4F 02 80 11 00 00 00 00 00 00 CB [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:49]Read from MH i2c: E2 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 17 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: E2 17 00 4F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [09:17:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:17:49]wFMCommunicate OK [09:17:49]CreateOFDProtocolMessage done [09:17:49]OFDSenderStorePacket 56764 [09:17:49]StoreOFDPacket docnum=56764 [09:17:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 B3 90 26 01 7B A8 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 20 00 00 00 F4 03 04 00 BC F4 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DD 00 00 35 04 06 00 CE 37 07 06 D9 EE 02 F4 F8 99 DF E1 75 54 [09:17:49]CheckFolder [09:17:49]dirname=/storage/ofd_packets [09:17:49]CheckFolder done [09:17:49]ProducePacketName [09:17:49]name=ofd_packets/00056764 [09:17:49]NVStorageSaveData ofd_packets/00056764 [09:17:49]File name is /storage/ofd_packets/00056764 [09:17:49]Write 332 bytes [09:17:49]NVStorageSaveData done [09:17:49]OFDSenderStorePacket done [09:17:49]KKMCreateOFDPacket done [09:17:49]NVStorageSaveData kkm_last_timestamp [09:17:49]File name is /storage/kkm_last_timestamp [09:17:49]Write 4 bytes [09:17:49]NVStorageSaveData done [09:17:49]ExternCall_PrintAddStr [09:17:49]wPrintStart [09:17:49]Write to MH i2c: 01 00 00 50 02 52 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 50 02 00 00 00 00 00 FF 0F 67 [09:17:49]RasterBufferAndPrint [09:17:49]line Счет N : (3)129264 [09:17:49]line ИНН: 02508201610067 [09:17:49]line Контрольно-Кассовый Чек [09:17:49]line ПРОДАЖА [09:17:49]line Товар: 2000036220012 [09:17:49]line Кофе Капучино XL(GABB TRADE) [09:17:49]line 1.000 * 130.00 [09:17:49]line = 130.00 [09:17:49]line НДС 12% НСП 1% [09:17:49]line > о реализуемом товаре [09:17:49]line ИТОГО: 130.00 [09:17:49]line НСП 1% : 1.15 [09:17:49]line НДС 12% : 13.80 [09:17:49]line Наличными: 130.00 [09:17:49]line Безнал.: 0.00 [09:17:49]line Место: АЗС № 132 "Партнер Нефть" [09:17:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:17:49]line СНО: Общий режим [09:17:49]line Чек 32 12.07.2024 09:17 [09:17:49]line Смена: 494 ФФД: 1.0 [09:17:49]line ЗНМ: 0300000132 [09:17:49]line РНМ: 0000000000091208 [09:17:49]line Версия ККМ: 001 [09:17:49]line ФМ: 0000000000874857 [09:17:49]line ФД: 56764 [09:17:49]line ФПД: 226735736412654 [09:17:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T091748&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56764&fm=226735736412654&tin=02508201610067®Number=0000000000091208&sum=13000 [09:17:49]OFD Sender: Processing packet 56764 [packets to send 38, broken 37] [09:17:49]ProducePacketName [09:17:49]name=ofd_packets/00056764 [09:17:49]OFD Sender: To server: pG, [09:17:49]CommunicateWithHost lk.salyk.kg:30040 [09:17:49]ConnectInit lk.salyk.kg [09:17:49]line 0 [09:17:49]written 0, free lines is 4095 [09:17:49]Connected sock=10 [09:17: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 38 35 37 2E 01 00 00 B3 90 26 01 7B A8 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 20 00 00 00 F4 03 04 00 BC F4 90 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DD 00 00 35 04 06 00 CE 37 07 06 D9 EE 02 F4 F8 99 DF E1 75 54 [09:17:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B0 ED 47 00 4D 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DD 00 00 F4 03 04 00 14 9B 90 66 B6 04 01 00 00 A7 43 76 91 63 14 8A 23 [09:17:49]CommunicateWithHost err = 0 [09:17:49]CheckOFDResponse [09:17:49]1017 (14) - 77093643461234 [09:17:49]1041 (16) - 0000000000874857 [09:17:49]1040 (4) - 56764 [09:17:49]1012 (4) - 12.07.2024 02:55 [09:17:49]1206 (1) - 0 [09:17:49]OFD Sender: Remove packet 56764 [09:17:49]ProducePacketName [09:17:49]name=ofd_packets/00056764 [09:17:49]NVStorageDeleteData [09:17:49]Write to MH i2c: 01 00 00 79 02 7B [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 79 02 00 00 00 00 00 05 0D 94 [09:17:49]RasterBufferAndPrint [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]written 0, free lines is 3337 [09:17:49]MH_Cut [09:17:49]Write to MH i2c: D1 01 00 80 02 01 54 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 01 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 01 00 80 02 00 53 [09:17:49]Write to MH i2c: 01 00 00 81 02 83 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:50]OFD Sender: No OFD packet to send [09:17:50]*** Cut start [09:17:50]*** Partial cut [09:17:50]*** CUTSNS_PIN = 1 [09:17:50]*** CUTSNS_PIN = 0 [09:17:50]*** Brake cut motor [09:17:51]Read from MH i2c: 01 [09:17:51]MH_I2C_Read... [09:17:51]*** Stop cut motor [09:17:51]*** Cut end [09:17:51]Read from MH i2c: 01 07 00 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: 01 07 00 81 02 00 00 00 00 00 FF 0F 98 [09:17:51]process_action close_receipt done [09:17:51]requested_data is exist [09:17:51]produce_requested_data [09:17:51]requested_item fm.sn is exist - process it [09:17:51]wFMCommunicate request_size=4 [09:17:51]MH_SAM_APDU [09:17:51]CAPDU: 80 11 00 00 [09:17:51]Write to MH i2c: E2 08 00 82 02 80 11 00 00 00 00 00 00 FE [09:17:51]Write i2c OK [09:17:51]MH_I2C_Read... [09:17:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:51]Read from MH i2c: E2 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 17 00 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 17 00 82 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 58 [09:17:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:17:51]wFMCommunicate OK [09:17:51]requested_item fd.num is exist - process it [09:17:51]SAM_PROTO_GetFieldsCounters [09:17:51]wFMCommunicate request_size=4 [09:17:51]MH_SAM_APDU [09:17:51]CAPDU: 80 13 00 00 [09:17:51]Write to MH i2c: E2 08 00 83 02 80 13 00 00 00 00 00 00 01 [09:17:51]Write i2c OK [09:17:51]MH_I2C_Read... [09:17:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:51]Read from MH i2c: E2 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 62 00 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 62 00 83 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BC DD 00 00 0E 04 04 00 EE 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 0C [09:17:51]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BC DD 00 00 0E 04 04 00 EE 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 [09:17:51]wFMCommunicate OK [09:17:51]SAM_PROTO_GetFieldsCounters done [09:17:51]requested_item shift.num is exist - process it [09:17:51]requested_item shift.opened is exist - process it [09:17:51]req_shift_opened [09:17:51]FM_GetShiftState [09:17:51]SAM_PROTO_GetShiftState [09:17:51]wFMCommunicate request_size=4 [09:17:51]MH_SAM_APDU [09:17:51]CAPDU: 80 13 01 00 [09:17:51]Write to MH i2c: E2 08 00 84 02 80 13 01 00 00 00 00 00 03 [09:17:51]Write i2c OK [09:17:51]MH_I2C_Read... [09:17:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:51]Read from MH i2c: E2 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 0E 00 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 0E 00 84 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 04 [09:17:51]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [09:17:51]wFMCommunicate OK [09:17:51]SAM_PROTO_GetShiftState done [09:17:51]FM_GetShiftState done [09:17:51]req_shift_opened done [09:17:51]requested_item shift.open_date is exist - process it [09:17:51]req_shift_open_date [09:17:51]req_shift_open_date done [09:17:51]requested_item shift.sale.total is exist - process it [09:17:51]SAM_PROTO_GetShiftData [09:17:51]wFMCommunicate request_size=4 [09:17:51]MH_SAM_APDU [09:17:51]CAPDU: 80 13 02 00 [09:17:51]Write to MH i2c: E2 08 00 85 02 80 13 02 00 00 00 00 00 05 [09:17:51]Write i2c OK [09:17:51]MH_I2C_Read... [09:17:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:17:51]Read from MH i2c: E2 [09:17:51]MH_I2C_Read... [09:17:51]Read from MH i2c: E2 FD 00 [09:17:51]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 85 02 00 AE 04 AA 04 AA 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 BC 7C 0D 70 04 03 00 80 1B 0A 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A8 6E 01 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 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 51 [09:17:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 BC 7C 0D 70 04 03 00 80 1B 0A 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A8 6E 01 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 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:17:52]wFMCommunicate OK [09:17:52]wFMCommunicate request_size=4 [09:17:52]MH_SAM_APDU [09:17:52]CAPDU: 80 17 00 00 [09:17:52]Write to MH i2c: E2 08 00 86 02 80 17 00 00 00 00 00 00 08 [09:17:52]Write i2c OK [09:17:52]MH_I2C_Read... [09:17:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:52]Read from MH i2c: E2 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 86 02 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 2A [09:17:52]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 [09:17:52]wFMCommunicate OK [09:17:52]wFMCommunicate request_size=4 [09:17:52]MH_SAM_APDU [09:17:52]CAPDU: 80 17 00 00 [09:17:52]Write to MH i2c: E2 08 00 87 02 80 17 00 00 00 00 00 00 09 [09:17:52]Write i2c OK [09:17:52]MH_I2C_Read... [09:17:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:52]Read from MH i2c: E2 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 87 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C0 [09:17:52]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 [09:17:52]wFMCommunicate OK [09:17:52]wFMCommunicate request_size=4 [09:17:52]MH_SAM_APDU [09:17:52]CAPDU: 80 17 00 00 [09:17:52]Write to MH i2c: E2 08 00 88 02 80 17 00 00 00 00 00 00 0A [09:17:52]Write i2c OK [09:17:52]MH_I2C_Read... [09:17:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:52]Read from MH i2c: E2 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 [09:17:52]MH_I2C_Read... [09:17:52]Read from MH i2c: E2 FD 00 88 02 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 7C [09:17:52]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 [09:17:52]wFMCommunicate OK [09:17:52]wFMCommunicate request_size=4 [09:17:52]MH_SAM_APDU [09:17:52]CAPDU: 80 17 00 00 [09:17:52]Write to MH i2c: E2 08 00 89 02 80 17 00 00 00 00 00 00 0B [09:17:52]Write i2c OK [09:17:52]MH_I2C_Read... [09:17:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:17:53]Read from MH i2c: E2 [09:17:53]MH_I2C_Read... [09:17:53]Read from MH i2c: E2 CB 00 [09:17:53]MH_I2C_Read... [09:17:53]Read from MH i2c: E2 CB 00 89 02 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 F4 [09:17:53]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 [09:17:53]wFMCommunicate OK [09:17:53]SAM_PROTO_GetShiftData done [09:17:53]requested_item shift.sale.total_cash is exist - process it [09:17:53]requested_item shift.sale_refund.total is exist - process it [09:17:53]requested_item shift.sale_refund.total_cash is exist - process it [09:17:53]produce_requested_data done [09:17:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56764,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8839.00,"shift.sale.total_cash":6624.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [09:17:53]process_action_free close_receipt [09:17:53]json_value_free [09:17:53]json_value_free done [09:17:53]process_json_proto returns [09:17:53]Send response to host [09:17:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56764,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":8839.00,"shift.sale.total_cash":6624.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [09:17:53]free response buf [09:17:53]execute_script done [09:17:53]execute_script returns [09:17:53]free content buf [09:17:53]Sock 7.Close socket [09:17:53]Sock 7.Thread stoped [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:09]recv_with_timeout no data received [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:54]accept exits with 9 [10:07:54]New connection [10:07:54]New thread 3066781028 created [10:07:54]Thread 3066637668 joined [10:07:54]Waiting for new connection... [10:07:54] Sock 9.Parse request [10:07:54]Sock 9.Check first char [10:07:54]Sock 9.First char is OK [10:07:54]request: POST /json_proto HTTP/1.0 [10:07:54]Method: POST [10:07:54]URL: /json_proto [10:07:54]Method is POST - this is cgi request [10:07:54]url: /json_proto [10:07:54]query_string will be loaded in cgi processing [10:07:54]execute_cgi json_proto POST (null) [10:07:54]execute_cgi path=json_proto method=POST [10:07:54]POST find Content-Length [10:07:54]Host: 172.17.39.4:8080 [10:07:54]Content-Length: 783 [10:07:54]Content-Type: application/json [10:07:54] [10:07:54]POST finish read [10:07:54]Found Content-Length = 783 [10:07:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854084", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:54]execute_script... [10:07: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 : (1)854084", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:07:54]POST & json_proto [10:07:54]process_json_proto [10:07:54]json parsed OK: [10:07:54]protocol is kg_v1.0 [10:07:54]action value=close_receipt [10:07:54]process_action close_receipt [10:07:54]cmd_close_receipt [10:07:54]MH_GetDate [10:07:54]Write to MH i2c: F0 00 00 8A 02 7B [10:07:54]Write i2c OK [10:07:54]MH_I2C_Read... [10:07:54]Read from MH i2c: F0 [10:07:54]MH_I2C_Read... [10:07:54]Read from MH i2c: F0 09 00 [10:07:54]MH_I2C_Read... [10:07:54]Read from MH i2c: F0 09 00 8A 02 00 7C 00 91 66 2D 25 5D 64 0A [10:07:54]GetLastDocTimeStamp 1720775868 [10:07:54]current date 1720778876 [10:07:54]FM_GetShiftState [10:07:54]SAM_PROTO_GetShiftState [10:07:54]wFMCommunicate request_size=4 [10:07:54]MH_SAM_APDU [10:07:54]CAPDU: 80 13 01 00 [10:07:54]Write to MH i2c: E2 08 00 8B 02 80 13 01 00 00 00 00 00 0A [10:07:54]Write i2c OK [10:07:54]MH_I2C_Read... [10:07:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:54]Read from MH i2c: E2 [10:07:54]MH_I2C_Read... [10:07:54]Read from MH i2c: E2 0E 00 [10:07:54]MH_I2C_Read... [10:07:54]Read from MH i2c: E2 0E 00 8B 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 0B [10:07:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [10:07:54]wFMCommunicate OK [10:07:54]SAM_PROTO_GetShiftState done [10:07:54]FM_GetShiftState done [10:07:54]opened in 1720744326 [10:07:54]opened+sec_in_day 1720830726 [10:07:54]quantity*price = 100042 [10:07:54]sum+1 = 100044 [10:07:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 33 12.07.2024 10:07 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56765 ФПД: 190416085533002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T100756&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56765&fm=190416085533002&tin=02508201610067®Number=0000000000091208&sum=100000 [10:07:55]StoreToDocumentArchive [10:07:55]shift 494 fd 56765 [10:07:55]save to /storage/0494/doc_00056765 [10:07:55]save last doc name /storage/0494/doc_00056765 to /storage/kkm_last_doc_name [10:07:55]save OK [10:07:55]Clear old archive folders... [10:07:55]ProcessDocumentItem done err = 0, tmpTLVsize=248 [10:07:55]tlvbuf is 01AAD600 [10:07:55]SAM_PROTO_ClearQueue [10:07:55]wFMCommunicate request_size=4 [10:07:55]MH_SAM_APDU [10:07:55]CAPDU: 80 09 00 00 [10:07:55]Write to MH i2c: E2 08 00 98 02 80 09 00 00 00 00 00 00 0C [10:07:55]Write i2c OK [10:07:55]MH_I2C_Read... [10:07:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:55]Read from MH i2c: E2 [10:07:55]MH_I2C_Read... [10:07:55]Read from MH i2c: E2 03 00 [10:07:55]MH_I2C_Read... [10:07:55]Read from MH i2c: E2 03 00 98 02 00 90 00 0E [10:07:55]RAPDU: 90 00 [10:07:55]wFMCommunicate OK [10:07:55]SAM_PROTO_ClearQueue done [10:07:55]KKMCreateOFDPacket [10:07:55]OFDProtocolAddRootSTLVToBuf [10:07:55]FM_MakeSignedData [10:07:55]FM_MakeSignedData [10:07:55]SAM_PROTO_SignData [10:07:55]wFMCommunicate request_size=4 [10:07:55]MH_SAM_APDU [10:07:55]CAPDU: 80 0D 01 02 [10:07:55]Write to MH i2c: E2 08 00 99 02 80 0D 01 02 00 00 00 00 14 [10:07:55]Write i2c OK [10:07:55]MH_I2C_Read... [10:07:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:55]Read from MH i2c: E2 [10:07:55]MH_I2C_Read... [10:07:55]Read from MH i2c: E2 03 00 [10:07:55]MH_I2C_Read... [10:07:55]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [10:07:55]RAPDU: 90 00 [10:07:55]wFMCommunicate OK [10:07:55]wFMCommunicate request_size=255 [10:07:55]MH_SAM_APDU [10:07:55]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 7C 00 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DD 00 00 35 04 06 00 AD 2E B3 23 [10:07:55]Write to MH i2c: E2 02 01 9A 02 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 7C 00 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DD 00 00 35 04 06 00 AD 2E B3 23 00 00 83 [10:07:56]Write i2c OK [10:07:56]MH_I2C_Read... [10:07:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:56]Read from MH i2c: E2 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 03 00 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 03 00 9A 02 00 90 00 10 [10:07:56]RAPDU: 90 00 [10:07:56]wFMCommunicate OK [10:07:56]wFMCommunicate request_size=7 [10:07:56]MH_SAM_APDU [10:07:56]CAPDU: 80 0D 02 02 02 41 4A [10:07:56]Write to MH i2c: E2 0A 00 9B 02 80 0D 02 02 02 00 41 4A 00 00 A6 [10:07:56]Write i2c OK [10:07:56]MH_I2C_Read... [10:07:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:56]Read from MH i2c: E2 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 03 00 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [10:07:56]RAPDU: 90 00 [10:07:56]wFMCommunicate OK [10:07:56]wFMCommunicate request_size=4 [10:07:56]MH_SAM_APDU [10:07:56]CAPDU: 80 0D 03 02 [10:07:56]Write to MH i2c: E2 08 00 9C 02 80 0D 03 02 00 00 00 00 19 [10:07:56]Write i2c OK [10:07:56]MH_I2C_Read... [10:07:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:56]Read from MH i2c: E2 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 0B 00 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 0B 00 9C 02 00 16 EC 3E 3B 7F 97 0B 17 90 00 CD [10:07:56]RAPDU: 16 EC 3E 3B 7F 97 0B 17 90 00 [10:07:56]wFMCommunicate OK [10:07:56]SAM_PROTO_SignData done [10:07:56]FM_MakeSignedData done [10:07:56]CreateOFDProtocolMessage [10:07:56]wFMCommunicate request_size=4 [10:07:56]MH_SAM_APDU [10:07:56]CAPDU: 80 11 00 00 [10:07:56]Write to MH i2c: E2 08 00 9D 02 80 11 00 00 00 00 00 00 19 [10:07:56]Write i2c OK [10:07:56]MH_I2C_Read... [10:07:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:56]Read from MH i2c: E2 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 17 00 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: E2 17 00 9D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 73 [10:07:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:07:56]wFMCommunicate OK [10:07:56]CreateOFDProtocolMessage done [10:07:56]OFDSenderStorePacket 56765 [10:07:56]StoreOFDPacket docnum=56765 [10:07:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 67 EB 04 01 D5 CA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 7C 00 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DD 00 00 35 04 06 00 AD 2E B3 23 41 4A 16 EC 3E 3B 7F 97 0B 17 [10:07:56]CheckFolder [10:07:56]dirname=/storage/ofd_packets [10:07:56]CheckFolder done [10:07:56]ProducePacketName [10:07:56]name=ofd_packets/00056765 [10:07:56]NVStorageSaveData ofd_packets/00056765 [10:07:56]File name is /storage/ofd_packets/00056765 [10:07:56]Write 298 bytes [10:07:56]NVStorageSaveData done [10:07:56]OFDSenderStorePacket done [10:07:56]KKMCreateOFDPacket done [10:07:56]NVStorageSaveData kkm_last_timestamp [10:07:56]File name is /storage/kkm_last_timestamp [10:07:56]Write 4 bytes [10:07:56]NVStorageSaveData done [10:07:56]ExternCall_PrintAddStr [10:07:56]wPrintStart [10:07:56]Write to MH i2c: 01 00 00 9E 02 A0 [10:07:56]Write i2c OK [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: 01 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: 01 07 00 [10:07:56]MH_I2C_Read... [10:07:56]Read from MH i2c: 01 07 00 9E 02 00 00 00 00 00 FF 0F B5 [10:07:56]RasterBufferAndPrint [10:07:56]line Счет N : (1)854084 [10:07:56]line ИНН: 02508201610067 [10:07:56]line Контрольно-Кассовый Чек [10:07:56]line ПРОДАЖА [10:07:56]line ТРК (МРК, ГНК) : 51 [10:07:56]line Товар: 2710194210 [10:07:56]line ДТ-К-5 [10:07:56]line 13.780 * 72.60 [10:07:56]line = 1000.43 [10:07:56]line НДС 12% НСП 1% [10:07:56]line > о реализуемом товаре [10:07:56]line ОКРУГЛЕНИЕ: -0.43 [10:07:56]line ИТОГО: 1000.00 [10:07:56]line Внесено: 1000.00 [10:07:56]line СДАЧА: 0.00 [10:07:56]line НСП 1% : 8.85 [10:07:56]line НДС 12% : 106.24 [10:07:56]line Наличными: 1000.00 [10:07:56]line Безнал.: 0.00 [10:07:56]line Место: АЗС № 132 "Партнер Нефть" [10:07:56]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:07:56]line СНО: Общий режим [10:07:56]line Чек 33 12.07.2024 10:07 [10:07:56]line Смена: 494 ФФД: 1.0 [10:07:56]line ЗНМ: 0300000132 [10:07:56]line РНМ: 0000000000091208 [10:07:56]line Версия ККМ: 001 [10:07:56]line ФМ: 0000000000874857 [10:07:56]line ФД: 56765 [10:07:56]line ФПД: 190416085533002 [10:07:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T100756&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56765&fm=190416085533002&tin=02508201610067®Number=0000000000091208&sum=100000 [10:07:56]OFD Sender: Processing packet 56765 [packets to send 38, broken 37] [10:07:56]ProducePacketName [10:07:56]name=ofd_packets/00056765 [10:07:56]OFD Sender: To server: pG, [10:07:56]CommunicateWithHost lk.salyk.kg:30040 [10:07:56]ConnectInit lk.salyk.kg [10:07:56]written 0, free lines is 4095 [10:07:56]Connected sock=10 [10:07: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 38 35 37 0C 01 00 00 67 EB 04 01 D5 CA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 7C 00 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DD 00 00 35 04 06 00 AD 2E B3 23 41 4A 16 EC 3E 3B 7F 97 0B 17 [10:07:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 C8 0A 47 00 79 0F 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 38 35 37 10 04 04 00 BD DD 00 00 F4 03 04 00 D3 A6 90 66 B6 04 01 00 00 03 12 48 E8 2F C5 64 97 [10:07:57]CommunicateWithHost err = 0 [10:07:57]CheckOFDResponse [10:07:57]1017 (14) - 77093643461234 [10:07:57]1041 (16) - 0000000000874857 [10:07:57]1040 (4) - 56765 [10:07:57]1012 (4) - 12.07.2024 03:45 [10:07:57]1206 (1) - 0 [10:07:57]OFD Sender: Remove packet 56765 [10:07:57]ProducePacketName [10:07:57]name=ofd_packets/00056765 [10:07:57]NVStorageDeleteData [10:07:57]Write to MH i2c: 01 00 00 C9 02 CB [10:07:57]Write i2c OK [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: 01 [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: 01 07 00 [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: 01 07 00 C9 02 00 00 00 00 00 EB 0C C9 [10:07:57]RasterBufferAndPrint [10:07:57]line [10:07:57]line [10:07:57]line [10:07:57]line [10:07:57]line [10:07:57]written 0, free lines is 3313 [10:07:57]MH_Cut [10:07:57]Write to MH i2c: D1 01 00 D0 02 01 A4 [10:07:57]Write i2c OK [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: D1 [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: D1 01 00 [10:07:57]MH_I2C_Read... [10:07:57]Read from MH i2c: D1 01 00 D0 02 00 A3 [10:07:57]Write to MH i2c: 01 00 00 D1 02 D3 [10:07:57]Write i2c OK [10:07:57]MH_I2C_Read... [10:07:57]OFD Sender: No OFD packet to send [10:07:57]*** Cut start [10:07:57]*** Partial cut [10:07:57]*** CUTSNS_PIN = 1 [10:07:57]*** CUTSNS_PIN = 0 [10:07:58]*** Brake cut motor [10:07:58]Read from MH i2c: 01 [10:07:58]MH_I2C_Read... [10:07:58]*** Stop cut motor [10:07:58]*** Cut end [10:07:58]Read from MH i2c: 01 07 00 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: 01 07 00 D1 02 00 00 00 00 00 FF 0F E8 [10:07:58]process_action close_receipt done [10:07:58]requested_data is exist [10:07:58]produce_requested_data [10:07:58]requested_item fm.sn is exist - process it [10:07:58]wFMCommunicate request_size=4 [10:07:58]MH_SAM_APDU [10:07:58]CAPDU: 80 11 00 00 [10:07:58]Write to MH i2c: E2 08 00 D2 02 80 11 00 00 00 00 00 00 4E [10:07:58]Write i2c OK [10:07:58]MH_I2C_Read... [10:07:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:58]Read from MH i2c: E2 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 17 00 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 17 00 D2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A8 [10:07:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:07:58]wFMCommunicate OK [10:07:58]requested_item fd.num is exist - process it [10:07:58]SAM_PROTO_GetFieldsCounters [10:07:58]wFMCommunicate request_size=4 [10:07:58]MH_SAM_APDU [10:07:58]CAPDU: 80 13 00 00 [10:07:58]Write to MH i2c: E2 08 00 D3 02 80 13 00 00 00 00 00 00 51 [10:07:58]Write i2c OK [10:07:58]MH_I2C_Read... [10:07:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:58]Read from MH i2c: E2 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 62 00 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 62 00 D3 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BD DD 00 00 0E 04 04 00 EE 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 60 [10:07: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BD DD 00 00 0E 04 04 00 EE 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 [10:07:58]wFMCommunicate OK [10:07:58]SAM_PROTO_GetFieldsCounters done [10:07:58]requested_item shift.num is exist - process it [10:07:58]requested_item shift.opened is exist - process it [10:07:58]req_shift_opened [10:07:58]FM_GetShiftState [10:07:58]SAM_PROTO_GetShiftState [10:07:58]wFMCommunicate request_size=4 [10:07:58]MH_SAM_APDU [10:07:58]CAPDU: 80 13 01 00 [10:07:58]Write to MH i2c: E2 08 00 D4 02 80 13 01 00 00 00 00 00 53 [10:07:58]Write i2c OK [10:07:58]MH_I2C_Read... [10:07:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:58]Read from MH i2c: E2 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 0E 00 [10:07:58]MH_I2C_Read... [10:07:58]Read from MH i2c: E2 0E 00 D4 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 54 [10:07:58]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [10:07:58]wFMCommunicate OK [10:07:58]SAM_PROTO_GetShiftState done [10:07:58]FM_GetShiftState done [10:07:58]req_shift_opened done [10:07:58]requested_item shift.open_date is exist - process it [10:07:58]req_shift_open_date [10:07:58]req_shift_open_date done [10:07:58]requested_item shift.sale.total is exist - process it [10:07:58]SAM_PROTO_GetShiftData [10:07:58]wFMCommunicate request_size=4 [10:07:58]MH_SAM_APDU [10:07:58]CAPDU: 80 13 02 00 [10:07:58]Write to MH i2c: E2 08 00 D5 02 80 13 02 00 00 00 00 00 55 [10:07:58]Write i2c OK [10:07:58]MH_I2C_Read... [10:07:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:07:59]Read from MH i2c: E2 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 D5 02 00 AE 04 AA 04 AA 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 5C 03 0F 70 04 03 00 20 A2 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 28 98 01 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 01 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 17 [10:07:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 5C 03 0F 70 04 03 00 20 A2 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 28 98 01 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 01 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:07:59]wFMCommunicate OK [10:07:59]wFMCommunicate request_size=4 [10:07:59]MH_SAM_APDU [10:07:59]CAPDU: 80 17 00 00 [10:07:59]Write to MH i2c: E2 08 00 D6 02 80 17 00 00 00 00 00 00 58 [10:07:59]Write i2c OK [10:07:59]MH_I2C_Read... [10:07:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:59]Read from MH i2c: E2 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 D6 02 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 7A [10:07:59]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 [10:07:59]wFMCommunicate OK [10:07:59]wFMCommunicate request_size=4 [10:07:59]MH_SAM_APDU [10:07:59]CAPDU: 80 17 00 00 [10:07:59]Write to MH i2c: E2 08 00 D7 02 80 17 00 00 00 00 00 00 59 [10:07:59]Write i2c OK [10:07:59]MH_I2C_Read... [10:07:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:07:59]Read from MH i2c: E2 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 [10:07:59]MH_I2C_Read... [10:07:59]Read from MH i2c: E2 FD 00 D7 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 [10:07:59]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 [10:07:59]wFMCommunicate OK [10:07:59]wFMCommunicate request_size=4 [10:07:59]MH_SAM_APDU [10:07:59]CAPDU: 80 17 00 00 [10:07:59]Write to MH i2c: E2 08 00 D8 02 80 17 00 00 00 00 00 00 5A [10:07:59]Write i2c OK [10:07:59]MH_I2C_Read... [10:08:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:00]Read from MH i2c: E2 [10:08:00]MH_I2C_Read... [10:08:00]Read from MH i2c: E2 FD 00 [10:08:00]MH_I2C_Read... [10:08:00]Read from MH i2c: E2 FD 00 D8 02 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 CC [10:08:00]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 [10:08:00]wFMCommunicate OK [10:08:00]wFMCommunicate request_size=4 [10:08:00]MH_SAM_APDU [10:08:00]CAPDU: 80 17 00 00 [10:08:00]Write to MH i2c: E2 08 00 D9 02 80 17 00 00 00 00 00 00 5B [10:08:00]Write i2c OK [10:08:00]MH_I2C_Read... [10:08:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:08:00]Read from MH i2c: E2 [10:08:00]MH_I2C_Read... [10:08:00]Read from MH i2c: E2 CB 00 [10:08:00]MH_I2C_Read... [10:08:00]Read from MH i2c: E2 CB 00 D9 02 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 44 [10:08:00]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 [10:08:00]wFMCommunicate OK [10:08:00]SAM_PROTO_GetShiftData done [10:08:00]requested_item shift.sale.total_cash is exist - process it [10:08:00]requested_item shift.sale_refund.total is exist - process it [10:08:00]requested_item shift.sale_refund.total_cash is exist - process it [10:08:00]produce_requested_data done [10:08:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56765,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":9839.00,"shift.sale.total_cash":7624.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:08:00]process_action_free close_receipt [10:08:00]json_value_free [10:08:00]json_value_free done [10:08:00]process_json_proto returns [10:08:00]Send response to host [10:08:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56765,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":9839.00,"shift.sale.total_cash":7624.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:08:00]free response buf [10:08:00]execute_script done [10:08:00]execute_script returns [10:08:00]free content buf [10:08:00]Sock 9.Close socket [10:08:00]Sock 9.Thread stoped [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:32]OFD Sender: No OFD packet to send [10:08:37]OFD Sender: No OFD packet to send [10:08:42]OFD Sender: No OFD packet to send [10:08:47]OFD Sender: No OFD packet to send [10:08:52]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]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:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:36]accept exits with 7 [10:46:36]New connection [10:46:36]New thread 3066637668 created [10:46:36]Thread 3066781028 joined [10:46:36]Waiting for new connection... [10:46:36] Sock 7.Parse request [10:46:36]Sock 7.Check first char [10:46:36]Sock 7.First char is OK [10:46:36]request: POST /json_proto HTTP/1.0 [10:46:36]Method: POST [10:46:36]URL: /json_proto [10:46:36]Method is POST - this is cgi request [10:46:36]url: /json_proto [10:46:36]query_string will be loaded in cgi processing [10:46:36]execute_cgi json_proto POST (null) [10:46:36]execute_cgi path=json_proto method=POST [10:46:36]POST find Content-Length [10:46:36]Host: 172.17.39.4:8080 [10:46:36]Content-Length: 804 [10:46:36]Content-Type: application/json [10:46:36] [10:46:36]POST finish read [10:46:36]Found Content-Length = 804 [10:46:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129265", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 82.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:46:36]execute_script... [10:46:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129265", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 82.00, "quantity" : 1.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 82.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:46:36]POST & json_proto [10:46:36]process_json_proto [10:46:36]json parsed OK: [10:46:36]protocol is kg_v1.0 [10:46:36]action value=close_receipt [10:46:36]process_action close_receipt [10:46:36]cmd_close_receipt [10:46:36]MH_GetDate [10:46:36]Write to MH i2c: F0 00 00 DA 02 CB [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: F0 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: F0 09 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: F0 09 00 DA 02 00 8D 09 91 66 2D 25 5D 64 74 [10:46:36]GetLastDocTimeStamp 1720778876 [10:46:36]current date 1720781197 [10:46:36]FM_GetShiftState [10:46:36]SAM_PROTO_GetShiftState [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 13 01 00 [10:46:36]Write to MH i2c: E2 08 00 DB 02 80 13 01 00 00 00 00 00 5A [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 0E 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 0E 00 DB 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 5B [10:46:36]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [10:46:36]wFMCommunicate OK [10:46:36]SAM_PROTO_GetShiftState done [10:46:36]FM_GetShiftState done [10:46:36]opened in 1720744326 [10:46:36]opened+sec_in_day 1720830726 [10:46:36]quantity*price = 8200 [10:46:36]sum+1 = 8201 [10:46:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 82.00 НСП 1% : 0.73 НДС 12% : 8.71 Наличными: 82.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 34 12.07.2024 10:46 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56766 ФПД: 255058115751898 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T104637&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56766&fm=255058115751898&tin=02508201610067®Number=0000000000091208&sum=8200 0 [10:46:37]StoreToDocumentArchive [10:46:37]shift 494 fd 56766 [10:46:37]save to /storage/0494/doc_00056766 [10:46:37]save last doc name /storage/0494/doc_00056766 to /storage/kkm_last_doc_name [10:46:37]save OK [10:46:37]Clear old archive folders... [10:46:37]ProcessDocumentItem done err = 0, tmpTLVsize=303 [10:46:37]tlvbuf is 01ADEF50 [10:46:37]SAM_PROTO_ClearQueue [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 09 00 00 [10:46:37]Write to MH i2c: E2 08 00 E8 02 80 09 00 00 00 00 00 00 5C [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 E8 02 00 90 00 5E [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]SAM_PROTO_ClearQueue done [10:46:37]KKMCreateOFDPacket [10:46:37]OFDProtocolAddRootSTLVToBuf [10:46:37]FM_MakeSignedData [10:46:37]FM_MakeSignedData [10:46:37]SAM_PROTO_SignData [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 01 02 [10:46:37]Write to MH i2c: E2 08 00 E9 02 80 0D 01 02 00 00 00 00 64 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 E9 02 00 90 00 5F [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]wFMCommunicate request_size=255 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 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 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 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 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 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 8D 09 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D [10:46:37]Write to MH i2c: E2 02 01 EA 02 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 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 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 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 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 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 8D 09 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 00 00 81 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 EA 02 00 90 00 60 [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]wFMCommunicate request_size=62 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DD 00 00 35 04 06 00 E7 F9 58 62 EF DA [10:46:37]Write to MH i2c: E2 41 00 EB 02 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DD 00 00 35 04 06 00 E7 F9 58 62 EF DA 00 00 A2 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 EB 02 00 90 00 61 [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 03 02 [10:46:37]Write to MH i2c: E2 08 00 EC 02 80 0D 03 02 00 00 00 00 69 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 0B 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 0B 00 EC 02 00 E1 EF D2 3D 15 67 7B 29 90 00 69 [10:46:37]RAPDU: E1 EF D2 3D 15 67 7B 29 90 00 [10:46:37]wFMCommunicate OK [10:46:37]SAM_PROTO_SignData done [10:46:37]FM_MakeSignedData done [10:46:37]CreateOFDProtocolMessage [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 11 00 00 [10:46:37]Write to MH i2c: E2 08 00 ED 02 80 11 00 00 00 00 00 00 69 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 17 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 17 00 ED 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C3 [10:46:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:46:37]wFMCommunicate OK [10:46:37]CreateOFDProtocolMessage done [10:46:37]OFDSenderStorePacket 56766 [10:46:37]StoreOFDPacket docnum=56766 [10:46:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 72 2D 3B 01 44 E1 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 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 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 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 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 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 8D 09 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DD 00 00 35 04 06 00 E7 F9 58 62 EF DA E1 EF D2 3D 15 67 7B 29 [10:46:37]CheckFolder [10:46:37]dirname=/storage/ofd_packets [10:46:37]CheckFolder done [10:46:37]ProducePacketName [10:46:37]name=ofd_packets/00056766 [10:46:37]NVStorageSaveData ofd_packets/00056766 [10:46:37]File name is /storage/ofd_packets/00056766 [10:46:37]Write 353 bytes [10:46:37]NVStorageSaveData done [10:46:37]OFDSenderStorePacket done [10:46:37]KKMCreateOFDPacket done [10:46:37]NVStorageSaveData kkm_last_timestamp [10:46:37]File name is /storage/kkm_last_timestamp [10:46:37]Write 4 bytes [10:46:37]NVStorageSaveData done [10:46:37]ExternCall_PrintAddStr [10:46:37]wPrintStart [10:46:37]Write to MH i2c: 01 00 00 EE 02 F0 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 07 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 07 00 EE 02 00 00 00 00 00 FF 0F 05 [10:46:37]RasterBufferAndPrint [10:46:37]line Счет N : (3)129265 [10:46:37]line ИНН: 02508201610067 [10:46:37]line Контрольно-Кассовый Чек [10:46:37]line ПРОДАЖА [10:46:37]line Товар: 4700000482757 [10:46:37]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [10:46:37]line 1.000 * 82.00 [10:46:37]line = 82.00 [10:46:37]line НДС 12% НСП 1% [10:46:37]line > о реализуемом товаре [10:46:37]line ИТОГО: 82.00 [10:46:37]line НСП 1% : 0.73 [10:46:37]line НДС 12% : 8.71 [10:46:37]line Наличными: 82.00 [10:46:37]line Безнал.: 0.00 [10:46:37]line Место: АЗС № 132 "Партнер Нефть" [10:46:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:46:37]line СНО: Общий режим [10:46:37]line Чек 34 12.07.2024 10:46 [10:46:37]line Смена: 494 ФФД: 1.0 [10:46:37]line ЗНМ: 0300000132 [10:46:37]line РНМ: 0000000000091208 [10:46:37]line Версия ККМ: 001 [10:46:37]line ФМ: 0000000000874857 [10:46:37]line ФД: 56766 [10:46:37]line ФПД: 255058115751898 [10:46:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T104637&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56766&fm=255058115751898&tin=02508201610067®Number=0000000000091208&sum=8200 [10:46:38]line 0 [10:46:38]OFD Sender: Processing packet 56766 [packets to send 38, broken 37] [10:46:38]ProducePacketName [10:46:38]name=ofd_packets/00056766 [10:46:38]OFD Sender: To server: pG, [10:46:38]CommunicateWithHost lk.salyk.kg:30040 [10:46:38]ConnectInit lk.salyk.kg [10:46:38]written 0, free lines is 4095 [10:46:38]Connected sock=10 [10:46: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 38 35 37 43 01 00 00 72 2D 3B 01 44 E1 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 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 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 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 08 20 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 03 00 00 00 00 07 04 06 00 08 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 8D 09 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DD 00 00 35 04 06 00 E7 F9 58 62 EF DA E1 EF D2 3D 15 67 7B 29 [10:46:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 C2 88 47 00 27 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 38 35 37 10 04 04 00 BE DD 00 00 F4 03 04 00 E5 AF 90 66 B6 04 01 00 00 6A 4F 03 02 A2 38 25 86 [10:46:38]CommunicateWithHost err = 0 [10:46:38]CheckOFDResponse [10:46:38]1017 (14) - 77093643461234 [10:46:38]1041 (16) - 0000000000874857 [10:46:38]1040 (4) - 56766 [10:46:38]1012 (4) - 12.07.2024 04:24 [10:46:38]1206 (1) - 0 [10:46:38]OFD Sender: Remove packet 56766 [10:46:38]ProducePacketName [10:46:38]name=ofd_packets/00056766 [10:46:38]NVStorageDeleteData [10:46:38]Write to MH i2c: 01 00 00 17 03 1A [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 07 00 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 07 00 17 03 00 00 00 00 00 EB 0C 18 [10:46:38]RasterBufferAndPrint [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]written 0, free lines is 3313 [10:46:38]MH_Cut [10:46:38]Write to MH i2c: D1 01 00 1E 03 01 F3 [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 01 00 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 01 00 1E 03 00 F2 [10:46:38]Write to MH i2c: 01 00 00 1F 03 22 [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:39]OFD Sender: No OFD packet to send [10:46:39]*** Cut start [10:46:39]*** Partial cut [10:46:39]*** CUTSNS_PIN = 1 [10:46:39]*** CUTSNS_PIN = 0 [10:46:39]*** Brake cut motor [10:46:40]Read from MH i2c: 01 [10:46:40]MH_I2C_Read... [10:46:40]*** Stop cut motor [10:46:40]*** Cut end [10:46:40]Read from MH i2c: 01 07 00 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: 01 07 00 1F 03 00 00 00 00 00 FF 0F 37 [10:46:40]process_action close_receipt done [10:46:40]requested_data is exist [10:46:40]produce_requested_data [10:46:40]requested_item fm.sn is exist - process it [10:46:40]wFMCommunicate request_size=4 [10:46:40]MH_SAM_APDU [10:46:40]CAPDU: 80 11 00 00 [10:46:40]Write to MH i2c: E2 08 00 20 03 80 11 00 00 00 00 00 00 9D [10:46:40]Write i2c OK [10:46:40]MH_I2C_Read... [10:46:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:40]Read from MH i2c: E2 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 17 00 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 17 00 20 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F7 [10:46:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:46:40]wFMCommunicate OK [10:46:40]requested_item fd.num is exist - process it [10:46:40]SAM_PROTO_GetFieldsCounters [10:46:40]wFMCommunicate request_size=4 [10:46:40]MH_SAM_APDU [10:46:40]CAPDU: 80 13 00 00 [10:46:40]Write to MH i2c: E2 08 00 21 03 80 13 00 00 00 00 00 00 A0 [10:46:40]Write i2c OK [10:46:40]MH_I2C_Read... [10:46:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:40]Read from MH i2c: E2 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 62 00 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 62 00 21 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BE DD 00 00 0E 04 04 00 EE 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 B3 [10:46: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BE DD 00 00 0E 04 04 00 EE 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 [10:46:40]wFMCommunicate OK [10:46:40]SAM_PROTO_GetFieldsCounters done [10:46:40]requested_item shift.num is exist - process it [10:46:40]requested_item shift.opened is exist - process it [10:46:40]req_shift_opened [10:46:40]FM_GetShiftState [10:46:40]SAM_PROTO_GetShiftState [10:46:40]wFMCommunicate request_size=4 [10:46:40]MH_SAM_APDU [10:46:40]CAPDU: 80 13 01 00 [10:46:40]Write to MH i2c: E2 08 00 22 03 80 13 01 00 00 00 00 00 A2 [10:46:40]Write i2c OK [10:46:40]MH_I2C_Read... [10:46:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:40]Read from MH i2c: E2 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 0E 00 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 0E 00 22 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 A3 [10:46:40]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [10:46:40]wFMCommunicate OK [10:46:40]SAM_PROTO_GetShiftState done [10:46:40]FM_GetShiftState done [10:46:40]req_shift_opened done [10:46:40]requested_item shift.open_date is exist - process it [10:46:40]req_shift_open_date [10:46:40]req_shift_open_date done [10:46:40]requested_item shift.sale.total is exist - process it [10:46:40]SAM_PROTO_GetShiftData [10:46:40]wFMCommunicate request_size=4 [10:46:40]MH_SAM_APDU [10:46:40]CAPDU: 80 13 02 00 [10:46:40]Write to MH i2c: E2 08 00 23 03 80 13 02 00 00 00 00 00 A4 [10:46:40]Write i2c OK [10:46:40]MH_I2C_Read... [10:46:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:46:40]Read from MH i2c: E2 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 FD 00 [10:46:40]MH_I2C_Read... [10:46:40]Read from MH i2c: E2 FD 00 23 03 00 AE 04 AA 04 AA 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 64 23 0F 70 04 03 00 28 C2 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8F 9B 01 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 4A 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6B [10:46:40]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 64 23 0F 70 04 03 00 28 C2 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8F 9B 01 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 4A 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:46:40]wFMCommunicate OK [10:46:40]wFMCommunicate request_size=4 [10:46:40]MH_SAM_APDU [10:46:40]CAPDU: 80 17 00 00 [10:46:40]Write to MH i2c: E2 08 00 24 03 80 17 00 00 00 00 00 00 A7 [10:46:40]Write i2c OK [10:46:40]MH_I2C_Read... [10:46:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:41]Read from MH i2c: E2 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 24 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C9 [10:46:41]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 [10:46:41]wFMCommunicate OK [10:46:41]wFMCommunicate request_size=4 [10:46:41]MH_SAM_APDU [10:46:41]CAPDU: 80 17 00 00 [10:46:41]Write to MH i2c: E2 08 00 25 03 80 17 00 00 00 00 00 00 A8 [10:46:41]Write i2c OK [10:46:41]MH_I2C_Read... [10:46:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:41]Read from MH i2c: E2 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 25 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5F [10:46:41]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 [10:46:41]wFMCommunicate OK [10:46:41]wFMCommunicate request_size=4 [10:46:41]MH_SAM_APDU [10:46:41]CAPDU: 80 17 00 00 [10:46:41]Write to MH i2c: E2 08 00 26 03 80 17 00 00 00 00 00 00 A9 [10:46:41]Write i2c OK [10:46:41]MH_I2C_Read... [10:46:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:46:41]Read from MH i2c: E2 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 FD 00 26 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1B [10:46:41]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 [10:46:41]wFMCommunicate OK [10:46:41]wFMCommunicate request_size=4 [10:46:41]MH_SAM_APDU [10:46:41]CAPDU: 80 17 00 00 [10:46:41]Write to MH i2c: E2 08 00 27 03 80 17 00 00 00 00 00 00 AA [10:46:41]Write i2c OK [10:46:41]MH_I2C_Read... [10:46:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:46:41]Read from MH i2c: E2 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 CB 00 [10:46:41]MH_I2C_Read... [10:46:41]Read from MH i2c: E2 CB 00 27 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 93 [10:46:41]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 [10:46:41]wFMCommunicate OK [10:46:41]SAM_PROTO_GetShiftData done [10:46:41]requested_item shift.sale.total_cash is exist - process it [10:46:41]requested_item shift.sale_refund.total is exist - process it [10:46:41]requested_item shift.sale_refund.total_cash is exist - process it [10:46:41]produce_requested_data done [10:46:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56766,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":9921.00,"shift.sale.total_cash":7706.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [10:46:41]process_action_free close_receipt [10:46:41]json_value_free [10:46:41]json_value_free done [10:46:41]process_json_proto returns [10:46:41]Send response to host [10:46:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56766,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":9921.00,"shift.sale.total_cash":7706.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [10:46:41]free response buf [10:46:41]execute_script done [10:46:41]execute_script returns [10:46:41]free content buf [10:46:41]Sock 7.Close socket [10:46:41]Sock 7.Thread stoped [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:06]accept exits with 9 [11:31:06]New connection [11:31:06]New thread 3066781028 created [11:31:06]Thread 3066637668 joined [11:31:06]Waiting for new connection... [11:31:06] Sock 9.Parse request [11:31:06]Sock 9.Check first char [11:31:06]Sock 9.First char is OK [11:31:06]request: POST /json_proto HTTP/1.0 [11:31:06]Method: POST [11:31:06]URL: /json_proto [11:31:06]Method is POST - this is cgi request [11:31:06]url: /json_proto [11:31:06]query_string will be loaded in cgi processing [11:31:06]execute_cgi json_proto POST (null) [11:31:06]execute_cgi path=json_proto method=POST [11:31:06]POST find Content-Length [11:31:06]Host: 172.17.39.4:8080 [11:31:06]Content-Length: 815 [11:31:06]Content-Type: application/json [11:31:06] [11:31:06]POST finish read [11:31:06]Found Content-Length = 815 [11:31:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129266", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:31:06]execute_script... [11:31: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)129266", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:31:06]POST & json_proto [11:31:06]process_json_proto [11:31:06]json parsed OK: [11:31:06]protocol is kg_v1.0 [11:31:06]action value=close_receipt [11:31:06]process_action close_receipt [11:31:06]cmd_close_receipt [11:31:06]MH_GetDate [11:31:06]Write to MH i2c: F0 00 00 28 03 1A [11:31:06]Write i2c OK [11:31:06]MH_I2C_Read... [11:31:06]Read from MH i2c: F0 [11:31:06]MH_I2C_Read... [11:31:06]Read from MH i2c: F0 09 00 [11:31:06]MH_I2C_Read... [11:31:06]Read from MH i2c: F0 09 00 28 03 00 FC 13 91 66 2D 25 5D 64 3C [11:31:06]GetLastDocTimeStamp 1720781197 [11:31:06]current date 1720783868 [11:31:06]FM_GetShiftState [11:31:06]SAM_PROTO_GetShiftState [11:31:06]wFMCommunicate request_size=4 [11:31:06]MH_SAM_APDU [11:31:06]CAPDU: 80 13 01 00 [11:31:06]Write to MH i2c: E2 08 00 29 03 80 13 01 00 00 00 00 00 A9 [11:31:06]Write i2c OK [11:31:06]MH_I2C_Read... [11:31:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:06]Read from MH i2c: E2 [11:31:06]MH_I2C_Read... [11:31:06]Read from MH i2c: E2 0E 00 [11:31:06]MH_I2C_Read... [11:31:06]Read from MH i2c: E2 0E 00 29 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 AA [11:31:06]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:31:06]wFMCommunicate OK [11:31:06]SAM_PROTO_GetShiftState done [11:31:06]FM_GetShiftState done [11:31:06]opened in 1720744326 [11:31:06]opened+sec_in_day 1720830726 [11:31:06]quantity*price = 11000 [11:31:06]sum+1 = 11001 [11:31:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 35 12.07.2024 11:31 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56767 ФПД: 48159297379789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113108&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56767&fm=48159297379789&tin=02508201610067®Number=0000000000091208&sum=11000 0 [11:31:08]StoreToDocumentArchive [11:31:08]shift 494 fd 56767 [11:31:08]save to /storage/0494/doc_00056767 [11:31:08]save last doc name /storage/0494/doc_00056767 to /storage/kkm_last_doc_name [11:31:08]save OK [11:31:08]Clear old archive folders... [11:31:08]ProcessDocumentItem done err = 0, tmpTLVsize=303 [11:31:08]tlvbuf is 01ADEDF0 [11:31:08]SAM_PROTO_ClearQueue [11:31:08]wFMCommunicate request_size=4 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 09 00 00 [11:31:08]Write to MH i2c: E2 08 00 36 03 80 09 00 00 00 00 00 00 AB [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 36 03 00 90 00 AD [11:31:08]RAPDU: 90 00 [11:31:08]wFMCommunicate OK [11:31:08]SAM_PROTO_ClearQueue done [11:31:08]KKMCreateOFDPacket [11:31:08]OFDProtocolAddRootSTLVToBuf [11:31:08]FM_MakeSignedData [11:31:08]FM_MakeSignedData [11:31:08]SAM_PROTO_SignData [11:31:08]wFMCommunicate request_size=4 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 0D 01 02 [11:31:08]Write to MH i2c: E2 08 00 37 03 80 0D 01 02 00 00 00 00 B3 [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 37 03 00 90 00 AE [11:31:08]RAPDU: 90 00 [11:31:08]wFMCommunicate OK [11:31:08]wFMCommunicate request_size=255 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 23 00 00 00 F4 03 04 00 FC 13 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D [11:31:08]Write to MH i2c: E2 02 01 38 03 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 23 00 00 00 F4 03 04 00 FC 13 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 00 00 BB [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 38 03 00 90 00 AF [11:31:08]RAPDU: 90 00 [11:31:08]wFMCommunicate OK [11:31:08]wFMCommunicate request_size=62 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DD 00 00 35 04 06 00 2B CC F5 D0 1D CD [11:31:08]Write to MH i2c: E2 41 00 39 03 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DD 00 00 35 04 06 00 2B CC F5 D0 1D CD 00 00 35 [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 03 00 39 03 00 90 00 B0 [11:31:08]RAPDU: 90 00 [11:31:08]wFMCommunicate OK [11:31:08]wFMCommunicate request_size=4 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 0D 03 02 [11:31:08]Write to MH i2c: E2 08 00 3A 03 80 0D 03 02 00 00 00 00 B8 [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 0B 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 0B 00 3A 03 00 9C 10 F4 C6 4B 8C E5 C1 90 00 9C [11:31:08]RAPDU: 9C 10 F4 C6 4B 8C E5 C1 90 00 [11:31:08]wFMCommunicate OK [11:31:08]SAM_PROTO_SignData done [11:31:08]FM_MakeSignedData done [11:31:08]CreateOFDProtocolMessage [11:31:08]wFMCommunicate request_size=4 [11:31:08]MH_SAM_APDU [11:31:08]CAPDU: 80 11 00 00 [11:31:08]Write to MH i2c: E2 08 00 3B 03 80 11 00 00 00 00 00 00 B8 [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:08]Read from MH i2c: E2 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 17 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: E2 17 00 3B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 12 [11:31:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:31:08]wFMCommunicate OK [11:31:08]CreateOFDProtocolMessage done [11:31:08]OFDSenderStorePacket 56767 [11:31:08]StoreOFDPacket docnum=56767 [11:31:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 9A 1B 3B 01 5F FD 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 23 00 00 00 F4 03 04 00 FC 13 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DD 00 00 35 04 06 00 2B CC F5 D0 1D CD 9C 10 F4 C6 4B 8C E5 C1 [11:31:08]CheckFolder [11:31:08]dirname=/storage/ofd_packets [11:31:08]CheckFolder done [11:31:08]ProducePacketName [11:31:08]name=ofd_packets/00056767 [11:31:08]NVStorageSaveData ofd_packets/00056767 [11:31:08]File name is /storage/ofd_packets/00056767 [11:31:08]Write 353 bytes [11:31:08]NVStorageSaveData done [11:31:08]OFDSenderStorePacket done [11:31:08]KKMCreateOFDPacket done [11:31:08]NVStorageSaveData kkm_last_timestamp [11:31:08]File name is /storage/kkm_last_timestamp [11:31:08]Write 4 bytes [11:31:08]NVStorageSaveData done [11:31:08]ExternCall_PrintAddStr [11:31:08]wPrintStart [11:31:08]Write to MH i2c: 01 00 00 3C 03 3F [11:31:08]Write i2c OK [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: 01 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: 01 07 00 [11:31:08]MH_I2C_Read... [11:31:08]Read from MH i2c: 01 07 00 3C 03 00 00 00 00 00 FF 0F 54 [11:31:08]RasterBufferAndPrint [11:31:08]line Счет N : (3)129266 [11:31:08]line ИНН: 02508201610067 [11:31:08]line Контрольно-Кассовый Чек [11:31:08]line ПРОДАЖА [11:31:08]line Товар: 4870202521216 [11:31:08]line Напиток MAXI чай 1,2 зел.лимон (новый) [11:31:08]line 1.000 * 110.00 [11:31:08]line = 110.00 [11:31:08]line НДС 12% НСП 1% [11:31:08]line > о реализуемом товаре [11:31:08]line ИТОГО: 110.00 [11:31:08]line НСП 1% : 0.97 [11:31:08]line НДС 12% : 11.68 [11:31:08]line Наличными: 110.00 [11:31:08]line Безнал.: 0.00 [11:31:08]line Место: АЗС № 132 "Партнер Нефть" [11:31:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:31:08]line СНО: Общий режим [11:31:08]line Чек 35 12.07.2024 11:31 [11:31:08]line Смена: 494 ФФД: 1.0 [11:31:08]line ЗНМ: 0300000132 [11:31:08]line РНМ: 0000000000091208 [11:31:08]line Версия ККМ: 001 [11:31:08]line ФМ: 0000000000874857 [11:31:08]line ФД: 56767 [11:31:08]line ФПД: 48159297379789 [11:31:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113108&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56767&fm=48159297379789&tin=02508201610067®Number=0000000000091208&sum=11000 [11:31:08]line 0 [11:31:08]OFD Sender: Processing packet 56767 [packets to send 38, broken 37] [11:31:08]ProducePacketName [11:31:08]name=ofd_packets/00056767 [11:31:08]OFD Sender: To server: pG, [11:31:08]CommunicateWithHost lk.salyk.kg:30040 [11:31:08]ConnectInit lk.salyk.kg [11:31:08]written 0, free lines is 4095 [11:31:09]Connected sock=10 [11:31: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 38 35 37 43 01 00 00 9A 1B 3B 01 5F FD 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 23 00 00 00 F4 03 04 00 FC 13 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DD 00 00 35 04 06 00 2B CC F5 D0 1D CD 9C 10 F4 C6 4B 8C E5 C1 [11:31:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F0 97 47 00 75 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 38 35 37 10 04 04 00 BF DD 00 00 F4 03 04 00 54 BA 90 66 B6 04 01 00 00 9A 79 9A 7B 79 6D 12 8C [11:31:09]CommunicateWithHost err = 0 [11:31:09]CheckOFDResponse [11:31:09]1017 (14) - 77093643461234 [11:31:09]1041 (16) - 0000000000874857 [11:31:09]1040 (4) - 56767 [11:31:09]1012 (4) - 12.07.2024 05:08 [11:31:09]1206 (1) - 0 [11:31:09]OFD Sender: Remove packet 56767 [11:31:09]ProducePacketName [11:31:09]name=ofd_packets/00056767 [11:31:09]NVStorageDeleteData [11:31:09]Write to MH i2c: 01 00 00 65 03 68 [11:31:09]Write i2c OK [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: 01 [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: 01 07 00 [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: 01 07 00 65 03 00 00 00 00 00 E6 0C 61 [11:31:09]RasterBufferAndPrint [11:31:09]line [11:31:09]line [11:31:09]line [11:31:09]line [11:31:09]line [11:31:09]written 0, free lines is 3311 [11:31:09]MH_Cut [11:31:09]Write to MH i2c: D1 01 00 6C 03 01 41 [11:31:09]Write i2c OK [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: D1 [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: D1 01 00 [11:31:09]MH_I2C_Read... [11:31:09]Read from MH i2c: D1 01 00 6C 03 00 40 [11:31:09]Write to MH i2c: 01 00 00 6D 03 70 [11:31:09]Write i2c OK [11:31:09]MH_I2C_Read... [11:31:09]OFD Sender: No OFD packet to send [11:31:10]*** Cut start [11:31:10]*** Partial cut [11:31:10]*** CUTSNS_PIN = 1 [11:31:10]*** CUTSNS_PIN = 0 [11:31:10]*** Brake cut motor [11:31:10]Read from MH i2c: 01 [11:31:10]MH_I2C_Read... [11:31:10]*** Stop cut motor [11:31:10]*** Cut end [11:31:10]Read from MH i2c: 01 07 00 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: 01 07 00 6D 03 00 00 00 00 00 FF 0F 85 [11:31:10]process_action close_receipt done [11:31:10]requested_data is exist [11:31:10]produce_requested_data [11:31:10]requested_item fm.sn is exist - process it [11:31:10]wFMCommunicate request_size=4 [11:31:10]MH_SAM_APDU [11:31:10]CAPDU: 80 11 00 00 [11:31:10]Write to MH i2c: E2 08 00 6E 03 80 11 00 00 00 00 00 00 EB [11:31:10]Write i2c OK [11:31:10]MH_I2C_Read... [11:31:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:10]Read from MH i2c: E2 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 17 00 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 17 00 6E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 45 [11:31:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:31:10]wFMCommunicate OK [11:31:10]requested_item fd.num is exist - process it [11:31:10]SAM_PROTO_GetFieldsCounters [11:31:10]wFMCommunicate request_size=4 [11:31:10]MH_SAM_APDU [11:31:10]CAPDU: 80 13 00 00 [11:31:10]Write to MH i2c: E2 08 00 6F 03 80 13 00 00 00 00 00 00 EE [11:31:10]Write i2c OK [11:31:10]MH_I2C_Read... [11:31:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:31:10]Read from MH i2c: E2 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 62 00 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 62 00 6F 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BF DD 00 00 0E 04 04 00 EE 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 05 [11:31: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BF DD 00 00 0E 04 04 00 EE 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 [11:31:10]wFMCommunicate OK [11:31:10]SAM_PROTO_GetFieldsCounters done [11:31:10]requested_item shift.num is exist - process it [11:31:10]requested_item shift.opened is exist - process it [11:31:10]req_shift_opened [11:31:10]FM_GetShiftState [11:31:10]SAM_PROTO_GetShiftState [11:31:10]wFMCommunicate request_size=4 [11:31:10]MH_SAM_APDU [11:31:10]CAPDU: 80 13 01 00 [11:31:10]Write to MH i2c: E2 08 00 70 03 80 13 01 00 00 00 00 00 F0 [11:31:10]Write i2c OK [11:31:10]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 0E 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 0E 00 70 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F1 [11:31:11]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:31:11]wFMCommunicate OK [11:31:11]SAM_PROTO_GetShiftState done [11:31:11]FM_GetShiftState done [11:31:11]req_shift_opened done [11:31:11]requested_item shift.open_date is exist - process it [11:31:11]req_shift_open_date [11:31:11]req_shift_open_date done [11:31:11]requested_item shift.sale.total is exist - process it [11:31:11]SAM_PROTO_GetShiftData [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 13 02 00 [11:31:11]Write to MH i2c: E2 08 00 71 03 80 13 02 00 00 00 00 00 F2 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 FD 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 FD 00 71 03 00 AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 5C 4E 0F 70 04 03 00 20 ED 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F A0 01 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 AB 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F7 [11:31:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 5C 4E 0F 70 04 03 00 20 ED 0B 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F A0 01 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 AB 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:31:11]wFMCommunicate OK [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 17 00 00 [11:31:11]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 FD 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 FD 00 72 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 17 [11:31:11]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 [11:31:11]wFMCommunicate OK [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 17 00 00 [11:31:11]Write to MH i2c: E2 08 00 73 03 80 17 00 00 00 00 00 00 F6 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:12]Read from MH i2c: E2 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 FD 00 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 FD 00 73 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 AD [11:31:12]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:31:12]wFMCommunicate OK [11:31:12]wFMCommunicate request_size=4 [11:31:12]MH_SAM_APDU [11:31:12]CAPDU: 80 17 00 00 [11:31:12]Write to MH i2c: E2 08 00 74 03 80 17 00 00 00 00 00 00 F7 [11:31:12]Write i2c OK [11:31:12]MH_I2C_Read... [11:31:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:12]Read from MH i2c: E2 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 FD 00 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 FD 00 74 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 69 [11:31:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:31:12]wFMCommunicate OK [11:31:12]wFMCommunicate request_size=4 [11:31:12]MH_SAM_APDU [11:31:12]CAPDU: 80 17 00 00 [11:31:12]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [11:31:12]Write i2c OK [11:31:12]MH_I2C_Read... [11:31:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:31:12]Read from MH i2c: E2 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 CB 00 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: E2 CB 00 75 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E1 [11:31:12]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 [11:31:12]wFMCommunicate OK [11:31:12]SAM_PROTO_GetShiftData done [11:31:12]requested_item shift.sale.total_cash is exist - process it [11:31:12]requested_item shift.sale_refund.total is exist - process it [11:31:12]requested_item shift.sale_refund.total_cash is exist - process it [11:31:12]produce_requested_data done [11:31:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56767,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10031.00,"shift.sale.total_cash":7816.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:31:12]process_action_free close_receipt [11:31:12]json_value_free [11:31:12]json_value_free done [11:31:12]process_json_proto returns [11:31:12]Send response to host [11:31:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56767,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10031.00,"shift.sale.total_cash":7816.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:31:12]free response buf [11:31:12]execute_script done [11:31:12]execute_script returns [11:31:12]free content buf [11:31:12]Sock 9.Close socket [11:31:12]Sock 9.Thread stoped [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]accept exits with 7 [11:32:54]New connection [11:32:54]New thread 3066637668 created [11:32:54]Thread 3066781028 joined [11:32:54]Waiting for new connection... [11:32:54] Sock 7.Parse request [11:32:54]Sock 7.Check first char [11:32:54]Sock 7.First char is OK [11:32:54]request: POST /json_proto HTTP/1.0 [11:32:54]Method: POST [11:32:54]URL: /json_proto [11:32:54]Method is POST - this is cgi request [11:32:54]url: /json_proto [11:32:54]query_string will be loaded in cgi processing [11:32:54]execute_cgi json_proto POST (null) [11:32:54]execute_cgi path=json_proto method=POST [11:32:54]POST find Content-Length [11:32:54]Host: 172.17.39.4:8080 [11:32:54]Content-Length: 732 [11:32:54]Content-Type: application/json [11:32:54] [11:32:54]POST finish read [11:32:54]Found Content-Length = 732 [11:32:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129268", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:32:54]execute_script... [11:32: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)129268", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:32:54]POST & json_proto [11:32:54]process_json_proto [11:32:54]json parsed OK: [11:32:54]protocol is kg_v1.0 [11:32:54]action value=close_receipt [11:32:54]process_action close_receipt [11:32:54]cmd_close_receipt [11:32:54]MH_GetDate [11:32:54]Write to MH i2c: F0 00 00 76 03 68 [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: F0 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: F0 09 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: F0 09 00 76 03 00 67 14 91 66 2D 25 5D 64 F6 [11:32:54]GetLastDocTimeStamp 1720783868 [11:32:54]current date 1720783975 [11:32:54]FM_GetShiftState [11:32:54]SAM_PROTO_GetShiftState [11:32:54]wFMCommunicate request_size=4 [11:32:54]MH_SAM_APDU [11:32:54]CAPDU: 80 13 01 00 [11:32:54]Write to MH i2c: E2 08 00 77 03 80 13 01 00 00 00 00 00 F7 [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:54]Read from MH i2c: E2 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 0E 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 0E 00 77 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F8 [11:32:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:32:54]wFMCommunicate OK [11:32:54]SAM_PROTO_GetShiftState done [11:32:54]FM_GetShiftState done [11:32:54]opened in 1720744326 [11:32:54]opened+sec_in_day 1720830726 [11:32:54]quantity*price = 13500 [11:32:54]sum+1 = 13501 [11:32:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 36 12.07.2024 11:32 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56768 ФПД: 251279634222241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113255&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56768&fm=251279634222241&tin=02508201610067®Number=0000000000091208&sum=13500 0 [11:32:55]StoreToDocumentArchive [11:32:55]shift 494 fd 56768 [11:32:55]save to /storage/0494/doc_00056768 [11:32:55]save last doc name /storage/0494/doc_00056768 to /storage/kkm_last_doc_name [11:32:55]save OK [11:32:55]Clear old archive folders... [11:32:55]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:32:55]tlvbuf is 01AE9750 [11:32:55]SAM_PROTO_ClearQueue [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 09 00 00 [11:32:55]Write to MH i2c: E2 08 00 84 03 80 09 00 00 00 00 00 00 F9 [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 84 03 00 90 00 FB [11:32:55]RAPDU: 90 00 [11:32:55]wFMCommunicate OK [11:32:55]SAM_PROTO_ClearQueue done [11:32:55]KKMCreateOFDPacket [11:32:55]OFDProtocolAddRootSTLVToBuf [11:32:55]FM_MakeSignedData [11:32:55]FM_MakeSignedData [11:32:55]SAM_PROTO_SignData [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 0D 01 02 [11:32:55]Write to MH i2c: E2 08 00 85 03 80 0D 01 02 00 00 00 00 01 [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 85 03 00 90 00 FC [11:32:55]RAPDU: 90 00 [11:32:55]wFMCommunicate OK [11:32:55]wFMCommunicate request_size=255 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 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 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 24 00 00 00 F4 03 04 00 67 14 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [11:32:55]Write to MH i2c: E2 02 01 86 03 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 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 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 24 00 00 00 F4 03 04 00 67 14 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 DC [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [11:32:55]RAPDU: 90 00 [11:32:55]wFMCommunicate OK [11:32:55]wFMCommunicate request_size=39 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DD 00 00 35 04 06 00 E4 89 99 56 4C A1 [11:32:55]Write to MH i2c: E2 2A 00 87 03 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DD 00 00 35 04 06 00 E4 89 99 56 4C A1 00 00 AC [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [11:32:55]RAPDU: 90 00 [11:32:55]wFMCommunicate OK [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 0D 03 02 [11:32:55]Write to MH i2c: E2 08 00 88 03 80 0D 03 02 00 00 00 00 06 [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 0B 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 0B 00 88 03 00 67 97 BE A0 6D 1D 0D E5 90 00 DF [11:32:55]RAPDU: 67 97 BE A0 6D 1D 0D E5 90 00 [11:32:55]wFMCommunicate OK [11:32:55]SAM_PROTO_SignData done [11:32:55]FM_MakeSignedData done [11:32:55]CreateOFDProtocolMessage [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 11 00 00 [11:32:55]Write to MH i2c: E2 08 00 89 03 80 11 00 00 00 00 00 00 06 [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 17 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 17 00 89 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 60 [11:32:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:32:55]wFMCommunicate OK [11:32:55]CreateOFDProtocolMessage done [11:32:55]OFDSenderStorePacket 56768 [11:32:55]StoreOFDPacket docnum=56768 [11:32:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 4D 3F 24 01 00 B8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 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 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 24 00 00 00 F4 03 04 00 67 14 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DD 00 00 35 04 06 00 E4 89 99 56 4C A1 67 97 BE A0 6D 1D 0D E5 [11:32:55]CheckFolder [11:32:55]dirname=/storage/ofd_packets [11:32:55]CheckFolder done [11:32:55]ProducePacketName [11:32:55]name=ofd_packets/00056768 [11:32:55]NVStorageSaveData ofd_packets/00056768 [11:32:55]File name is /storage/ofd_packets/00056768 [11:32:55]Write 330 bytes [11:32:55]NVStorageSaveData done [11:32:55]OFDSenderStorePacket done [11:32:55]KKMCreateOFDPacket done [11:32:55]NVStorageSaveData kkm_last_timestamp [11:32:55]File name is /storage/kkm_last_timestamp [11:32:55]Write 4 bytes [11:32:55]NVStorageSaveData done [11:32:55]ExternCall_PrintAddStr [11:32:55]wPrintStart [11:32:55]Write to MH i2c: 01 00 00 8A 03 8D [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: 01 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: 01 07 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: 01 07 00 8A 03 00 00 00 00 00 FF 0F A2 [11:32:55]RasterBufferAndPrint [11:32:55]line Счет N : (3)129268 [11:32:55]line ИНН: 02508201610067 [11:32:55]line Контрольно-Кассовый Чек [11:32:55]line ПРОДАЖА [11:32:55]line Товар: 48741231 [11:32:55]line Сигареты Winston Super Slims Silver [11:32:55]line 1.000 * 135.00 [11:32:55]line = 135.00 [11:32:55]line НДС 12% НСП 1% [11:32:55]line > о реализуемом товаре [11:32:55]line ИТОГО: 135.00 [11:32:55]line НСП 1% : 1.19 [11:32:55]line НДС 12% : 14.34 [11:32:55]line Наличными: 135.00 [11:32:55]line Безнал.: 0.00 [11:32:55]line Место: АЗС № 132 "Партнер Нефть" [11:32:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:32:55]line СНО: Общий режим [11:32:55]line Чек 36 12.07.2024 11:32 [11:32:55]line Смена: 494 ФФД: 1.0 [11:32:55]line ЗНМ: 0300000132 [11:32:55]line РНМ: 0000000000091208 [11:32:55]line Версия ККМ: 001 [11:32:55]line ФМ: 0000000000874857 [11:32:55]line ФД: 56768 [11:32:55]line ФПД: 251279634222241 [11:32:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113255&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56768&fm=251279634222241&tin=02508201610067®Number=0000000000091208&sum=13500 [11:32:56]OFD Sender: Processing packet 56768 [packets to send 38, broken 37] [11:32:56]ProducePacketName [11:32:56]name=ofd_packets/00056768 [11:32:56]OFD Sender: To server: pG, [11:32:56]CommunicateWithHost lk.salyk.kg:30040 [11:32:56]ConnectInit lk.salyk.kg [11:32:56]line 0 [11:32:56]written 0, free lines is 4095 [11:32:56]Connected sock=10 [11:32: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 38 35 37 2C 01 00 00 4D 3F 24 01 00 B8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 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 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 24 00 00 00 F4 03 04 00 67 14 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DD 00 00 35 04 06 00 E4 89 99 56 4C A1 67 97 BE A0 6D 1D 0D E5 [11:32:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 35 92 47 00 FE 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DD 00 00 F4 03 04 00 BF BA 90 66 B6 04 01 00 00 8D C0 80 AF 6D A6 BD 02 [11:32:56]CommunicateWithHost err = 0 [11:32:56]CheckOFDResponse [11:32:56]1017 (14) - 77093643461234 [11:32:56]1041 (16) - 0000000000874857 [11:32:56]1040 (4) - 56768 [11:32:56]1012 (4) - 12.07.2024 05:10 [11:32:56]1206 (1) - 0 [11:32:56]OFD Sender: Remove packet 56768 [11:32:56]ProducePacketName [11:32:56]name=ofd_packets/00056768 [11:32:56]NVStorageDeleteData [11:32:56]Write to MH i2c: 01 00 00 B3 03 B6 [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: 01 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: 01 07 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: 01 07 00 B3 03 00 00 00 00 00 E7 0C B0 [11:32:56]RasterBufferAndPrint [11:32:56]line [11:32:56]line [11:32:56]line [11:32:56]line [11:32:56]line [11:32:56]written 0, free lines is 3310 [11:32:56]MH_Cut [11:32:56]Write to MH i2c: D1 01 00 BA 03 01 8F [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: D1 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: D1 01 00 [11:32:56]MH_I2C_Read... [11:32:56]Read from MH i2c: D1 01 00 BA 03 00 8E [11:32:56]Write to MH i2c: 01 00 00 BB 03 BE [11:32:56]Write i2c OK [11:32:56]MH_I2C_Read... [11:32:57]OFD Sender: No OFD packet to send [11:32:57]*** Cut start [11:32:57]*** Partial cut [11:32:57]*** CUTSNS_PIN = 1 [11:32:57]*** CUTSNS_PIN = 0 [11:32:57]*** Brake cut motor [11:32:57]Read from MH i2c: 01 [11:32:57]MH_I2C_Read... [11:32:57]*** Stop cut motor [11:32:57]*** Cut end [11:32:57]Read from MH i2c: 01 07 00 [11:32:57]MH_I2C_Read... [11:32:57]Read from MH i2c: 01 07 00 BB 03 00 00 00 00 00 FF 0F D3 [11:32:57]process_action close_receipt done [11:32:57]requested_data is exist [11:32:57]produce_requested_data [11:32:57]requested_item fm.sn is exist - process it [11:32:57]wFMCommunicate request_size=4 [11:32:57]MH_SAM_APDU [11:32:57]CAPDU: 80 11 00 00 [11:32:57]Write to MH i2c: E2 08 00 BC 03 80 11 00 00 00 00 00 00 39 [11:32:57]Write i2c OK [11:32:57]MH_I2C_Read... [11:32:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:57]Read from MH i2c: E2 [11:32:57]MH_I2C_Read... [11:32:57]Read from MH i2c: E2 17 00 [11:32:57]MH_I2C_Read... [11:32:57]Read from MH i2c: E2 17 00 BC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 93 [11:32:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:32:57]wFMCommunicate OK [11:32:57]requested_item fd.num is exist - process it [11:32:57]SAM_PROTO_GetFieldsCounters [11:32:57]wFMCommunicate request_size=4 [11:32:57]MH_SAM_APDU [11:32:57]CAPDU: 80 13 00 00 [11:32:57]Write to MH i2c: E2 08 00 BD 03 80 13 00 00 00 00 00 00 3C [11:32:57]Write i2c OK [11:32:57]MH_I2C_Read... [11:32:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:32:58]Read from MH i2c: E2 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 62 00 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 62 00 BD 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C0 DD 00 00 0E 04 04 00 EE 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 57 [11:32: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C0 DD 00 00 0E 04 04 00 EE 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 [11:32:58]wFMCommunicate OK [11:32:58]SAM_PROTO_GetFieldsCounters done [11:32:58]requested_item shift.num is exist - process it [11:32:58]requested_item shift.opened is exist - process it [11:32:58]req_shift_opened [11:32:58]FM_GetShiftState [11:32:58]SAM_PROTO_GetShiftState [11:32:58]wFMCommunicate request_size=4 [11:32:58]MH_SAM_APDU [11:32:58]CAPDU: 80 13 01 00 [11:32:58]Write to MH i2c: E2 08 00 BE 03 80 13 01 00 00 00 00 00 3E [11:32:58]Write i2c OK [11:32:58]MH_I2C_Read... [11:32:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:58]Read from MH i2c: E2 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 0E 00 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 0E 00 BE 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 3F [11:32:58]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:32:58]wFMCommunicate OK [11:32:58]SAM_PROTO_GetShiftState done [11:32:58]FM_GetShiftState done [11:32:58]req_shift_opened done [11:32:58]requested_item shift.open_date is exist - process it [11:32:58]req_shift_open_date [11:32:58]req_shift_open_date done [11:32:58]requested_item shift.sale.total is exist - process it [11:32:58]SAM_PROTO_GetShiftData [11:32:58]wFMCommunicate request_size=4 [11:32:58]MH_SAM_APDU [11:32:58]CAPDU: 80 13 02 00 [11:32:58]Write to MH i2c: E2 08 00 BF 03 80 13 02 00 00 00 00 00 40 [11:32:58]Write i2c OK [11:32:58]MH_I2C_Read... [11:32:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:32:58]Read from MH i2c: E2 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 FD 00 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 FD 00 BF 03 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 18 83 0F 70 04 03 00 DC 21 0C 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B9 A5 01 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 22 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 40 [11:32:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 18 83 0F 70 04 03 00 DC 21 0C 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B9 A5 01 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 22 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:32:58]wFMCommunicate OK [11:32:58]wFMCommunicate request_size=4 [11:32:58]MH_SAM_APDU [11:32:58]CAPDU: 80 17 00 00 [11:32:58]Write to MH i2c: E2 08 00 C0 03 80 17 00 00 00 00 00 00 43 [11:32:58]Write i2c OK [11:32:58]MH_I2C_Read... [11:32:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:58]Read from MH i2c: E2 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 FD 00 [11:32:58]MH_I2C_Read... [11:32:58]Read from MH i2c: E2 FD 00 C0 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 65 [11:32:58]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 [11:32:58]wFMCommunicate OK [11:32:58]wFMCommunicate request_size=4 [11:32:58]MH_SAM_APDU [11:32:58]CAPDU: 80 17 00 00 [11:32:58]Write to MH i2c: E2 08 00 C1 03 80 17 00 00 00 00 00 00 44 [11:32:58]Write i2c OK [11:32:58]MH_I2C_Read... [11:32:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:59]Read from MH i2c: E2 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 FD 00 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 FD 00 C1 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 FB [11:32:59]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 [11:32:59]wFMCommunicate OK [11:32:59]wFMCommunicate request_size=4 [11:32:59]MH_SAM_APDU [11:32:59]CAPDU: 80 17 00 00 [11:32:59]Write to MH i2c: E2 08 00 C2 03 80 17 00 00 00 00 00 00 45 [11:32:59]Write i2c OK [11:32:59]MH_I2C_Read... [11:32:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:59]Read from MH i2c: E2 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 FD 00 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 FD 00 C2 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 B7 [11:32:59]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 [11:32:59]wFMCommunicate OK [11:32:59]wFMCommunicate request_size=4 [11:32:59]MH_SAM_APDU [11:32:59]CAPDU: 80 17 00 00 [11:32:59]Write to MH i2c: E2 08 00 C3 03 80 17 00 00 00 00 00 00 46 [11:32:59]Write i2c OK [11:32:59]MH_I2C_Read... [11:32:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:32:59]Read from MH i2c: E2 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 CB 00 [11:32:59]MH_I2C_Read... [11:32:59]Read from MH i2c: E2 CB 00 C3 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2F [11:32:59]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 [11:32:59]wFMCommunicate OK [11:32:59]SAM_PROTO_GetShiftData done [11:32:59]requested_item shift.sale.total_cash is exist - process it [11:32:59]requested_item shift.sale_refund.total is exist - process it [11:32:59]requested_item shift.sale_refund.total_cash is exist - process it [11:32:59]produce_requested_data done [11:32:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56768,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10166.00,"shift.sale.total_cash":7951.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:32:59]process_action_free close_receipt [11:32:59]json_value_free [11:32:59]json_value_free done [11:32:59]process_json_proto returns [11:32:59]Send response to host [11:32:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56768,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10166.00,"shift.sale.total_cash":7951.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:32:59]free response buf [11:32:59]execute_script done [11:32:59]execute_script returns [11:32:59]free content buf [11:32:59]Sock 7.Close socket [11:32:59]Sock 7.Thread stoped [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:43]accept exits with 9 [11:36:43]New connection [11:36:43]New thread 3066781028 created [11:36:43]Thread 3066637668 joined [11:36:43]Waiting for new connection... [11:36:43] Sock 9.Parse request [11:36:43]Sock 9.Check first char [11:36:43]Sock 9.First char is OK [11:36:43]request: POST /json_proto HTTP/1.0 [11:36:43]Method: POST [11:36:43]URL: /json_proto [11:36:43]Method is POST - this is cgi request [11:36:43]url: /json_proto [11:36:43]query_string will be loaded in cgi processing [11:36:43]execute_cgi json_proto POST (null) [11:36:43]execute_cgi path=json_proto method=POST [11:36:43]POST find Content-Length [11:36:43]Host: 172.17.39.4:8080 [11:36:43]Content-Length: 778 [11:36:43]Content-Type: application/json [11:36:43] [11:36:43]POST finish read [11:36:43]Found Content-Length = 778 [11:36:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854141", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:43]execute_script... [11:36: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 : (1)854141", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:43]POST & json_proto [11:36:43]process_json_proto [11:36:43]json parsed OK: [11:36:43]protocol is kg_v1.0 [11:36:43]action value=close_receipt [11:36:43]process_action close_receipt [11:36:43]cmd_close_receipt [11:36:43]MH_GetDate [11:36:43]Write to MH i2c: F0 00 00 C4 03 B6 [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: F0 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: F0 09 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: F0 09 00 C4 03 00 4D 15 91 66 2D 25 5D 64 2B [11:36:43]GetLastDocTimeStamp 1720783975 [11:36:43]current date 1720784205 [11:36:43]FM_GetShiftState [11:36:43]SAM_PROTO_GetShiftState [11:36:43]wFMCommunicate request_size=4 [11:36:43]MH_SAM_APDU [11:36:43]CAPDU: 80 13 01 00 [11:36:43]Write to MH i2c: E2 08 00 C5 03 80 13 01 00 00 00 00 00 45 [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:43]Read from MH i2c: E2 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: E2 0E 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: E2 0E 00 C5 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 46 [11:36:43]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:36:43]wFMCommunicate OK [11:36:43]SAM_PROTO_GetShiftState done [11:36:43]FM_GetShiftState done [11:36:43]opened in 1720744326 [11:36:43]opened+sec_in_day 1720830726 [11:36:43]quantity*price = 50021 [11:36:43]sum+1 = 50022 [11:36:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 37 12.07.2024 11:36 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56769 ФПД: 105157809076113 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113645&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56769&fm=105157809076113&tin=02508201610067®Number=0000000000091208&sum=50000 [11:36:45]StoreToDocumentArchive [11:36:45]shift 494 fd 56769 [11:36:45]save to /storage/0494/doc_00056769 [11:36:45]save last doc name /storage/0494/doc_00056769 to /storage/kkm_last_doc_name [11:36:45]save OK [11:36:45]Clear old archive folders... [11:36:45]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:36:45]tlvbuf is 01AED9A0 [11:36:45]SAM_PROTO_ClearQueue [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 09 00 00 [11:36:45]Write to MH i2c: E2 08 00 D2 03 80 09 00 00 00 00 00 00 47 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:45]Read from MH i2c: E2 03 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 D2 03 00 90 00 49 [11:36:45]RAPDU: 90 00 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_ClearQueue done [11:36:45]KKMCreateOFDPacket [11:36:45]OFDProtocolAddRootSTLVToBuf [11:36:45]FM_MakeSignedData [11:36:45]FM_MakeSignedData [11:36:45]SAM_PROTO_SignData [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 0D 01 02 [11:36:45]Write to MH i2c: E2 08 00 D3 03 80 0D 01 02 00 00 00 00 4F [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 D3 03 00 90 00 4A [11:36:45]RAPDU: 90 00 [11:36:45]wFMCommunicate OK [11:36:45]wFMCommunicate request_size=255 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 4D 15 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DD 00 00 35 04 06 00 5F A3 F5 DA [11:36:45]Write to MH i2c: E2 02 01 D4 03 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 4D 15 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DD 00 00 35 04 06 00 5F A3 F5 DA 00 00 E4 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 D4 03 00 90 00 4B [11:36:45]RAPDU: 90 00 [11:36:45]wFMCommunicate OK [11:36:45]wFMCommunicate request_size=7 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 0D 02 02 02 F7 91 [11:36:45]Write to MH i2c: E2 0A 00 D5 03 80 0D 02 02 02 00 F7 91 00 00 DE [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 03 00 D5 03 00 90 00 4C [11:36:45]RAPDU: 90 00 [11:36:45]wFMCommunicate OK [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 0D 03 02 [11:36:45]Write to MH i2c: E2 08 00 D6 03 80 0D 03 02 00 00 00 00 54 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0B 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0B 00 D6 03 00 BA 76 6A 0C 81 A9 86 04 90 00 AF [11:36:45]RAPDU: BA 76 6A 0C 81 A9 86 04 90 00 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_SignData done [11:36:45]FM_MakeSignedData done [11:36:45]CreateOFDProtocolMessage [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 11 00 00 [11:36:45]Write to MH i2c: E2 08 00 D7 03 80 11 00 00 00 00 00 00 54 [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 17 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 17 00 D7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AE [11:36:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:45]wFMCommunicate OK [11:36:45]CreateOFDProtocolMessage done [11:36:45]OFDSenderStorePacket 56769 [11:36:45]StoreOFDPacket docnum=56769 [11:36:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 18 EA 04 01 03 47 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 4D 15 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DD 00 00 35 04 06 00 5F A3 F5 DA F7 91 BA 76 6A 0C 81 A9 86 04 [11:36:45]CheckFolder [11:36:45]dirname=/storage/ofd_packets [11:36:45]CheckFolder done [11:36:45]ProducePacketName [11:36:45]name=ofd_packets/00056769 [11:36:45]NVStorageSaveData ofd_packets/00056769 [11:36:45]File name is /storage/ofd_packets/00056769 [11:36:45]Write 298 bytes [11:36:45]NVStorageSaveData done [11:36:45]OFDSenderStorePacket done [11:36:45]KKMCreateOFDPacket done [11:36:45]NVStorageSaveData kkm_last_timestamp [11:36:45]File name is /storage/kkm_last_timestamp [11:36:45]Write 4 bytes [11:36:45]NVStorageSaveData done [11:36:45]ExternCall_PrintAddStr [11:36:45]wPrintStart [11:36:45]Write to MH i2c: 01 00 00 D8 03 DB [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: 01 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: 01 07 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: 01 07 00 D8 03 00 00 00 00 00 FF 0F F0 [11:36:45]RasterBufferAndPrint [11:36:45]line Счет N : (1)854141 [11:36:45]line ИНН: 02508201610067 [11:36:45]line Контрольно-Кассовый Чек [11:36:45]line ПРОДАЖА [11:36:45]line ТРК (МРК, ГНК) : 11 [11:36:45]line Товар: 2710194210 [11:36:45]line ДТ-К-5 [11:36:45]line 6.890 * 72.60 [11:36:45]line = 500.21 [11:36:45]line НДС 12% НСП 1% [11:36:45]line > о реализуемом товаре [11:36:45]line ОКРУГЛЕНИЕ: -0.21 [11:36:45]line ИТОГО: 500.00 [11:36:45]line Внесено: 500.00 [11:36:45]line СДАЧА: 0.00 [11:36:45]line НСП 1% : 4.43 [11:36:45]line НДС 12% : 53.12 [11:36:45]line Наличными: 500.00 [11:36:45]line Безнал.: 0.00 [11:36:45]line Место: АЗС № 132 "Партнер Нефть" [11:36:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:36:45]line СНО: Общий режим [11:36:45]line Чек 37 12.07.2024 11:36 [11:36:45]line Смена: 494 ФФД: 1.0 [11:36:45]line ЗНМ: 0300000132 [11:36:45]line РНМ: 0000000000091208 [11:36:45]line Версия ККМ: 001 [11:36:45]line ФМ: 0000000000874857 [11:36:45]line ФД: 56769 [11:36:45]line ФПД: 105157809076113 [11:36:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T113645&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56769&fm=105157809076113&tin=02508201610067®Number=0000000000091208&sum=50000 [11:36:45]OFD Sender: Processing packet 56769 [packets to send 38, broken 37] [11:36:45]ProducePacketName [11:36:45]name=ofd_packets/00056769 [11:36:45]OFD Sender: To server: pG, [11:36:45]CommunicateWithHost lk.salyk.kg:30040 [11:36:45]ConnectInit lk.salyk.kg [11:36:45]written 0, free lines is 4095 [11:36:45]Connected sock=10 [11:36: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 38 35 37 0C 01 00 00 18 EA 04 01 03 47 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 4D 15 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DD 00 00 35 04 06 00 5F A3 F5 DA F7 91 BA 76 6A 0C 81 A9 86 04 [11:36:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 64 42 47 00 EA 13 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 38 35 37 10 04 04 00 C1 DD 00 00 F4 03 04 00 A5 BB 90 66 B6 04 01 00 00 7A AB CC 02 B9 1D 9B A8 [11:36:46]CommunicateWithHost err = 0 [11:36:46]CheckOFDResponse [11:36:46]1017 (14) - 77093643461234 [11:36:46]1041 (16) - 0000000000874857 [11:36:46]1040 (4) - 56769 [11:36:46]1012 (4) - 12.07.2024 05:14 [11:36:46]1206 (1) - 0 [11:36:46]OFD Sender: Remove packet 56769 [11:36:46]ProducePacketName [11:36:46]name=ofd_packets/00056769 [11:36:46]NVStorageDeleteData [11:36:46]Write to MH i2c: 01 00 00 03 04 07 [11:36:46]Write i2c OK [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: 01 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: 01 07 00 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: 01 07 00 03 04 00 00 00 00 00 D4 0C EE [11:36:46]RasterBufferAndPrint [11:36:46]line [11:36:46]line [11:36:46]line [11:36:46]line [11:36:46]line [11:36:46]written 0, free lines is 3292 [11:36:46]MH_Cut [11:36:46]Write to MH i2c: D1 01 00 0A 04 01 E0 [11:36:46]Write i2c OK [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: D1 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: D1 01 00 [11:36:46]MH_I2C_Read... [11:36:46]Read from MH i2c: D1 01 00 0A 04 00 DF [11:36:46]Write to MH i2c: 01 00 00 0B 04 0F [11:36:46]Write i2c OK [11:36:46]MH_I2C_Read... [11:36:46]OFD Sender: No OFD packet to send [11:36:47]*** Cut start [11:36:47]*** Partial cut [11:36:47]*** CUTSNS_PIN = 1 [11:36:47]*** CUTSNS_PIN = 0 [11:36:47]*** Brake cut motor [11:36:47]Read from MH i2c: 01 [11:36:47]MH_I2C_Read... [11:36:47]*** Stop cut motor [11:36:47]*** Cut end [11:36:47]Read from MH i2c: 01 07 00 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: 01 07 00 0B 04 00 00 00 00 00 FF 0F 24 [11:36:47]process_action close_receipt done [11:36:47]requested_data is exist [11:36:47]produce_requested_data [11:36:47]requested_item fm.sn is exist - process it [11:36:47]wFMCommunicate request_size=4 [11:36:47]MH_SAM_APDU [11:36:47]CAPDU: 80 11 00 00 [11:36:47]Write to MH i2c: E2 08 00 0C 04 80 11 00 00 00 00 00 00 8A [11:36:47]Write i2c OK [11:36:47]MH_I2C_Read... [11:36:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:47]Read from MH i2c: E2 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 17 00 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 17 00 0C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E4 [11:36:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:47]wFMCommunicate OK [11:36:47]requested_item fd.num is exist - process it [11:36:47]SAM_PROTO_GetFieldsCounters [11:36:47]wFMCommunicate request_size=4 [11:36:47]MH_SAM_APDU [11:36:47]CAPDU: 80 13 00 00 [11:36:47]Write to MH i2c: E2 08 00 0D 04 80 13 00 00 00 00 00 00 8D [11:36:47]Write i2c OK [11:36:47]MH_I2C_Read... [11:36:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:47]Read from MH i2c: E2 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 62 00 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 62 00 0D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C1 DD 00 00 0E 04 04 00 EE 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 AC [11:36: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C1 DD 00 00 0E 04 04 00 EE 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 [11:36:47]wFMCommunicate OK [11:36:47]SAM_PROTO_GetFieldsCounters done [11:36:47]requested_item shift.num is exist - process it [11:36:47]requested_item shift.opened is exist - process it [11:36:47]req_shift_opened [11:36:47]FM_GetShiftState [11:36:47]SAM_PROTO_GetShiftState [11:36:47]wFMCommunicate request_size=4 [11:36:47]MH_SAM_APDU [11:36:47]CAPDU: 80 13 01 00 [11:36:47]Write to MH i2c: E2 08 00 0E 04 80 13 01 00 00 00 00 00 8F [11:36:47]Write i2c OK [11:36:47]MH_I2C_Read... [11:36:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:47]Read from MH i2c: E2 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 0E 00 [11:36:47]MH_I2C_Read... [11:36:47]Read from MH i2c: E2 0E 00 0E 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 90 [11:36:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:36:47]wFMCommunicate OK [11:36:47]SAM_PROTO_GetShiftState done [11:36:47]FM_GetShiftState done [11:36:47]req_shift_opened done [11:36:47]requested_item shift.open_date is exist - process it [11:36:47]req_shift_open_date [11:36:47]req_shift_open_date done [11:36:47]requested_item shift.sale.total is exist - process it [11:36:47]SAM_PROTO_GetShiftData [11:36:47]wFMCommunicate request_size=4 [11:36:47]MH_SAM_APDU [11:36:47]CAPDU: 80 13 02 00 [11:36:47]Write to MH i2c: E2 08 00 0F 04 80 13 02 00 00 00 00 00 91 [11:36:47]Write i2c OK [11:36:47]MH_I2C_Read... [11:36:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:36:48]Read from MH i2c: E2 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 0F 04 00 AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 68 46 10 70 04 03 00 2C E5 0C 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 79 BA 01 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 DD 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:36:48]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 68 46 10 70 04 03 00 2C E5 0C 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 79 BA 01 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 DD 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:36:48]wFMCommunicate OK [11:36:48]wFMCommunicate request_size=4 [11:36:48]MH_SAM_APDU [11:36:48]CAPDU: 80 17 00 00 [11:36:48]Write to MH i2c: E2 08 00 10 04 80 17 00 00 00 00 00 00 94 [11:36:48]Write i2c OK [11:36:48]MH_I2C_Read... [11:36:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:48]Read from MH i2c: E2 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 10 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B6 [11:36:48]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 [11:36:48]wFMCommunicate OK [11:36:48]wFMCommunicate request_size=4 [11:36:48]MH_SAM_APDU [11:36:48]CAPDU: 80 17 00 00 [11:36:48]Write to MH i2c: E2 08 00 11 04 80 17 00 00 00 00 00 00 95 [11:36:48]Write i2c OK [11:36:48]MH_I2C_Read... [11:36:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:48]Read from MH i2c: E2 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 [11:36:48]MH_I2C_Read... [11:36:48]Read from MH i2c: E2 FD 00 11 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 4C [11:36:48]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 [11:36:49]wFMCommunicate OK [11:36:49]wFMCommunicate request_size=4 [11:36:49]MH_SAM_APDU [11:36:49]CAPDU: 80 17 00 00 [11:36:49]Write to MH i2c: E2 08 00 12 04 80 17 00 00 00 00 00 00 96 [11:36:49]Write i2c OK [11:36:49]MH_I2C_Read... [11:36:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:49]Read from MH i2c: E2 [11:36:49]MH_I2C_Read... [11:36:49]Read from MH i2c: E2 FD 00 [11:36:49]MH_I2C_Read... [11:36:49]Read from MH i2c: E2 FD 00 12 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 08 [11:36:49]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 [11:36:49]wFMCommunicate OK [11:36:49]wFMCommunicate request_size=4 [11:36:49]MH_SAM_APDU [11:36:49]CAPDU: 80 17 00 00 [11:36:49]Write to MH i2c: E2 08 00 13 04 80 17 00 00 00 00 00 00 97 [11:36:49]Write i2c OK [11:36:49]MH_I2C_Read... [11:36:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:36:49]Read from MH i2c: E2 [11:36:49]MH_I2C_Read... [11:36:49]Read from MH i2c: E2 CB 00 [11:36:49]MH_I2C_Read... [11:36:49]Read from MH i2c: E2 CB 00 13 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [11:36:49]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 [11:36:49]wFMCommunicate OK [11:36:49]SAM_PROTO_GetShiftData done [11:36:49]requested_item shift.sale.total_cash is exist - process it [11:36:49]requested_item shift.sale_refund.total is exist - process it [11:36:49]requested_item shift.sale_refund.total_cash is exist - process it [11:36:49]produce_requested_data done [11:36:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56769,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10666.00,"shift.sale.total_cash":8451.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:36:49]process_action_free close_receipt [11:36:49]json_value_free [11:36:49]json_value_free done [11:36:49]process_json_proto returns [11:36:49]Send response to host [11:36:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56769,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":10666.00,"shift.sale.total_cash":8451.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:36:49]free response buf [11:36:49]execute_script done [11:36:49]execute_script returns [11:36:49]free content buf [11:36:49]Sock 9.Close socket [11:36:49]Sock 9.Thread stoped [11:36:51]OFD Sender: No OFD packet to send [11:36:56]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41: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:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:26]accept exits with 7 [11:46:26]New connection [11:46:26]New thread 3066637668 created [11:46:26]Thread 3066781028 joined [11:46:26]Waiting for new connection... [11:46:26] Sock 7.Parse request [11:46:26]Sock 7.Check first char [11:46:26]Sock 7.First char is OK [11:46:26]request: POST /json_proto HTTP/1.0 [11:46:26]Method: POST [11:46:26]URL: /json_proto [11:46:26]Method is POST - this is cgi request [11:46:26]url: /json_proto [11:46:26]query_string will be loaded in cgi processing [11:46:26]execute_cgi json_proto POST (null) [11:46:26]execute_cgi path=json_proto method=POST [11:46:26]POST find Content-Length [11:46:26]Host: 172.17.39.4:8080 [11:46:26]Content-Length: 775 [11:46:26]Content-Type: application/json [11:46:26] [11:46:26]POST finish read [11:46:26]Found Content-Length = 775 [11:46:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854146", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 5.000, "sum" : 336.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:46:26]execute_script... [11:46:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854146", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 5.000, "sum" : 336.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:46:26]POST & json_proto [11:46:26]process_json_proto [11:46:26]json parsed OK: [11:46:26]protocol is kg_v1.0 [11:46:26]action value=close_receipt [11:46:26]process_action close_receipt [11:46:26]cmd_close_receipt [11:46:26]MH_GetDate [11:46:26]Write to MH i2c: F0 00 00 14 04 07 [11:46:26]Write i2c OK [11:46:26]MH_I2C_Read... [11:46:26]Read from MH i2c: F0 [11:46:26]MH_I2C_Read... [11:46:26]Read from MH i2c: F0 09 00 [11:46:26]MH_I2C_Read... [11:46:26]Read from MH i2c: F0 09 00 14 04 00 94 17 91 66 2D 25 5D 64 C5 [11:46:26]GetLastDocTimeStamp 1720784205 [11:46:26]current date 1720784788 [11:46:26]FM_GetShiftState [11:46:26]SAM_PROTO_GetShiftState [11:46:26]wFMCommunicate request_size=4 [11:46:26]MH_SAM_APDU [11:46:26]CAPDU: 80 13 01 00 [11:46:26]Write to MH i2c: E2 08 00 15 04 80 13 01 00 00 00 00 00 96 [11:46:26]Write i2c OK [11:46:26]MH_I2C_Read... [11:46:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:26]Read from MH i2c: E2 [11:46:26]MH_I2C_Read... [11:46:26]Read from MH i2c: E2 0E 00 [11:46:26]MH_I2C_Read... [11:46:26]Read from MH i2c: E2 0E 00 15 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 97 [11:46:26]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:46:26]wFMCommunicate OK [11:46:26]SAM_PROTO_GetShiftState done [11:46:26]FM_GetShiftState done [11:46:26]opened in 1720744326 [11:46:26]opened+sec_in_day 1720830726 [11:46:26]quantity*price = 33650 [11:46:26]sum+1 = 33651 [11:46:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.50 ИТОГО: 336.00 Внесено: 1000.00 СДАЧА: 664.00 НСП 1% : 2.98 НДС 12% : 35.73 Наличными: 336.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 38 12.07.2024 11:46 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56770 ФПД: 174182040303516 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114628&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56770&fm=174182040303516&tin=02508201610067®Number=0000000000091208&sum=33600 [11:46:28]StoreToDocumentArchive [11:46:28]shift 494 fd 56770 [11:46:28]save to /storage/0494/doc_00056770 [11:46:28]save last doc name /storage/0494/doc_00056770 to /storage/kkm_last_doc_name [11:46:28]save OK [11:46:28]Clear old archive folders... [11:46:28]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:46:28]tlvbuf is 01AED620 [11:46:28]SAM_PROTO_ClearQueue [11:46:28]wFMCommunicate request_size=4 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 09 00 00 [11:46:28]Write to MH i2c: E2 08 00 22 04 80 09 00 00 00 00 00 00 98 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 22 04 00 90 00 9A [11:46:28]RAPDU: 90 00 [11:46:28]wFMCommunicate OK [11:46:28]SAM_PROTO_ClearQueue done [11:46:28]KKMCreateOFDPacket [11:46:28]OFDProtocolAddRootSTLVToBuf [11:46:28]FM_MakeSignedData [11:46:28]FM_MakeSignedData [11:46:28]SAM_PROTO_SignData [11:46:28]wFMCommunicate request_size=4 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 0D 01 02 [11:46:28]Write to MH i2c: E2 08 00 23 04 80 0D 01 02 00 00 00 00 A0 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 23 04 00 90 00 9B [11:46:28]RAPDU: 90 00 [11:46:28]wFMCommunicate OK [11:46:28]wFMCommunicate request_size=255 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 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 94 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DD 00 00 35 04 06 00 [11:46:28]Write to MH i2c: E2 02 01 24 04 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 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 94 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DD 00 00 35 04 06 00 00 00 46 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 24 04 00 90 00 9C [11:46:28]RAPDU: 90 00 [11:46:28]wFMCommunicate OK [11:46:28]wFMCommunicate request_size=11 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 0D 02 02 06 9E 6A EA A3 77 9C [11:46:28]Write to MH i2c: E2 0E 00 25 04 80 0D 02 02 06 00 9E 6A EA A3 77 9C 00 00 57 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 03 00 25 04 00 90 00 9D [11:46:28]RAPDU: 90 00 [11:46:28]wFMCommunicate OK [11:46:28]wFMCommunicate request_size=4 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 0D 03 02 [11:46:28]Write to MH i2c: E2 08 00 26 04 80 0D 03 02 00 00 00 00 A5 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 0B 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 0B 00 26 04 00 55 15 5F 64 6A 9F F1 77 90 00 44 [11:46:28]RAPDU: 55 15 5F 64 6A 9F F1 77 90 00 [11:46:28]wFMCommunicate OK [11:46:28]SAM_PROTO_SignData done [11:46:28]FM_MakeSignedData done [11:46:28]CreateOFDProtocolMessage [11:46:28]wFMCommunicate request_size=4 [11:46:28]MH_SAM_APDU [11:46:28]CAPDU: 80 11 00 00 [11:46:28]Write to MH i2c: E2 08 00 27 04 80 11 00 00 00 00 00 00 A5 [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:28]Read from MH i2c: E2 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 17 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: E2 17 00 27 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FF [11:46:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:46:28]wFMCommunicate OK [11:46:28]CreateOFDProtocolMessage done [11:46:28]OFDSenderStorePacket 56770 [11:46:28]StoreOFDPacket docnum=56770 [11:46:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 0F F3 08 01 64 EF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 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 94 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DD 00 00 35 04 06 00 9E 6A EA A3 77 9C 55 15 5F 64 6A 9F F1 77 [11:46:28]CheckFolder [11:46:28]dirname=/storage/ofd_packets [11:46:28]CheckFolder done [11:46:28]ProducePacketName [11:46:28]name=ofd_packets/00056770 [11:46:28]NVStorageSaveData ofd_packets/00056770 [11:46:28]File name is /storage/ofd_packets/00056770 [11:46:28]Write 302 bytes [11:46:28]NVStorageSaveData done [11:46:28]OFDSenderStorePacket done [11:46:28]KKMCreateOFDPacket done [11:46:28]NVStorageSaveData kkm_last_timestamp [11:46:28]File name is /storage/kkm_last_timestamp [11:46:28]Write 4 bytes [11:46:28]NVStorageSaveData done [11:46:28]ExternCall_PrintAddStr [11:46:28]wPrintStart [11:46:28]Write to MH i2c: 01 00 00 28 04 2C [11:46:28]Write i2c OK [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: 01 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: 01 07 00 [11:46:28]MH_I2C_Read... [11:46:28]Read from MH i2c: 01 07 00 28 04 00 00 00 00 00 FF 0F 41 [11:46:28]RasterBufferAndPrint [11:46:28]line Счет N : (1)854146 [11:46:28]line ИНН: 02508201610067 [11:46:28]line Контрольно-Кассовый Чек [11:46:28]line ПРОДАЖА [11:46:28]line ТРК (МРК, ГНК) : 62 [11:46:28]line Товар: 2710124130 [11:46:28]line SUPER 92-К-5 [11:46:28]line 5.000 * 67.30 [11:46:28]line = 336.50 [11:46:28]line НДС 12% НСП 1% [11:46:28]line > о реализуемом товаре [11:46:28]line ОКРУГЛЕНИЕ: -0.50 [11:46:28]line ИТОГО: 336.00 [11:46:28]line Внесено: 1000.00 [11:46:28]line СДАЧА: 664.00 [11:46:28]line НСП 1% : 2.98 [11:46:28]line НДС 12% : 35.73 [11:46:28]line Наличными: 336.00 [11:46:28]line Безнал.: 0.00 [11:46:28]line Место: АЗС № 132 "Партнер Нефть" [11:46:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:46:28]line СНО: Общий режим [11:46:28]line Чек 38 12.07.2024 11:46 [11:46:28]line Смена: 494 ФФД: 1.0 [11:46:28]line ЗНМ: 0300000132 [11:46:28]line РНМ: 0000000000091208 [11:46:28]line Версия ККМ: 001 [11:46:28]line ФМ: 0000000000874857 [11:46:28]line ФД: 56770 [11:46:28]line ФПД: 174182040303516 [11:46:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114628&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56770&fm=174182040303516&tin=02508201610067®Number=0000000000091208&sum=33600 [11:46:28]OFD Sender: Processing packet 56770 [packets to send 38, broken 37] [11:46:28]ProducePacketName [11:46:28]name=ofd_packets/00056770 [11:46:28]OFD Sender: To server: pG, [11:46:28]CommunicateWithHost lk.salyk.kg:30040 [11:46:28]ConnectInit lk.salyk.kg [11:46:28]written 0, free lines is 4095 [11:46:29]Connected sock=10 [11:46: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 38 35 37 10 01 00 00 0F F3 08 01 64 EF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 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 94 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DD 00 00 35 04 06 00 9E 6A EA A3 77 9C 55 15 5F 64 6A 9F F1 77 [11:46:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D0 93 47 00 93 4B 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 38 35 37 10 04 04 00 C2 DD 00 00 F4 03 04 00 EC BD 90 66 B6 04 01 00 00 27 C4 83 5E 5E 99 BE 1C [11:46:29]CommunicateWithHost err = 0 [11:46:29]CheckOFDResponse [11:46:29]1017 (14) - 77093643461234 [11:46:29]1041 (16) - 0000000000874857 [11:46:29]1040 (4) - 56770 [11:46:29]1012 (4) - 12.07.2024 05:23 [11:46:29]1206 (1) - 0 [11:46:29]OFD Sender: Remove packet 56770 [11:46:29]ProducePacketName [11:46:29]name=ofd_packets/00056770 [11:46:29]NVStorageDeleteData [11:46:29]Write to MH i2c: 01 00 00 53 04 57 [11:46:29]Write i2c OK [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: 01 [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: 01 07 00 [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: 01 07 00 53 04 00 00 00 00 00 F8 0C 62 [11:46:29]RasterBufferAndPrint [11:46:29]line [11:46:29]line [11:46:29]line [11:46:29]line [11:46:29]line [11:46:29]written 0, free lines is 3327 [11:46:29]MH_Cut [11:46:29]Write to MH i2c: D1 01 00 5A 04 01 30 [11:46:29]Write i2c OK [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: D1 [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: D1 01 00 [11:46:29]MH_I2C_Read... [11:46:29]Read from MH i2c: D1 01 00 5A 04 00 2F [11:46:29]Write to MH i2c: 01 00 00 5B 04 5F [11:46:29]Write i2c OK [11:46:29]MH_I2C_Read... [11:46:29]OFD Sender: No OFD packet to send [11:46:30]*** Cut start [11:46:30]*** Partial cut [11:46:30]*** CUTSNS_PIN = 1 [11:46:30]*** CUTSNS_PIN = 0 [11:46:30]*** Brake cut motor [11:46:30]Read from MH i2c: 01 [11:46:30]MH_I2C_Read... [11:46:30]*** Stop cut motor [11:46:30]*** Cut end [11:46:30]Read from MH i2c: 01 07 00 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: 01 07 00 5B 04 00 00 00 00 00 FF 0F 74 [11:46:30]process_action close_receipt done [11:46:30]requested_data is exist [11:46:30]produce_requested_data [11:46:30]requested_item fm.sn is exist - process it [11:46:30]wFMCommunicate request_size=4 [11:46:30]MH_SAM_APDU [11:46:30]CAPDU: 80 11 00 00 [11:46:30]Write to MH i2c: E2 08 00 5C 04 80 11 00 00 00 00 00 00 DA [11:46:30]Write i2c OK [11:46:30]MH_I2C_Read... [11:46:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:30]Read from MH i2c: E2 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 17 00 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 17 00 5C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 34 [11:46:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:46:30]wFMCommunicate OK [11:46:30]requested_item fd.num is exist - process it [11:46:30]SAM_PROTO_GetFieldsCounters [11:46:30]wFMCommunicate request_size=4 [11:46:30]MH_SAM_APDU [11:46:30]CAPDU: 80 13 00 00 [11:46:30]Write to MH i2c: E2 08 00 5D 04 80 13 00 00 00 00 00 00 DD [11:46:30]Write i2c OK [11:46:30]MH_I2C_Read... [11:46:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:46:30]Read from MH i2c: E2 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 62 00 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 62 00 5D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C2 DD 00 00 0E 04 04 00 EE 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 00 [11:46:30]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C2 DD 00 00 0E 04 04 00 EE 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 [11:46:30]wFMCommunicate OK [11:46:30]SAM_PROTO_GetFieldsCounters done [11:46:30]requested_item shift.num is exist - process it [11:46:30]requested_item shift.opened is exist - process it [11:46:30]req_shift_opened [11:46:30]FM_GetShiftState [11:46:30]SAM_PROTO_GetShiftState [11:46:30]wFMCommunicate request_size=4 [11:46:30]MH_SAM_APDU [11:46:30]CAPDU: 80 13 01 00 [11:46:30]Write to MH i2c: E2 08 00 5E 04 80 13 01 00 00 00 00 00 DF [11:46:30]Write i2c OK [11:46:30]MH_I2C_Read... [11:46:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:30]Read from MH i2c: E2 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 0E 00 [11:46:30]MH_I2C_Read... [11:46:30]Read from MH i2c: E2 0E 00 5E 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E0 [11:46:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:46:30]wFMCommunicate OK [11:46:30]SAM_PROTO_GetShiftState done [11:46:30]FM_GetShiftState done [11:46:30]req_shift_opened done [11:46:30]requested_item shift.open_date is exist - process it [11:46:30]req_shift_open_date [11:46:30]req_shift_open_date done [11:46:30]requested_item shift.sale.total is exist - process it [11:46:30]SAM_PROTO_GetShiftData [11:46:30]wFMCommunicate request_size=4 [11:46:30]MH_SAM_APDU [11:46:30]CAPDU: 80 13 02 00 [11:46:30]Write to MH i2c: E2 08 00 5F 04 80 13 02 00 00 00 00 00 E1 [11:46:30]Write i2c OK [11:46:30]MH_I2C_Read... [11:46:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:46:31]Read from MH i2c: E2 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 5F 04 00 AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 A8 C9 10 70 04 03 00 6C 68 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C8 01 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 07 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 54 [11:46:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 A8 C9 10 70 04 03 00 6C 68 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C8 01 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 07 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:46:31]wFMCommunicate OK [11:46:31]wFMCommunicate request_size=4 [11:46:31]MH_SAM_APDU [11:46:31]CAPDU: 80 17 00 00 [11:46:31]Write to MH i2c: E2 08 00 60 04 80 17 00 00 00 00 00 00 E4 [11:46:31]Write i2c OK [11:46:31]MH_I2C_Read... [11:46:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:31]Read from MH i2c: E2 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 60 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 06 [11:46:31]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 [11:46:31]wFMCommunicate OK [11:46:31]wFMCommunicate request_size=4 [11:46:31]MH_SAM_APDU [11:46:31]CAPDU: 80 17 00 00 [11:46:31]Write to MH i2c: E2 08 00 61 04 80 17 00 00 00 00 00 00 E5 [11:46:31]Write i2c OK [11:46:31]MH_I2C_Read... [11:46:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:31]Read from MH i2c: E2 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 [11:46:31]MH_I2C_Read... [11:46:31]Read from MH i2c: E2 FD 00 61 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 9C [11:46: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 [11:46:32]wFMCommunicate OK [11:46:32]wFMCommunicate request_size=4 [11:46:32]MH_SAM_APDU [11:46:32]CAPDU: 80 17 00 00 [11:46:32]Write to MH i2c: E2 08 00 62 04 80 17 00 00 00 00 00 00 E6 [11:46:32]Write i2c OK [11:46:32]MH_I2C_Read... [11:46:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:32]Read from MH i2c: E2 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 FD 00 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 FD 00 62 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 58 [11:46: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 [11:46:32]wFMCommunicate OK [11:46:32]wFMCommunicate request_size=4 [11:46:32]MH_SAM_APDU [11:46:32]CAPDU: 80 17 00 00 [11:46:32]Write to MH i2c: E2 08 00 63 04 80 17 00 00 00 00 00 00 E7 [11:46:32]Write i2c OK [11:46:32]MH_I2C_Read... [11:46:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:46:32]Read from MH i2c: E2 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 CB 00 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 CB 00 63 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D0 [11:46:32]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 [11:46:32]wFMCommunicate OK [11:46:32]SAM_PROTO_GetShiftData done [11:46:32]requested_item shift.sale.total_cash is exist - process it [11:46:32]requested_item shift.sale_refund.total is exist - process it [11:46:32]requested_item shift.sale_refund.total_cash is exist - process it [11:46:32]produce_requested_data done [11:46:32]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56770,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11002.00,"shift.sale.total_cash":8787.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [11:46:32]process_action_free close_receipt [11:46:32]json_value_free [11:46:32]json_value_free done [11:46:32]process_json_proto returns [11:46:32]Send response to host [11:46:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56770,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11002.00,"shift.sale.total_cash":8787.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [11:46:32]free response buf [11:46:32]execute_script done [11:46:32]execute_script returns [11:46:32]free content buf [11:46:32]Sock 7.Close socket [11:46:32]Sock 7.Thread stoped [11:46:34]OFD Sender: No OFD packet to send [11:46:35]accept exits with 9 [11:46:35]New connection [11:46:35]New thread 3066781028 created [11:46:35]Thread 3066637668 joined [11:46:35]Waiting for new connection... [11:46:35] Sock 9.Parse request [11:46:35]Sock 9.Check first char [11:46:35]Sock 9.First char is OK [11:46:35]request: POST /json_proto HTTP/1.0 [11:46:35]Method: POST [11:46:35]URL: /json_proto [11:46:35]Method is POST - this is cgi request [11:46:35]url: /json_proto [11:46:35]query_string will be loaded in cgi processing [11:46:35]execute_cgi json_proto POST (null) [11:46:35]execute_cgi path=json_proto method=POST [11:46:35]POST find Content-Length [11:46:35]Host: 172.17.39.4:8080 [11:46:35]Content-Length: 831 [11:46:35]Content-Type: application/json [11:46:35] [11:46:35]POST finish read [11:46:35]Found Content-Length = 831 [11:46:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 56770, "base_FM": "0000000000874857", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854146", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 5.000, "sum" : 336.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:46:35]execute_script... [11:46:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 56770, "base_FM": "0000000000874857", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854146", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 5.000, "sum" : 336.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:46:35]POST & json_proto [11:46:35]process_json_proto [11:46:35]json parsed OK: [11:46:35]protocol is kg_v1.0 [11:46:35]action value=close_receipt [11:46:35]process_action close_receipt [11:46:35]cmd_close_receipt [11:46:35]MH_GetDate [11:46:35]Write to MH i2c: F0 00 00 64 04 57 [11:46:35]Write i2c OK [11:46:35]MH_I2C_Read... [11:46:35]Read from MH i2c: F0 [11:46:35]MH_I2C_Read... [11:46:35]Read from MH i2c: F0 09 00 [11:46:35]MH_I2C_Read... [11:46:35]Read from MH i2c: F0 09 00 64 04 00 9C 17 91 66 2D 25 5D 64 1D [11:46:35]GetLastDocTimeStamp 1720784788 [11:46:35]current date 1720784796 [11:46:35]FM_GetShiftState [11:46:35]SAM_PROTO_GetShiftState [11:46:35]wFMCommunicate request_size=4 [11:46:35]MH_SAM_APDU [11:46:35]CAPDU: 80 13 01 00 [11:46:35]Write to MH i2c: E2 08 00 65 04 80 13 01 00 00 00 00 00 E6 [11:46:35]Write i2c OK [11:46:35]MH_I2C_Read... [11:46:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:35]Read from MH i2c: E2 [11:46:35]MH_I2C_Read... [11:46:35]Read from MH i2c: E2 0E 00 [11:46:35]MH_I2C_Read... [11:46:35]Read from MH i2c: E2 0E 00 65 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E7 [11:46:35]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:46:35]wFMCommunicate OK [11:46:35]SAM_PROTO_GetShiftState done [11:46:35]FM_GetShiftState done [11:46:35]opened in 1720744326 [11:46:35]opened+sec_in_day 1720830726 [11:46:35]quantity*price = 33650 [11:46:35]sum+1 = 33651 [11:46:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.50 ИТОГО: 336.00 НСП 1% : 2.98 НДС 12% : 35.73 Наличными: 336.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 39 12.07.2024 11:46 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФД осн.: 56770 ФМ осн.: 0000000000874857 ФМ: 0000000000874857 ФД: 56771 ФПД: 99501780386266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114636&type=2&operation_type=1&fn_number=0000000000874857&fd_number=56771&fm=99501780386266&tin=02508201610067®Number=0000000000091208&sum=33600 [11:46:36]StoreToDocumentArchive [11:46:36]shift 494 fd 56771 [11:46:36]save to /storage/0494/doc_00056771 [11:46:36]save last doc name /storage/0494/doc_00056771 to /storage/kkm_last_doc_name [11:46:36]save OK [11:46:36]Clear old archive folders... [11:46:36]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:46:36]tlvbuf is 01AFD700 [11:46:36]SAM_PROTO_ClearQueue [11:46:36]wFMCommunicate request_size=4 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 09 00 00 [11:46:36]Write to MH i2c: E2 08 00 74 04 80 09 00 00 00 00 00 00 EA [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 74 04 00 90 00 EC [11:46:36]RAPDU: 90 00 [11:46:36]wFMCommunicate OK [11:46:36]SAM_PROTO_ClearQueue done [11:46:36]KKMCreateOFDPacket [11:46:36]OFDProtocolAddRootSTLVToBuf [11:46:36]FM_MakeSignedData [11:46:36]FM_MakeSignedData [11:46:36]SAM_PROTO_SignData [11:46:36]wFMCommunicate request_size=4 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 0D 01 02 [11:46:36]Write to MH i2c: E2 08 00 75 04 80 0D 01 02 00 00 00 00 F2 [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 75 04 00 90 00 ED [11:46:36]RAPDU: 90 00 [11:46:36]wFMCommunicate OK [11:46:36]wFMCommunicate request_size=255 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 02 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 9C 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 C2 DD 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 [11:46:36]Write to MH i2c: E2 02 01 76 04 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 02 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 9C 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 C2 DD 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 00 00 D3 [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 76 04 00 90 00 EE [11:46:36]RAPDU: 90 00 [11:46:36]wFMCommunicate OK [11:46:36]wFMCommunicate request_size=39 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DD 00 00 35 04 06 00 5A 7F 10 46 41 DA [11:46:36]Write to MH i2c: E2 2A 00 77 04 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DD 00 00 35 04 06 00 5A 7F 10 46 41 DA 00 00 A1 [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 03 00 77 04 00 90 00 EF [11:46:36]RAPDU: 90 00 [11:46:36]wFMCommunicate OK [11:46:36]wFMCommunicate request_size=4 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 0D 03 02 [11:46:36]Write to MH i2c: E2 08 00 78 04 80 0D 03 02 00 00 00 00 F7 [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 0B 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 0B 00 78 04 00 DA 82 C8 96 4B E0 44 81 90 00 A2 [11:46:36]RAPDU: DA 82 C8 96 4B E0 44 81 90 00 [11:46:36]wFMCommunicate OK [11:46:36]SAM_PROTO_SignData done [11:46:36]FM_MakeSignedData done [11:46:36]CreateOFDProtocolMessage [11:46:36]wFMCommunicate request_size=4 [11:46:36]MH_SAM_APDU [11:46:36]CAPDU: 80 11 00 00 [11:46:36]Write to MH i2c: E2 08 00 79 04 80 11 00 00 00 00 00 00 F7 [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:36]Read from MH i2c: E2 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 17 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: E2 17 00 79 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 51 [11:46:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:46:36]wFMCommunicate OK [11:46:36]CreateOFDProtocolMessage done [11:46:36]OFDSenderStorePacket 56771 [11:46:36]StoreOFDPacket docnum=56771 [11:46:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 E0 A4 24 01 AD 71 5A 03 01 00 03 00 18 01 1E 04 01 00 02 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 9C 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 C2 DD 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DD 00 00 35 04 06 00 5A 7F 10 46 41 DA DA 82 C8 96 4B E0 44 81 [11:46:36]CheckFolder [11:46:36]dirname=/storage/ofd_packets [11:46:36]CheckFolder done [11:46:36]ProducePacketName [11:46:36]name=ofd_packets/00056771 [11:46:36]NVStorageSaveData ofd_packets/00056771 [11:46:36]File name is /storage/ofd_packets/00056771 [11:46:36]Write 330 bytes [11:46:36]NVStorageSaveData done [11:46:36]OFDSenderStorePacket done [11:46:36]KKMCreateOFDPacket done [11:46:36]NVStorageSaveData kkm_last_timestamp [11:46:36]File name is /storage/kkm_last_timestamp [11:46:36]Write 4 bytes [11:46:36]NVStorageSaveData done [11:46:36]ExternCall_PrintAddStr [11:46:36]wPrintStart [11:46:36]Write to MH i2c: 01 00 00 7A 04 7E [11:46:36]Write i2c OK [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: 01 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: 01 07 00 [11:46:36]MH_I2C_Read... [11:46:36]Read from MH i2c: 01 07 00 7A 04 00 00 00 00 00 FF 0F 93 [11:46:36]RasterBufferAndPrint [11:46:36]line Счет N : (1)854146 [11:46:36]line ИНН: 02508201610067 [11:46:36]line Контрольно-Кассовый Чек [11:46:36]line ВОЗВРАТ ПРОДАЖИ [11:46:36]line ТРК (МРК, ГНК) : 62 [11:46:36]line Товар: 2710124130 [11:46:36]line SUPER 92-К-5 [11:46:36]line 5.000 * 67.30 [11:46:36]line = 336.50 [11:46:36]line НДС 12% НСП 1% [11:46:36]line > о реализуемом товаре [11:46:36]line ОКРУГЛЕНИЕ: -0.50 [11:46:36]line ИТОГО: 336.00 [11:46:36]line НСП 1% : 2.98 [11:46:36]line НДС 12% : 35.73 [11:46:36]line Наличными: 336.00 [11:46:36]line Безнал.: 0.00 [11:46:36]line Место: АЗС № 132 "Партнер Нефть" [11:46:36]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:46:36]line СНО: Общий режим [11:46:36]line Чек 39 12.07.2024 11:46 [11:46:36]line Смена: 494 ФФД: 1.0 [11:46:36]line ЗНМ: 0300000132 [11:46:36]line РНМ: 0000000000091208 [11:46:36]line Версия ККМ: 001 [11:46:36]line ФД осн.: 56770 [11:46:36]line ФМ осн.: 0000000000874857 [11:46:36]line ФМ: 0000000000874857 [11:46:36]line ФД: 56771 [11:46:36]line ФПД: 99501780386266 [11:46:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114636&type=2&operation_type=1&fn_number=0000000000874857&fd_number=56771&fm=99501780386266&tin=02508201610067®Number=0000000000091208&sum=33600 [11:46:37]written 0, free lines is 4095 [11:46:37]OFD Sender: Processing packet 56771 [packets to send 38, broken 37] [11:46:37]ProducePacketName [11:46:37]name=ofd_packets/00056771 [11:46:37]OFD Sender: To server: pG, [11:46:37]CommunicateWithHost lk.salyk.kg:30040 [11:46:37]ConnectInit lk.salyk.kg [11:46:37]Connected sock=11 [11:46:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 E0 A4 24 01 AD 71 5A 03 01 00 03 00 18 01 1E 04 01 00 02 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 72 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 0D 00 00 00 00 07 04 06 00 40 83 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 9C 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 C2 DD 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DD 00 00 35 04 06 00 5A 7F 10 46 41 DA DA 82 C8 96 4B E0 44 81 [11:46:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 62 99 47 00 F3 98 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 38 35 37 10 04 04 00 C3 DD 00 00 F4 03 04 00 F4 BD 90 66 B6 04 01 00 00 C0 9A 2A F3 38 97 B1 24 [11:46:37]CommunicateWithHost err = 0 [11:46:37]CheckOFDResponse [11:46:37]1017 (14) - 77093643461234 [11:46:37]1041 (16) - 0000000000874857 [11:46:37]1040 (4) - 56771 [11:46:37]1012 (4) - 12.07.2024 05:24 [11:46:37]1206 (1) - 0 [11:46:37]OFD Sender: Remove packet 56771 [11:46:37]ProducePacketName [11:46:37]name=ofd_packets/00056771 [11:46:37]NVStorageDeleteData [11:46:37]Write to MH i2c: 01 00 00 A5 04 A9 [11:46:37]Write i2c OK [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: 01 [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: 01 07 00 [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: 01 07 00 A5 04 00 00 00 00 00 04 0D C1 [11:46:37]RasterBufferAndPrint [11:46:37]line [11:46:37]line [11:46:37]line [11:46:37]line [11:46:37]line [11:46:37]written 0, free lines is 3350 [11:46:37]MH_Cut [11:46:37]Write to MH i2c: D1 01 00 AC 04 01 82 [11:46:37]Write i2c OK [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: D1 [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: D1 01 00 [11:46:37]MH_I2C_Read... [11:46:37]Read from MH i2c: D1 01 00 AC 04 00 81 [11:46:37]Write to MH i2c: 01 00 00 AD 04 B1 [11:46:37]Write i2c OK [11:46:37]MH_I2C_Read... [11:46:37]OFD Sender: No OFD packet to send [11:46:38]*** Cut start [11:46:38]*** Partial cut [11:46:38]*** CUTSNS_PIN = 1 [11:46:38]*** CUTSNS_PIN = 0 [11:46:38]*** Brake cut motor [11:46:38]Read from MH i2c: 01 [11:46:38]MH_I2C_Read... [11:46:38]*** Stop cut motor [11:46:38]*** Cut end [11:46:38]Read from MH i2c: 01 07 00 [11:46:38]MH_I2C_Read... [11:46:38]Read from MH i2c: 01 07 00 AD 04 00 00 00 00 00 FF 0F C6 [11:46:38]process_action close_receipt done [11:46:38]requested_data is exist [11:46:38]produce_requested_data [11:46:38]requested_item fm.sn is exist - process it [11:46:38]wFMCommunicate request_size=4 [11:46:38]MH_SAM_APDU [11:46:38]CAPDU: 80 11 00 00 [11:46:38]Write to MH i2c: E2 08 00 AE 04 80 11 00 00 00 00 00 00 2C [11:46:38]Write i2c OK [11:46:38]MH_I2C_Read... [11:46:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:38]Read from MH i2c: E2 [11:46:38]MH_I2C_Read... [11:46:38]Read from MH i2c: E2 17 00 [11:46:38]MH_I2C_Read... [11:46:38]Read from MH i2c: E2 17 00 AE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 86 [11:46:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:46:38]wFMCommunicate OK [11:46:38]requested_item fd.num is exist - process it [11:46:38]SAM_PROTO_GetFieldsCounters [11:46:38]wFMCommunicate request_size=4 [11:46:38]MH_SAM_APDU [11:46:38]CAPDU: 80 13 00 00 [11:46:38]Write to MH i2c: E2 08 00 AF 04 80 13 00 00 00 00 00 00 2F [11:46:38]Write i2c OK [11:46:38]MH_I2C_Read... [11:46:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:46:39]Read from MH i2c: E2 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 62 00 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 62 00 AF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C3 DD 00 00 0E 04 04 00 EE 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 56 [11:46:39]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C3 DD 00 00 0E 04 04 00 EE 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 [11:46:39]wFMCommunicate OK [11:46:39]SAM_PROTO_GetFieldsCounters done [11:46:39]requested_item shift.num is exist - process it [11:46:39]requested_item shift.opened is exist - process it [11:46:39]req_shift_opened [11:46:39]FM_GetShiftState [11:46:39]SAM_PROTO_GetShiftState [11:46:39]wFMCommunicate request_size=4 [11:46:39]MH_SAM_APDU [11:46:39]CAPDU: 80 13 01 00 [11:46:39]Write to MH i2c: E2 08 00 B0 04 80 13 01 00 00 00 00 00 31 [11:46:39]Write i2c OK [11:46:39]MH_I2C_Read... [11:46:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:39]Read from MH i2c: E2 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 0E 00 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 0E 00 B0 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 32 [11:46:39]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:46:39]wFMCommunicate OK [11:46:39]SAM_PROTO_GetShiftState done [11:46:39]FM_GetShiftState done [11:46:39]req_shift_opened done [11:46:39]requested_item shift.open_date is exist - process it [11:46:39]req_shift_open_date [11:46:39]req_shift_open_date done [11:46:39]requested_item shift.sale.total is exist - process it [11:46:39]SAM_PROTO_GetShiftData [11:46:39]wFMCommunicate request_size=4 [11:46:39]MH_SAM_APDU [11:46:39]CAPDU: 80 13 02 00 [11:46:39]Write to MH i2c: E2 08 00 B1 04 80 13 02 00 00 00 00 00 33 [11:46:39]Write i2c OK [11:46:39]MH_I2C_Read... [11:46:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:46:39]Read from MH i2c: E2 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 FD 00 [11:46:39]MH_I2C_Read... [11:46:39]Read from MH i2c: E2 FD 00 B1 04 00 B6 04 AA 04 B2 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 A8 C9 10 70 04 03 00 6C 68 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C8 01 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 07 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 64 [11:46:39]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 A8 C9 10 70 04 03 00 6C 68 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C8 01 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 07 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [11:46:39]wFMCommunicate OK [11:46:39]wFMCommunicate request_size=4 [11:46:39]MH_SAM_APDU [11:46:39]CAPDU: 80 17 00 00 [11:46:39]Write to MH i2c: E2 08 00 B2 04 80 17 00 00 00 00 00 00 36 [11:46:39]Write i2c OK [11:46:39]MH_I2C_Read... [11:46:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:40]Read from MH i2c: E2 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 B2 04 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [11:46:40]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:46:40]wFMCommunicate OK [11:46:40]wFMCommunicate request_size=4 [11:46:40]MH_SAM_APDU [11:46:40]CAPDU: 80 17 00 00 [11:46:40]Write to MH i2c: E2 08 00 B3 04 80 17 00 00 00 00 00 00 37 [11:46:40]Write i2c OK [11:46:40]MH_I2C_Read... [11:46:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:40]Read from MH i2c: E2 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 B3 04 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F7 [11:46:40]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:46:40]wFMCommunicate OK [11:46:40]wFMCommunicate request_size=4 [11:46:40]MH_SAM_APDU [11:46:40]CAPDU: 80 17 00 00 [11:46:40]Write to MH i2c: E2 08 00 B4 04 80 17 00 00 00 00 00 00 38 [11:46:40]Write i2c OK [11:46:40]MH_I2C_Read... [11:46:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:46:40]Read from MH i2c: E2 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 [11:46:40]MH_I2C_Read... [11:46:40]Read from MH i2c: E2 FD 00 B4 04 00 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 90 00 A7 [11:46:41]RAPDU: 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 90 00 [11:46:41]wFMCommunicate OK [11:46:41]wFMCommunicate request_size=4 [11:46:41]MH_SAM_APDU [11:46:41]CAPDU: 80 17 00 00 [11:46:41]Write to MH i2c: E2 08 00 B5 04 80 17 00 00 00 00 00 00 39 [11:46:41]Write i2c OK [11:46:41]MH_I2C_Read... [11:46:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:46:41]Read from MH i2c: E2 [11:46:41]MH_I2C_Read... [11:46:41]Read from MH i2c: E2 D3 00 [11:46:41]MH_I2C_Read... [11:46:41]Read from MH i2c: E2 D3 00 B5 04 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 26 [11:46:41]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:46:41]wFMCommunicate OK [11:46:41]SAM_PROTO_GetShiftData done [11:46:41]requested_item shift.sale.total_cash is exist - process it [11:46:41]requested_item shift.sale_refund.total is exist - process it [11:46:41]requested_item shift.sale_refund.total_cash is exist - process it [11:46:41]produce_requested_data done [11:46:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56771,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11002.00,"shift.sale.total_cash":8787.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [11:46:41]process_action_free close_receipt [11:46:41]json_value_free [11:46:41]json_value_free done [11:46:41]process_json_proto returns [11:46:41]Send response to host [11:46:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56771,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11002.00,"shift.sale.total_cash":8787.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [11:46:41]free response buf [11:46:41]execute_script done [11:46:41]execute_script returns [11:46:41]free content buf [11:46:41]Sock 9.Close socket [11:46:41]Sock 9.Thread stoped [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:04]accept exits with 7 [11:48:04]New connection [11:48:04]New thread 3066637668 created [11:48:04]Thread 3066781028 joined [11:48:04]Waiting for new connection... [11:48:04] Sock 7.Parse request [11:48:04]Sock 7.Check first char [11:48:04]Sock 7.First char is OK [11:48:04]request: POST /json_proto HTTP/1.0 [11:48:04]Method: POST [11:48:04]URL: /json_proto [11:48:04]Method is POST - this is cgi request [11:48:04]url: /json_proto [11:48:04]query_string will be loaded in cgi processing [11:48:04]execute_cgi json_proto POST (null) [11:48:04]execute_cgi path=json_proto method=POST [11:48:04]POST find Content-Length [11:48:04]Host: 172.17.39.4:8080 [11:48:04]Content-Length: 781 [11:48:04]Content-Type: application/json [11:48:04] [11:48:04]POST finish read [11:48:04]Found Content-Length = 781 [11:48:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854150", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 5.070, "sum" : 336.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 336.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:48:04]execute_script... [11:48:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854150", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 5.070, "sum" : 336.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 336.00, "total" : 336.00, "payments": [ { "type": 0, "sum" : 336.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:48:04]POST & json_proto [11:48:04]process_json_proto [11:48:04]json parsed OK: [11:48:04]protocol is kg_v1.0 [11:48:04]action value=close_receipt [11:48:04]process_action close_receipt [11:48:04]cmd_close_receipt [11:48:04]MH_GetDate [11:48:04]Write to MH i2c: F0 00 00 B6 04 A9 [11:48:04]Write i2c OK [11:48:04]MH_I2C_Read... [11:48:04]Read from MH i2c: F0 [11:48:04]MH_I2C_Read... [11:48:04]Read from MH i2c: F0 09 00 [11:48:04]MH_I2C_Read... [11:48:04]Read from MH i2c: F0 09 00 B6 04 00 F6 17 91 66 2D 25 5D 64 C9 [11:48:04]GetLastDocTimeStamp 1720784796 [11:48:04]current date 1720784886 [11:48:04]FM_GetShiftState [11:48:04]SAM_PROTO_GetShiftState [11:48:04]wFMCommunicate request_size=4 [11:48:04]MH_SAM_APDU [11:48:04]CAPDU: 80 13 01 00 [11:48:04]Write to MH i2c: E2 08 00 B7 04 80 13 01 00 00 00 00 00 38 [11:48:04]Write i2c OK [11:48:04]MH_I2C_Read... [11:48:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:04]Read from MH i2c: E2 [11:48:04]MH_I2C_Read... [11:48:04]Read from MH i2c: E2 0E 00 [11:48:04]MH_I2C_Read... [11:48:04]Read from MH i2c: E2 0E 00 B7 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 39 [11:48:04]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:48:04]wFMCommunicate OK [11:48:04]SAM_PROTO_GetShiftState done [11:48:04]FM_GetShiftState done [11:48:04]opened in 1720744326 [11:48:04]opened+sec_in_day 1720830726 [11:48:04]quantity*price = 33614 [11:48:04]sum+1 = 33615 [11:48:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 336.00 Внесено: 336.00 СДАЧА: 0.00 НСП 1% : 2.97 НДС 12% : 35.70 Наличными: 336.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 40 12.07.2024 11:48 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56772 ФПД: 244978017828621 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56772&fm=244978017828621&tin=02508201610067®Number=0000000000091208&sum=33600 [11:48:05]StoreToDocumentArchive [11:48:05]shift 494 fd 56772 [11:48:05]save to /storage/0494/doc_00056772 [11:48:05]save last doc name /storage/0494/doc_00056772 to /storage/kkm_last_doc_name [11:48:05]save OK [11:48:05]Clear old archive folders... [11:48:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:48:05]tlvbuf is 01AD9890 [11:48:05]SAM_PROTO_ClearQueue [11:48:05]wFMCommunicate request_size=4 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 09 00 00 [11:48:05]Write to MH i2c: E2 08 00 C4 04 80 09 00 00 00 00 00 00 3A [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:48:05]Read from MH i2c: E2 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 03 00 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 03 00 C4 04 00 90 00 3C [11:48:05]RAPDU: 90 00 [11:48:05]wFMCommunicate OK [11:48:05]SAM_PROTO_ClearQueue done [11:48:05]KKMCreateOFDPacket [11:48:05]OFDProtocolAddRootSTLVToBuf [11:48:05]FM_MakeSignedData [11:48:05]FM_MakeSignedData [11:48:05]SAM_PROTO_SignData [11:48:05]wFMCommunicate request_size=4 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 0D 01 02 [11:48:05]Write to MH i2c: E2 08 00 C5 04 80 0D 01 02 00 00 00 00 42 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:48:05]Read from MH i2c: E2 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 03 00 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 03 00 C5 04 00 90 00 3D [11:48:05]RAPDU: 90 00 [11:48:05]wFMCommunicate OK [11:48:05]wFMCommunicate request_size=255 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 13 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 4E 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0D 00 00 00 00 07 04 06 00 40 83 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 F6 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DD 00 00 35 04 06 00 DE [11:48:05]Write to MH i2c: E2 02 01 C6 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 13 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 4E 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0D 00 00 00 00 07 04 06 00 40 83 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 F6 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DD 00 00 35 04 06 00 DE 00 00 48 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:06]Read from MH i2c: E2 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 03 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 03 00 C6 04 00 90 00 3E [11:48:06]RAPDU: 90 00 [11:48:06]wFMCommunicate OK [11:48:06]wFMCommunicate request_size=10 [11:48:06]MH_SAM_APDU [11:48:06]CAPDU: 80 0D 02 02 05 CE 63 BA FF 0D [11:48:06]Write to MH i2c: E2 0D 00 C7 04 80 0D 02 02 05 00 CE 63 BA FF 0D 00 00 46 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:06]Read from MH i2c: E2 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 03 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 03 00 C7 04 00 90 00 3F [11:48:06]RAPDU: 90 00 [11:48:06]wFMCommunicate OK [11:48:06]wFMCommunicate request_size=4 [11:48:06]MH_SAM_APDU [11:48:06]CAPDU: 80 0D 03 02 [11:48:06]Write to MH i2c: E2 08 00 C8 04 80 0D 03 02 00 00 00 00 47 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:48:06]Read from MH i2c: E2 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 0B 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 0B 00 C8 04 00 F4 27 42 8D D1 86 31 AB 90 00 65 [11:48:06]RAPDU: F4 27 42 8D D1 86 31 AB 90 00 [11:48:06]wFMCommunicate OK [11:48:06]SAM_PROTO_SignData done [11:48:06]FM_MakeSignedData done [11:48:06]CreateOFDProtocolMessage [11:48:06]wFMCommunicate request_size=4 [11:48:06]MH_SAM_APDU [11:48:06]CAPDU: 80 11 00 00 [11:48:06]Write to MH i2c: E2 08 00 C9 04 80 11 00 00 00 00 00 00 47 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:06]Read from MH i2c: E2 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 17 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: E2 17 00 C9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A1 [11:48:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:48:06]wFMCommunicate OK [11:48:06]CreateOFDProtocolMessage done [11:48:06]OFDSenderStorePacket 56772 [11:48:06]StoreOFDPacket docnum=56772 [11:48:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 B5 88 07 01 DD 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 13 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 4E 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0D 00 00 00 00 07 04 06 00 40 83 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 F6 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DD 00 00 35 04 06 00 DE CE 63 BA FF 0D F4 27 42 8D D1 86 31 AB [11:48:06]CheckFolder [11:48:06]dirname=/storage/ofd_packets [11:48:06]CheckFolder done [11:48:06]ProducePacketName [11:48:06]name=ofd_packets/00056772 [11:48:06]NVStorageSaveData ofd_packets/00056772 [11:48:06]File name is /storage/ofd_packets/00056772 [11:48:06]Write 301 bytes [11:48:06]NVStorageSaveData done [11:48:06]OFDSenderStorePacket done [11:48:06]KKMCreateOFDPacket done [11:48:06]NVStorageSaveData kkm_last_timestamp [11:48:06]File name is /storage/kkm_last_timestamp [11:48:06]Write 4 bytes [11:48:06]NVStorageSaveData done [11:48:06]ExternCall_PrintAddStr [11:48:06]wPrintStart [11:48:06]Write to MH i2c: 01 00 00 CA 04 CE [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 07 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 07 00 CA 04 00 00 00 00 00 FF 0F E3 [11:48:06]RasterBufferAndPrint [11:48:06]line Счет N : (1)854150 [11:48:06]line ИНН: 02508201610067 [11:48:06]line Контрольно-Кассовый Чек [11:48:06]line ПРОДАЖА [11:48:06]line ТРК (МРК, ГНК) : 63 [11:48:06]line Товар: 2710124130 [11:48:06]line Аи-92-К-5 [11:48:06]line 5.070 * 66.30 [11:48:06]line = 336.14 [11:48:06]line НДС 12% НСП 1% [11:48:06]line > о реализуемом товаре [11:48:06]line ОКРУГЛЕНИЕ: -0.14 [11:48:06]line ИТОГО: 336.00 [11:48:06]line Внесено: 336.00 [11:48:06]line СДАЧА: 0.00 [11:48:06]line НСП 1% : 2.97 [11:48:06]line НДС 12% : 35.70 [11:48:06]line Наличными: 336.00 [11:48:06]line Безнал.: 0.00 [11:48:06]line Место: АЗС № 132 "Партнер Нефть" [11:48:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:48:06]line СНО: Общий режим [11:48:06]line Чек 40 12.07.2024 11:48 [11:48:06]line Смена: 494 ФФД: 1.0 [11:48:06]line ЗНМ: 0300000132 [11:48:06]line РНМ: 0000000000091208 [11:48:06]line Версия ККМ: 001 [11:48:06]line ФМ: 0000000000874857 [11:48:06]line ФД: 56772 [11:48:06]line ФПД: 244978017828621 [11:48:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T114806&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56772&fm=244978017828621&tin=02508201610067®Number=0000000000091208&sum=33600 [11:48:06]written 0, free lines is 4095 [11:48:06]OFD Sender: Processing packet 56772 [packets to send 38, broken 37] [11:48:06]ProducePacketName [11:48:06]name=ofd_packets/00056772 [11:48:06]OFD Sender: To server: pG, [11:48:06]CommunicateWithHost lk.salyk.kg:30040 [11:48:06]ConnectInit lk.salyk.kg [11:48:06]Connected sock=10 [11:48:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 B5 88 07 01 DD 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 13 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 4E 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0D 00 00 00 00 07 04 06 00 40 83 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 F6 17 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DD 00 00 35 04 06 00 DE CE 63 BA FF 0D F4 27 42 8D D1 86 31 AB [11:48:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 03 7C 47 00 AC 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DD 00 00 F4 03 04 00 4D BE 90 66 B6 04 01 00 00 98 89 BC 53 FF 01 55 22 [11:48:06]CommunicateWithHost err = 0 [11:48:06]CheckOFDResponse [11:48:06]1017 (14) - 77093643461234 [11:48:06]1041 (16) - 0000000000874857 [11:48:06]1040 (4) - 56772 [11:48:06]1012 (4) - 12.07.2024 05:25 [11:48:06]1206 (1) - 0 [11:48:06]OFD Sender: Remove packet 56772 [11:48:06]ProducePacketName [11:48:06]name=ofd_packets/00056772 [11:48:06]NVStorageDeleteData [11:48:06]Write to MH i2c: 01 00 00 F5 04 F9 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 07 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: 01 07 00 F5 04 00 00 00 00 00 EA 0C F6 [11:48:06]RasterBufferAndPrint [11:48:06]line [11:48:06]line [11:48:06]line [11:48:06]line [11:48:06]line [11:48:06]written 0, free lines is 3312 [11:48:06]MH_Cut [11:48:06]Write to MH i2c: D1 01 00 FC 04 01 D2 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: D1 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: D1 01 00 [11:48:06]MH_I2C_Read... [11:48:06]Read from MH i2c: D1 01 00 FC 04 00 D1 [11:48:06]Write to MH i2c: 01 00 00 FD 04 01 [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:07]OFD Sender: No OFD packet to send [11:48:07]*** Cut start [11:48:07]*** Partial cut [11:48:07]*** CUTSNS_PIN = 1 [11:48:07]*** CUTSNS_PIN = 0 [11:48:07]*** Brake cut motor [11:48:08]Read from MH i2c: 01 [11:48:08]MH_I2C_Read... [11:48:08]*** Stop cut motor [11:48:08]*** Cut end [11:48:08]Read from MH i2c: 01 07 00 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: 01 07 00 FD 04 00 00 00 00 00 FF 0F 16 [11:48:08]process_action close_receipt done [11:48:08]requested_data is exist [11:48:08]produce_requested_data [11:48:08]requested_item fm.sn is exist - process it [11:48:08]wFMCommunicate request_size=4 [11:48:08]MH_SAM_APDU [11:48:08]CAPDU: 80 11 00 00 [11:48:08]Write to MH i2c: E2 08 00 FE 04 80 11 00 00 00 00 00 00 7C [11:48:08]Write i2c OK [11:48:08]MH_I2C_Read... [11:48:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:08]Read from MH i2c: E2 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 17 00 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 17 00 FE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D6 [11:48:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:48:08]wFMCommunicate OK [11:48:08]requested_item fd.num is exist - process it [11:48:08]SAM_PROTO_GetFieldsCounters [11:48:08]wFMCommunicate request_size=4 [11:48:08]MH_SAM_APDU [11:48:08]CAPDU: 80 13 00 00 [11:48:08]Write to MH i2c: E2 08 00 FF 04 80 13 00 00 00 00 00 00 7F [11:48:08]Write i2c OK [11:48:08]MH_I2C_Read... [11:48:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:48:08]Read from MH i2c: E2 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 62 00 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 62 00 FF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C4 DD 00 00 0E 04 04 00 EE 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 AA [11:48:08]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C4 DD 00 00 0E 04 04 00 EE 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 [11:48:08]wFMCommunicate OK [11:48:08]SAM_PROTO_GetFieldsCounters done [11:48:08]requested_item shift.num is exist - process it [11:48:08]requested_item shift.opened is exist - process it [11:48:08]req_shift_opened [11:48:08]FM_GetShiftState [11:48:08]SAM_PROTO_GetShiftState [11:48:08]wFMCommunicate request_size=4 [11:48:08]MH_SAM_APDU [11:48:08]CAPDU: 80 13 01 00 [11:48:08]Write to MH i2c: E2 08 00 00 05 80 13 01 00 00 00 00 00 82 [11:48:08]Write i2c OK [11:48:08]MH_I2C_Read... [11:48:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:08]Read from MH i2c: E2 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 0E 00 [11:48:08]MH_I2C_Read... [11:48:08]Read from MH i2c: E2 0E 00 00 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 83 [11:48:08]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:48:08]wFMCommunicate OK [11:48:08]SAM_PROTO_GetShiftState done [11:48:08]FM_GetShiftState done [11:48:08]req_shift_opened done [11:48:08]requested_item shift.open_date is exist - process it [11:48:08]req_shift_open_date [11:48:08]req_shift_open_date done [11:48:08]requested_item shift.sale.total is exist - process it [11:48:08]SAM_PROTO_GetShiftData [11:48:08]wFMCommunicate request_size=4 [11:48:08]MH_SAM_APDU [11:48:08]CAPDU: 80 13 02 00 [11:48:08]Write to MH i2c: E2 08 00 01 05 80 13 02 00 00 00 00 00 84 [11:48:08]Write i2c OK [11:48:08]MH_I2C_Read... [11:48:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:48:09]Read from MH i2c: E2 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 01 05 00 B6 04 AA 04 B2 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 E8 4C 11 70 04 03 00 AC EB 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 60 D6 01 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 30 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 68 [11:48:09]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 E8 4C 11 70 04 03 00 AC EB 0D 72 04 03 00 3C 61 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 60 D6 01 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 30 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [11:48:09]wFMCommunicate OK [11:48:09]wFMCommunicate request_size=4 [11:48:09]MH_SAM_APDU [11:48:09]CAPDU: 80 17 00 00 [11:48:09]Write to MH i2c: E2 08 00 02 05 80 17 00 00 00 00 00 00 87 [11:48:09]Write i2c OK [11:48:09]MH_I2C_Read... [11:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:09]Read from MH i2c: E2 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 02 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [11:48:09]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:48:09]wFMCommunicate OK [11:48:09]wFMCommunicate request_size=4 [11:48:09]MH_SAM_APDU [11:48:09]CAPDU: 80 17 00 00 [11:48:09]Write to MH i2c: E2 08 00 03 05 80 17 00 00 00 00 00 00 88 [11:48:09]Write i2c OK [11:48:09]MH_I2C_Read... [11:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:09]Read from MH i2c: E2 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 03 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 48 [11:48:09]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:48:09]wFMCommunicate OK [11:48:09]wFMCommunicate request_size=4 [11:48:09]MH_SAM_APDU [11:48:09]CAPDU: 80 17 00 00 [11:48:09]Write to MH i2c: E2 08 00 04 05 80 17 00 00 00 00 00 00 89 [11:48:09]Write i2c OK [11:48:09]MH_I2C_Read... [11:48:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:48:09]Read from MH i2c: E2 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 [11:48:09]MH_I2C_Read... [11:48:09]Read from MH i2c: E2 FD 00 04 05 00 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 90 00 F8 [11:48:09]RAPDU: 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 90 00 [11:48:09]wFMCommunicate OK [11:48:09]wFMCommunicate request_size=4 [11:48:09]MH_SAM_APDU [11:48:09]CAPDU: 80 17 00 00 [11:48:09]Write to MH i2c: E2 08 00 05 05 80 17 00 00 00 00 00 00 8A [11:48:09]Write i2c OK [11:48:09]MH_I2C_Read... [11:48:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:48:10]Read from MH i2c: E2 [11:48:10]MH_I2C_Read... [11:48:10]Read from MH i2c: E2 D3 00 [11:48:10]MH_I2C_Read... [11:48:10]Read from MH i2c: E2 D3 00 05 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 77 [11:48:10]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:48:10]wFMCommunicate OK [11:48:10]SAM_PROTO_GetShiftData done [11:48:10]requested_item shift.sale.total_cash is exist - process it [11:48:10]requested_item shift.sale_refund.total is exist - process it [11:48:10]requested_item shift.sale_refund.total_cash is exist - process it [11:48:10]produce_requested_data done [11:48:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56772,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11338.00,"shift.sale.total_cash":9123.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [11:48:10]process_action_free close_receipt [11:48:10]json_value_free [11:48:10]json_value_free done [11:48:10]process_json_proto returns [11:48:10]Send response to host [11:48:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56772,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":11338.00,"shift.sale.total_cash":9123.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [11:48:10]free response buf [11:48:10]execute_script done [11:48:10]execute_script returns [11:48:10]free content buf [11:48:10]Sock 7.Close socket [11:48:10]Sock 7.Thread stoped [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:20]accept exits with 9 [11:50:20]New connection [11:50:20]New thread 3066781028 created [11:50:20]Thread 3066637668 joined [11:50:20]Waiting for new connection... [11:50:20] Sock 9.Parse request [11:50:20]Sock 9.Check first char [11:50:20]Sock 9.First char is OK [11:50:20]request: POST /json_proto HTTP/1.0 [11:50:20]Method: POST [11:50:20]URL: /json_proto [11:50:20]Method is POST - this is cgi request [11:50:20]url: /json_proto [11:50:20]query_string will be loaded in cgi processing [11:50:20]execute_cgi json_proto POST (null) [11:50:20]execute_cgi path=json_proto method=POST [11:50:20]POST find Content-Length [11:50:20]Host: 172.17.39.4:8080 [11:50:20]Content-Length: 945 [11:50:20]Content-Type: application/json [11:50:20] [11:50:20]POST finish read [11:50:20]Found Content-Length = 945 [11:50:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854152", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 12.070, "sum" : 800.24, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 800.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:50:20]execute_script... [11:50: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 : (1)854152", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 12.070, "sum" : 800.24, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 800.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:50:20]POST & json_proto [11:50:20]process_json_proto [11:50:20]json parsed OK: [11:50:20]protocol is kg_v1.0 [11:50:20]action value=close_receipt [11:50:20]process_action close_receipt [11:50:20]cmd_close_receipt [11:50:20]MH_GetDate [11:50:20]Write to MH i2c: F0 00 00 06 05 FA [11:50:20]Write i2c OK [11:50:20]MH_I2C_Read... [11:50:20]Read from MH i2c: F0 [11:50:20]MH_I2C_Read... [11:50:20]Read from MH i2c: F0 09 00 [11:50:20]MH_I2C_Read... [11:50:20]Read from MH i2c: F0 09 00 06 05 00 7E 18 91 66 2D 25 5D 64 A3 [11:50:20]GetLastDocTimeStamp 1720784886 [11:50:20]current date 1720785022 [11:50:20]FM_GetShiftState [11:50:20]SAM_PROTO_GetShiftState [11:50:20]wFMCommunicate request_size=4 [11:50:20]MH_SAM_APDU [11:50:20]CAPDU: 80 13 01 00 [11:50:20]Write to MH i2c: E2 08 00 07 05 80 13 01 00 00 00 00 00 89 [11:50:20]Write i2c OK [11:50:20]MH_I2C_Read... [11:50:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:21]Read from MH i2c: E2 [11:50:21]MH_I2C_Read... [11:50:21]Read from MH i2c: E2 0E 00 [11:50:21]MH_I2C_Read... [11:50:21]Read from MH i2c: E2 0E 00 07 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 8A [11:50:21]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:50:21]wFMCommunicate OK [11:50:21]SAM_PROTO_GetShiftState done [11:50:21]FM_GetShiftState done [11:50:21]opened in 1720744326 [11:50:21]opened+sec_in_day 1720830726 [11:50:21]quantity*price = 80024 [11:50:21]sum+1 = 80025 [11:50:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 800.24 НСП 1% : 7.08 НДС 12% : 84.98 Наличными: 0.00 Безнал.: 800.24 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 41 12.07.2024 11:50 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56773 ФПД: 53300444377218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115022&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56773&fm=53300444377218&tin=02508201610067®Number=0000000000091208&sum=80024 [11:50:22]StoreToDocumentArchive [11:50:22]shift 494 fd 56773 [11:50:22]save to /storage/0494/doc_00056773 [11:50:22]save last doc name /storage/0494/doc_00056773 to /storage/kkm_last_doc_name [11:50:22]save OK [11:50:22]Clear old archive folders... [11:50:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:50:22]tlvbuf is 01AD96F0 [11:50:22]SAM_PROTO_ClearQueue [11:50:22]wFMCommunicate request_size=4 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 09 00 00 [11:50:22]Write to MH i2c: E2 08 00 14 05 80 09 00 00 00 00 00 00 8B [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 14 05 00 90 00 8D [11:50:22]RAPDU: 90 00 [11:50:22]wFMCommunicate OK [11:50:22]SAM_PROTO_ClearQueue done [11:50:22]KKMCreateOFDPacket [11:50:22]OFDProtocolAddRootSTLVToBuf [11:50:22]FM_MakeSignedData [11:50:22]FM_MakeSignedData [11:50:22]SAM_PROTO_SignData [11:50:22]wFMCommunicate request_size=4 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 0D 01 02 [11:50:22]Write to MH i2c: E2 08 00 15 05 80 0D 01 02 00 00 00 00 93 [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 15 05 00 90 00 8E [11:50:22]RAPDU: 90 00 [11:50:22]wFMCommunicate OK [11:50:22]wFMCommunicate request_size=255 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 7E 18 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DD 00 00 35 04 06 00 30 [11:50:22]Write to MH i2c: E2 02 01 16 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 7E 18 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DD 00 00 35 04 06 00 30 00 00 F6 [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 16 05 00 90 00 8F [11:50:22]RAPDU: 90 00 [11:50:22]wFMCommunicate OK [11:50:22]wFMCommunicate request_size=10 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 0D 02 02 05 79 FA 0D B0 82 [11:50:22]Write to MH i2c: E2 0D 00 17 05 80 0D 02 02 05 00 79 FA 0D B0 82 00 00 52 [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]OFD Sender: No OFD packet to send [11:50:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 03 00 17 05 00 90 00 90 [11:50:22]RAPDU: 90 00 [11:50:22]wFMCommunicate OK [11:50:22]wFMCommunicate request_size=4 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 0D 03 02 [11:50:22]Write to MH i2c: E2 08 00 18 05 80 0D 03 02 00 00 00 00 98 [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 0B 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 0B 00 18 05 00 B7 D9 DA 5A 2E A2 70 87 90 00 24 [11:50:22]RAPDU: B7 D9 DA 5A 2E A2 70 87 90 00 [11:50:22]wFMCommunicate OK [11:50:22]SAM_PROTO_SignData done [11:50:22]FM_MakeSignedData done [11:50:22]CreateOFDProtocolMessage [11:50:22]wFMCommunicate request_size=4 [11:50:22]MH_SAM_APDU [11:50:22]CAPDU: 80 11 00 00 [11:50:22]Write to MH i2c: E2 08 00 19 05 80 11 00 00 00 00 00 00 98 [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:22]Read from MH i2c: E2 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: E2 17 00 [11:50:22]MH_I2C_Read... [11:50:22]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 38 35 37 90 00 F2 [11:50:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:50:22]wFMCommunicate OK [11:50:22]CreateOFDProtocolMessage done [11:50:22]OFDSenderStorePacket 56773 [11:50:22]StoreOFDPacket docnum=56773 [11:50:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 FD 96 07 01 54 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 7E 18 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DD 00 00 35 04 06 00 30 79 FA 0D B0 82 B7 D9 DA 5A 2E A2 70 87 [11:50:22]CheckFolder [11:50:22]dirname=/storage/ofd_packets [11:50:22]CheckFolder done [11:50:22]ProducePacketName [11:50:22]name=ofd_packets/00056773 [11:50:22]NVStorageSaveData ofd_packets/00056773 [11:50:22]File name is /storage/ofd_packets/00056773 [11:50:22]Write 301 bytes [11:50:22]NVStorageSaveData done [11:50:22]OFDSenderStorePacket done [11:50:22]KKMCreateOFDPacket done [11:50:22]NVStorageSaveData kkm_last_timestamp [11:50:22]File name is /storage/kkm_last_timestamp [11:50:22]Write 4 bytes [11:50:22]NVStorageSaveData done [11:50:22]ExternCall_PrintAddStr [11:50:22]wPrintStart [11:50:22]Write to MH i2c: 01 00 00 1A 05 1F [11:50:22]Write i2c OK [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: 01 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: 01 07 00 [11:50:22]MH_I2C_Read... [11:50:22]Read from MH i2c: 01 07 00 1A 05 00 00 00 00 00 FF 0F 34 [11:50:22]RasterBufferAndPrint [11:50:22]line Счет N : (1)854152 [11:50:22]line ИНН: 02508201610067 [11:50:22]line Контрольно-Кассовый Чек [11:50:22]line ПРОДАЖА [11:50:22]line ТРК (МРК, ГНК) : 53 [11:50:22]line Товар: 2710124130 [11:50:22]line Аи-92-К-5 [11:50:22]line 12.070 * 66.30 [11:50:22]line = 800.24 [11:50:22]line НДС 12% НСП 1% [11:50:22]line > о реализуемом товаре [11:50:22]line ИТОГО: 800.24 [11:50:22]line НСП 1% : 7.08 [11:50:22]line НДС 12% : 84.98 [11:50:22]line Наличными: 0.00 [11:50:22]line Безнал.: 800.24 [11:50:22]line Место: АЗС № 132 "Партнер Нефть" [11:50:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:50:22]line СНО: Общий режим [11:50:22]line Чек 41 12.07.2024 11:50 [11:50:22]line Смена: 494 ФФД: 1.0 [11:50:22]line ЗНМ: 0300000132 [11:50:22]line РНМ: 0000000000091208 [11:50:22]line Версия ККМ: 001 [11:50:22]line Платежная система: АКБ Кыргызстан [11:50:22]line ФМ: 0000000000874857 [11:50:22]line ФД: 56773 [11:50:22]line ФПД: 53300444377218 [11:50:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115022&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56773&fm=53300444377218&tin=02508201610067®Number=0000000000091208&sum=80024 [11:50:23]OFD Sender: Processing packet 56773 [packets to send 38, broken 37] [11:50:23]ProducePacketName [11:50:23]name=ofd_packets/00056773 [11:50:23]OFD Sender: To server: pG, [11:50:23]CommunicateWithHost lk.salyk.kg:30040 [11:50:23]ConnectInit lk.salyk.kg [11:50:23]written 0, free lines is 4095 [11:50:23]Connected sock=10 [11:50: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 38 35 37 0F 01 00 00 FD 96 07 01 54 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 2F 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 98 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 7E 18 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DD 00 00 35 04 06 00 30 79 FA 0D B0 82 B7 D9 DA 5A 2E A2 70 87 [11:50:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 AB F6 47 00 E1 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 38 35 37 10 04 04 00 C5 DD 00 00 F4 03 04 00 D6 BE 90 66 B6 04 01 00 00 5C F4 78 C3 B7 89 5A 33 [11:50:23]CommunicateWithHost err = 0 [11:50:23]CheckOFDResponse [11:50:23]1017 (14) - 77093643461234 [11:50:23]1041 (16) - 0000000000874857 [11:50:23]1040 (4) - 56773 [11:50:23]1012 (4) - 12.07.2024 05:27 [11:50:23]1206 (1) - 0 [11:50:23]OFD Sender: Remove packet 56773 [11:50:23]ProducePacketName [11:50:23]name=ofd_packets/00056773 [11:50:23]NVStorageDeleteData [11:50:23]Write to MH i2c: 01 00 00 44 05 49 [11:50:23]Write i2c OK [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: 01 [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: 01 07 00 [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: 01 07 00 44 05 00 00 00 00 00 01 0D 5E [11:50:23]RasterBufferAndPrint [11:50:23]line [11:50:23]line [11:50:23]line [11:50:23]line [11:50:23]line [11:50:23]written 0, free lines is 3335 [11:50:23]MH_Cut [11:50:23]Write to MH i2c: D1 01 00 4B 05 01 22 [11:50:23]Write i2c OK [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: D1 [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: D1 01 00 [11:50:23]MH_I2C_Read... [11:50:23]Read from MH i2c: D1 01 00 4B 05 00 21 [11:50:23]Write to MH i2c: 01 00 00 4C 05 51 [11:50:23]Write i2c OK [11:50:23]MH_I2C_Read... [11:50:23]OFD Sender: No OFD packet to send [11:50:24]*** Cut start [11:50:24]*** Partial cut [11:50:24]*** CUTSNS_PIN = 1 [11:50:24]*** CUTSNS_PIN = 0 [11:50:24]*** Brake cut motor [11:50:24]Read from MH i2c: 01 [11:50:24]MH_I2C_Read... [11:50:24]*** Stop cut motor [11:50:24]*** Cut end [11:50:24]Read from MH i2c: 01 07 00 [11:50:24]MH_I2C_Read... [11:50:24]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 FF 0F 66 [11:50:24]process_action close_receipt done [11:50:24]requested_data is exist [11:50:24]produce_requested_data [11:50:24]requested_item fm.sn is exist - process it [11:50:24]wFMCommunicate request_size=4 [11:50:24]MH_SAM_APDU [11:50:24]CAPDU: 80 11 00 00 [11:50:24]Write to MH i2c: E2 08 00 4D 05 80 11 00 00 00 00 00 00 CC [11:50:24]Write i2c OK [11:50:24]MH_I2C_Read... [11:50:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:24]Read from MH i2c: E2 [11:50:24]MH_I2C_Read... [11:50:24]Read from MH i2c: E2 17 00 [11:50:24]MH_I2C_Read... [11:50:24]Read from MH i2c: E2 17 00 4D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [11:50:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:50:24]wFMCommunicate OK [11:50:24]requested_item fd.num is exist - process it [11:50:24]SAM_PROTO_GetFieldsCounters [11:50:24]wFMCommunicate request_size=4 [11:50:24]MH_SAM_APDU [11:50:24]CAPDU: 80 13 00 00 [11:50:24]Write to MH i2c: E2 08 00 4E 05 80 13 00 00 00 00 00 00 CF [11:50:24]Write i2c OK [11:50:24]MH_I2C_Read... [11:50:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:50:25]Read from MH i2c: E2 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 62 00 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 62 00 4E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C5 DD 00 00 0E 04 04 00 EE 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 FE [11:50: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C5 DD 00 00 0E 04 04 00 EE 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 [11:50:25]wFMCommunicate OK [11:50:25]SAM_PROTO_GetFieldsCounters done [11:50:25]requested_item shift.num is exist - process it [11:50:25]requested_item shift.opened is exist - process it [11:50:25]req_shift_opened [11:50:25]FM_GetShiftState [11:50:25]SAM_PROTO_GetShiftState [11:50:25]wFMCommunicate request_size=4 [11:50:25]MH_SAM_APDU [11:50:25]CAPDU: 80 13 01 00 [11:50:25]Write to MH i2c: E2 08 00 4F 05 80 13 01 00 00 00 00 00 D1 [11:50:25]Write i2c OK [11:50:25]MH_I2C_Read... [11:50:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:25]Read from MH i2c: E2 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 0E 00 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 0E 00 4F 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D2 [11:50:25]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [11:50:25]wFMCommunicate OK [11:50:25]SAM_PROTO_GetShiftState done [11:50:25]FM_GetShiftState done [11:50:25]req_shift_opened done [11:50:25]requested_item shift.open_date is exist - process it [11:50:25]req_shift_open_date [11:50:25]req_shift_open_date done [11:50:25]requested_item shift.sale.total is exist - process it [11:50:25]SAM_PROTO_GetShiftData [11:50:25]wFMCommunicate request_size=4 [11:50:25]MH_SAM_APDU [11:50:25]CAPDU: 80 13 02 00 [11:50:25]Write to MH i2c: E2 08 00 50 05 80 13 02 00 00 00 00 00 D3 [11:50:25]Write i2c OK [11:50:25]MH_I2C_Read... [11:50:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:50:25]Read from MH i2c: E2 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 FD 00 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 FD 00 50 05 00 B6 04 AA 04 B2 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 80 85 12 70 04 03 00 AC EB 0D 72 04 03 00 D4 99 04 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 92 F7 01 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 F4 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 75 [11:50:25]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 80 85 12 70 04 03 00 AC EB 0D 72 04 03 00 D4 99 04 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 92 F7 01 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 F4 29 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [11:50:25]wFMCommunicate OK [11:50:25]wFMCommunicate request_size=4 [11:50:25]MH_SAM_APDU [11:50:25]CAPDU: 80 17 00 00 [11:50:25]Write to MH i2c: E2 08 00 51 05 80 17 00 00 00 00 00 00 D6 [11:50:25]Write i2c OK [11:50:25]MH_I2C_Read... [11:50:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:25]Read from MH i2c: E2 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 FD 00 [11:50:25]MH_I2C_Read... [11:50:25]Read from MH i2c: E2 FD 00 51 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [11:50:25]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:50:25]wFMCommunicate OK [11:50:25]wFMCommunicate request_size=4 [11:50:25]MH_SAM_APDU [11:50:25]CAPDU: 80 17 00 00 [11:50:25]Write to MH i2c: E2 08 00 52 05 80 17 00 00 00 00 00 00 D7 [11:50:25]Write i2c OK [11:50:25]MH_I2C_Read... [11:50:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:26]Read from MH i2c: E2 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 FD 00 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 FD 00 52 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 97 [11:50:26]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:50:26]wFMCommunicate OK [11:50:26]wFMCommunicate request_size=4 [11:50:26]MH_SAM_APDU [11:50:26]CAPDU: 80 17 00 00 [11:50:26]Write to MH i2c: E2 08 00 53 05 80 17 00 00 00 00 00 00 D8 [11:50:26]Write i2c OK [11:50:26]MH_I2C_Read... [11:50:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:50:26]Read from MH i2c: E2 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 FD 00 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 FD 00 53 05 00 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 90 00 47 [11:50:26]RAPDU: 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 90 00 [11:50:26]wFMCommunicate OK [11:50:26]wFMCommunicate request_size=4 [11:50:26]MH_SAM_APDU [11:50:26]CAPDU: 80 17 00 00 [11:50:26]Write to MH i2c: E2 08 00 54 05 80 17 00 00 00 00 00 00 D9 [11:50:26]Write i2c OK [11:50:26]MH_I2C_Read... [11:50:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [11:50:26]Read from MH i2c: E2 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 D3 00 [11:50:26]MH_I2C_Read... [11:50:26]Read from MH i2c: E2 D3 00 54 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C6 [11:50:26]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:50:26]wFMCommunicate OK [11:50:26]SAM_PROTO_GetShiftData done [11:50:26]requested_item shift.sale.total_cash is exist - process it [11:50:26]requested_item shift.sale_refund.total is exist - process it [11:50:26]requested_item shift.sale_refund.total_cash is exist - process it [11:50:26]produce_requested_data done [11:50:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56773,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12138.24,"shift.sale.total_cash":9123.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [11:50:26]process_action_free close_receipt [11:50:26]json_value_free [11:50:26]json_value_free done [11:50:26]process_json_proto returns [11:50:26]Send response to host [11:50:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56773,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12138.24,"shift.sale.total_cash":9123.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [11:50:26]free response buf [11:50:26]execute_script done [11:50:26]execute_script returns [11:50:26]free content buf [11:50:26]Sock 9.Close socket [11:50:26]Sock 9.Thread stoped [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:36]accept exits with 7 [12:04:36]New connection [12:04:36]New thread 3066637668 created [12:04:36]Thread 3066781028 joined [12:04:36]Waiting for new connection... [12:04:36] Sock 7.Parse request [12:04:36]Sock 7.Check first char [12:04:36]Sock 7.First char is OK [12:04:36]request: POST /json_proto HTTP/1.0 [12:04:36]Method: POST [12:04:36]URL: /json_proto [12:04:36]Method is POST - this is cgi request [12:04:36]url: /json_proto [12:04:36]query_string will be loaded in cgi processing [12:04:36]execute_cgi json_proto POST (null) [12:04:36]execute_cgi path=json_proto method=POST [12:04:36]POST find Content-Length [12:04:36]Host: 172.17.39.4:8080 [12:04:36]Content-Length: 764 [12:04:36]Content-Type: application/json [12:04:36] [12:04:36]POST finish read [12:04:36]Found Content-Length = 764 [12:04:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129269", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:04:36]execute_script... [12:04: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)129269", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:04:36]POST & json_proto [12:04:36]process_json_proto [12:04:36]json parsed OK: [12:04:36]protocol is kg_v1.0 [12:04:36]action value=close_receipt [12:04:36]process_action close_receipt [12:04:36]cmd_close_receipt [12:04:36]MH_GetDate [12:04:36]Write to MH i2c: F0 00 00 55 05 49 [12:04:36]Write i2c OK [12:04:36]MH_I2C_Read... [12:04:36]Read from MH i2c: F0 [12:04:36]MH_I2C_Read... [12:04:36]Read from MH i2c: F0 09 00 [12:04:36]MH_I2C_Read... [12:04:36]Read from MH i2c: F0 09 00 55 05 00 D5 1B 91 66 2D 25 5D 64 4C [12:04:36]GetLastDocTimeStamp 1720785022 [12:04:36]current date 1720785877 [12:04:36]FM_GetShiftState [12:04:36]SAM_PROTO_GetShiftState [12:04:36]wFMCommunicate request_size=4 [12:04:36]MH_SAM_APDU [12:04:36]CAPDU: 80 13 01 00 [12:04:36]Write to MH i2c: E2 08 00 56 05 80 13 01 00 00 00 00 00 D8 [12:04:36]Write i2c OK [12:04:36]MH_I2C_Read... [12:04:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:36]Read from MH i2c: E2 [12:04:36]MH_I2C_Read... [12:04:36]Read from MH i2c: E2 0E 00 [12:04:36]MH_I2C_Read... [12:04:36]Read from MH i2c: E2 0E 00 56 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D9 [12:04:36]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:04:36]wFMCommunicate OK [12:04:36]SAM_PROTO_GetShiftState done [12:04:36]FM_GetShiftState done [12:04:36]opened in 1720744326 [12:04:36]opened+sec_in_day 1720830726 [12:04:36]quantity*price = 15500 [12:04:36]sum+1 = 15501 [12:04:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 42 12.07.2024 12:04 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56774 ФПД: 28490488222625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T120437&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56774&fm=28490488222625&tin=02508201610067®Number=0000000000091208&sum=15500 0 [12:04:37]StoreToDocumentArchive [12:04:37]shift 494 fd 56774 [12:04:37]save to /storage/0494/doc_00056774 [12:04:37]save last doc name /storage/0494/doc_00056774 to /storage/kkm_last_doc_name [12:04:37]save OK [12:04:37]Clear old archive folders... [12:04:37]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:04:37]tlvbuf is 01ADAFC0 [12:04:37]SAM_PROTO_ClearQueue [12:04:37]wFMCommunicate request_size=4 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 09 00 00 [12:04:37]Write to MH i2c: E2 08 00 63 05 80 09 00 00 00 00 00 00 DA [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 63 05 00 90 00 DC [12:04:37]RAPDU: 90 00 [12:04:37]wFMCommunicate OK [12:04:37]SAM_PROTO_ClearQueue done [12:04:37]KKMCreateOFDPacket [12:04:37]OFDProtocolAddRootSTLVToBuf [12:04:37]FM_MakeSignedData [12:04:37]FM_MakeSignedData [12:04:37]SAM_PROTO_SignData [12:04:37]wFMCommunicate request_size=4 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 0D 01 02 [12:04:37]Write to MH i2c: E2 08 00 64 05 80 0D 01 02 00 00 00 00 E2 [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 64 05 00 90 00 DD [12:04:37]RAPDU: 90 00 [12:04:37]wFMCommunicate OK [12:04:37]wFMCommunicate request_size=255 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D5 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [12:04:37]Write to MH i2c: E2 02 01 65 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D5 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 F6 [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 65 05 00 90 00 DE [12:04:37]RAPDU: 90 00 [12:04:37]wFMCommunicate OK [12:04:37]wFMCommunicate request_size=39 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DD 00 00 35 04 06 00 19 E9 75 6E 13 A1 [12:04:37]Write to MH i2c: E2 2A 00 66 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DD 00 00 35 04 06 00 19 E9 75 6E 13 A1 00 00 E3 [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [12:04:37]RAPDU: 90 00 [12:04:37]wFMCommunicate OK [12:04:37]wFMCommunicate request_size=4 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 0D 03 02 [12:04:37]Write to MH i2c: E2 08 00 67 05 80 0D 03 02 00 00 00 00 E7 [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 0B 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 0B 00 67 05 00 77 0C 0C 01 CC BE 77 26 90 00 9F [12:04:37]RAPDU: 77 0C 0C 01 CC BE 77 26 90 00 [12:04:37]wFMCommunicate OK [12:04:37]SAM_PROTO_SignData done [12:04:37]FM_MakeSignedData done [12:04:37]CreateOFDProtocolMessage [12:04:37]wFMCommunicate request_size=4 [12:04:37]MH_SAM_APDU [12:04:37]CAPDU: 80 11 00 00 [12:04:37]Write to MH i2c: E2 08 00 68 05 80 11 00 00 00 00 00 00 E7 [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:37]Read from MH i2c: E2 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 17 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: E2 17 00 68 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [12:04:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:04:37]wFMCommunicate OK [12:04:37]CreateOFDProtocolMessage done [12:04:37]OFDSenderStorePacket 56774 [12:04:37]StoreOFDPacket docnum=56774 [12:04:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 CD EF 24 01 2B C8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D5 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DD 00 00 35 04 06 00 19 E9 75 6E 13 A1 77 0C 0C 01 CC BE 77 26 [12:04:37]CheckFolder [12:04:37]dirname=/storage/ofd_packets [12:04:37]CheckFolder done [12:04:37]ProducePacketName [12:04:37]name=ofd_packets/00056774 [12:04:37]NVStorageSaveData ofd_packets/00056774 [12:04:37]File name is /storage/ofd_packets/00056774 [12:04:37]Write 330 bytes [12:04:37]NVStorageSaveData done [12:04:37]OFDSenderStorePacket done [12:04:37]KKMCreateOFDPacket done [12:04:37]NVStorageSaveData kkm_last_timestamp [12:04:37]File name is /storage/kkm_last_timestamp [12:04:37]Write 4 bytes [12:04:37]NVStorageSaveData done [12:04:37]ExternCall_PrintAddStr [12:04:37]wPrintStart [12:04:37]Write to MH i2c: 01 00 00 69 05 6E [12:04:37]Write i2c OK [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: 01 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: 01 07 00 [12:04:37]MH_I2C_Read... [12:04:37]Read from MH i2c: 01 07 00 69 05 00 00 00 00 00 FF 0F 83 [12:04:37]RasterBufferAndPrint [12:04:37]line Счет N : (3)129269 [12:04:37]line ИНН: 02508201610067 [12:04:37]line Контрольно-Кассовый Чек [12:04:37]line ПРОДАЖА [12:04:37]line Товар: 5449000000439 [12:04:37]line Напиток Кока-Кола 1,5л [12:04:37]line 1.000 * 155.00 [12:04:37]line = 155.00 [12:04:37]line НДС 12% НСП 1% [12:04:37]line > о реализуемом товаре [12:04:37]line ИТОГО: 155.00 [12:04:37]line НСП 1% : 1.37 [12:04:37]line НДС 12% : 16.46 [12:04:37]line Наличными: 155.00 [12:04:37]line Безнал.: 0.00 [12:04:37]line Место: АЗС № 132 "Партнер Нефть" [12:04:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:04:37]line СНО: Общий режим [12:04:37]line Чек 42 12.07.2024 12:04 [12:04:37]line Смена: 494 ФФД: 1.0 [12:04:37]line ЗНМ: 0300000132 [12:04:37]line РНМ: 0000000000091208 [12:04:37]line Версия ККМ: 001 [12:04:37]line ФМ: 0000000000874857 [12:04:37]line ФД: 56774 [12:04:37]line ФПД: 28490488222625 [12:04:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T120437&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56774&fm=28490488222625&tin=02508201610067®Number=0000000000091208&sum=15500 [12:04:38]OFD Sender: Processing packet 56774 [packets to send 38, broken 37] [12:04:38]ProducePacketName [12:04:38]name=ofd_packets/00056774 [12:04:38]OFD Sender: To server: pG, [12:04:38]CommunicateWithHost lk.salyk.kg:30040 [12:04:38]ConnectInit lk.salyk.kg [12:04:38]line 0 [12:04:38]written 0, free lines is 4095 [12:04:38]Connected sock=10 [12:04: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 38 35 37 2C 01 00 00 CD EF 24 01 2B C8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D5 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DD 00 00 35 04 06 00 19 E9 75 6E 13 A1 77 0C 0C 01 CC BE 77 26 [12:04:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F3 0D 47 00 60 A4 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 38 35 37 10 04 04 00 C6 DD 00 00 F4 03 04 00 2D C2 90 66 B6 04 01 00 00 0C 94 90 95 22 96 63 65 [12:04:38]CommunicateWithHost err = 0 [12:04:38]CheckOFDResponse [12:04:38]1017 (14) - 77093643461234 [12:04:38]1041 (16) - 0000000000874857 [12:04:38]1040 (4) - 56774 [12:04:38]1012 (4) - 12.07.2024 05:42 [12:04:38]1206 (1) - 0 [12:04:38]OFD Sender: Remove packet 56774 [12:04:38]ProducePacketName [12:04:38]name=ofd_packets/00056774 [12:04:38]NVStorageDeleteData [12:04:38]Write to MH i2c: 01 00 00 91 05 96 [12:04:38]Write i2c OK [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: 01 [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: 01 07 00 [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: 01 07 00 91 05 00 00 00 00 00 16 0D C0 [12:04:38]RasterBufferAndPrint [12:04:38]line [12:04:38]line [12:04:38]line [12:04:38]line [12:04:38]line [12:04:38]written 0, free lines is 3357 [12:04:38]MH_Cut [12:04:38]Write to MH i2c: D1 01 00 98 05 01 6F [12:04:38]Write i2c OK [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: D1 [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: D1 01 00 [12:04:38]MH_I2C_Read... [12:04:38]Read from MH i2c: D1 01 00 98 05 00 6E [12:04:38]Write to MH i2c: 01 00 00 99 05 9E [12:04:38]Write i2c OK [12:04:38]MH_I2C_Read... [12:04:38]OFD Sender: No OFD packet to send [12:04:39]*** Cut start [12:04:39]*** Partial cut [12:04:39]*** CUTSNS_PIN = 1 [12:04:39]*** CUTSNS_PIN = 0 [12:04:39]*** Brake cut motor [12:04:39]Read from MH i2c: 01 [12:04:39]MH_I2C_Read... [12:04:39]*** Stop cut motor [12:04:39]*** Cut end [12:04:39]Read from MH i2c: 01 07 00 [12:04:39]MH_I2C_Read... [12:04:39]Read from MH i2c: 01 07 00 99 05 00 00 00 00 00 FF 0F B3 [12:04:39]process_action close_receipt done [12:04:39]requested_data is exist [12:04:39]produce_requested_data [12:04:39]requested_item fm.sn is exist - process it [12:04:39]wFMCommunicate request_size=4 [12:04:39]MH_SAM_APDU [12:04:39]CAPDU: 80 11 00 00 [12:04:39]Write to MH i2c: E2 08 00 9A 05 80 11 00 00 00 00 00 00 19 [12:04:39]Write i2c OK [12:04:39]MH_I2C_Read... [12:04:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:39]Read from MH i2c: E2 [12:04:39]MH_I2C_Read... [12:04:39]Read from MH i2c: E2 17 00 [12:04:39]MH_I2C_Read... [12:04:39]Read from MH i2c: E2 17 00 9A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 73 [12:04:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:04:39]wFMCommunicate OK [12:04:39]requested_item fd.num is exist - process it [12:04:39]SAM_PROTO_GetFieldsCounters [12:04:39]wFMCommunicate request_size=4 [12:04:39]MH_SAM_APDU [12:04:39]CAPDU: 80 13 00 00 [12:04:39]Write to MH i2c: E2 08 00 9B 05 80 13 00 00 00 00 00 00 1C [12:04:39]Write i2c OK [12:04:39]MH_I2C_Read... [12:04:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:04:40]Read from MH i2c: E2 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 62 00 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 62 00 9B 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C6 DD 00 00 0E 04 04 00 EE 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 4F [12:04: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C6 DD 00 00 0E 04 04 00 EE 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 [12:04:40]wFMCommunicate OK [12:04:40]SAM_PROTO_GetFieldsCounters done [12:04:40]requested_item shift.num is exist - process it [12:04:40]requested_item shift.opened is exist - process it [12:04:40]req_shift_opened [12:04:40]FM_GetShiftState [12:04:40]SAM_PROTO_GetShiftState [12:04:40]wFMCommunicate request_size=4 [12:04:40]MH_SAM_APDU [12:04:40]CAPDU: 80 13 01 00 [12:04:40]Write to MH i2c: E2 08 00 9C 05 80 13 01 00 00 00 00 00 1E [12:04:40]Write i2c OK [12:04:40]MH_I2C_Read... [12:04:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:40]Read from MH i2c: E2 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 0E 00 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 0E 00 9C 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 1F [12:04:40]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:04:40]wFMCommunicate OK [12:04:40]SAM_PROTO_GetShiftState done [12:04:40]FM_GetShiftState done [12:04:40]req_shift_opened done [12:04:40]requested_item shift.open_date is exist - process it [12:04:40]req_shift_open_date [12:04:40]req_shift_open_date done [12:04:40]requested_item shift.sale.total is exist - process it [12:04:40]SAM_PROTO_GetShiftData [12:04:40]wFMCommunicate request_size=4 [12:04:40]MH_SAM_APDU [12:04:40]CAPDU: 80 13 02 00 [12:04:40]Write to MH i2c: E2 08 00 9D 05 80 13 02 00 00 00 00 00 20 [12:04:40]Write i2c OK [12:04:40]MH_I2C_Read... [12:04:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:04:40]Read from MH i2c: E2 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 FD 00 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 FD 00 9D 05 00 B6 04 AA 04 B2 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 0C C2 12 70 04 03 00 38 28 0E 72 04 03 00 D4 99 04 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 00 FE 01 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 7D 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 56 [12:04:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 0C C2 12 70 04 03 00 38 28 0E 72 04 03 00 D4 99 04 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 00 FE 01 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 7D 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:04:40]wFMCommunicate OK [12:04:40]wFMCommunicate request_size=4 [12:04:40]MH_SAM_APDU [12:04:40]CAPDU: 80 17 00 00 [12:04:40]Write to MH i2c: E2 08 00 9E 05 80 17 00 00 00 00 00 00 23 [12:04:40]Write i2c OK [12:04:40]MH_I2C_Read... [12:04:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:04:40]Read from MH i2c: E2 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 FD 00 [12:04:40]MH_I2C_Read... [12:04:40]Read from MH i2c: E2 FD 00 9E 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [12:04:40]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:04:40]wFMCommunicate OK [12:04:40]wFMCommunicate request_size=4 [12:04:40]MH_SAM_APDU [12:04:40]CAPDU: 80 17 00 00 [12:04:40]Write to MH i2c: E2 08 00 9F 05 80 17 00 00 00 00 00 00 24 [12:04:40]Write i2c OK [12:04:40]MH_I2C_Read... [12:04:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:04:41]Read from MH i2c: E2 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 FD 00 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 FD 00 9F 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E4 [12:04:41]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:04:41]wFMCommunicate OK [12:04:41]wFMCommunicate request_size=4 [12:04:41]MH_SAM_APDU [12:04:41]CAPDU: 80 17 00 00 [12:04:41]Write to MH i2c: E2 08 00 A0 05 80 17 00 00 00 00 00 00 25 [12:04:41]Write i2c OK [12:04:41]MH_I2C_Read... [12:04:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:04:41]Read from MH i2c: E2 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 FD 00 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 FD 00 A0 05 00 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 90 00 94 [12:04:41]RAPDU: 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 90 00 [12:04:41]wFMCommunicate OK [12:04:41]wFMCommunicate request_size=4 [12:04:41]MH_SAM_APDU [12:04:41]CAPDU: 80 17 00 00 [12:04:41]Write to MH i2c: E2 08 00 A1 05 80 17 00 00 00 00 00 00 26 [12:04:41]Write i2c OK [12:04:41]MH_I2C_Read... [12:04:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:04:41]Read from MH i2c: E2 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 D3 00 [12:04:41]MH_I2C_Read... [12:04:41]Read from MH i2c: E2 D3 00 A1 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 13 [12:04:41]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:04:41]wFMCommunicate OK [12:04:41]SAM_PROTO_GetShiftData done [12:04:41]requested_item shift.sale.total_cash is exist - process it [12:04:41]requested_item shift.sale_refund.total is exist - process it [12:04:41]requested_item shift.sale_refund.total_cash is exist - process it [12:04:41]produce_requested_data done [12:04:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56774,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12293.24,"shift.sale.total_cash":9278.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [12:04:41]process_action_free close_receipt [12:04:41]json_value_free [12:04:41]json_value_free done [12:04:41]process_json_proto returns [12:04:41]Send response to host [12:04:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56774,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12293.24,"shift.sale.total_cash":9278.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [12:04:41]free response buf [12:04:41]execute_script done [12:04:41]execute_script returns [12:04:41]free content buf [12:04:41]Sock 7.Close socket [12:04:41]Sock 7.Thread stoped [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:15]accept exits with 9 [12:05:15]New connection [12:05:15]New thread 3066781028 created [12:05:15]Thread 3066637668 joined [12:05:15]Waiting for new connection... [12:05:15] Sock 9.Parse request [12:05:15]Sock 9.Check first char [12:05:15]Sock 9.First char is OK [12:05:15]request: POST /json_proto HTTP/1.0 [12:05:15]Method: POST [12:05:15]URL: /json_proto [12:05:15]Method is POST - this is cgi request [12:05:15]url: /json_proto [12:05:15]query_string will be loaded in cgi processing [12:05:15]execute_cgi json_proto POST (null) [12:05:15]execute_cgi path=json_proto method=POST [12:05:15]POST find Content-Length [12:05:15]Host: 172.17.39.4:8080 [12:05:15]Content-Length: 788 [12:05:15]Content-Type: application/json [12:05:15] [12:05:15]POST finish read [12:05:15]Found Content-Length = 788 [12:05:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129270", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:05:15]execute_script... [12:05:15]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)129270", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:05:15]POST & json_proto [12:05:15]process_json_proto [12:05:15]json parsed OK: [12:05:15]protocol is kg_v1.0 [12:05:15]action value=close_receipt [12:05:15]process_action close_receipt [12:05:15]cmd_close_receipt [12:05:15]MH_GetDate [12:05:15]Write to MH i2c: F0 00 00 A2 05 96 [12:05:15]Write i2c OK [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: F0 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: F0 09 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: F0 09 00 A2 05 00 FD 1B 91 66 2D 25 5D 64 C1 [12:05:15]GetLastDocTimeStamp 1720785877 [12:05:15]current date 1720785917 [12:05:15]FM_GetShiftState [12:05:15]SAM_PROTO_GetShiftState [12:05:15]wFMCommunicate request_size=4 [12:05:15]MH_SAM_APDU [12:05:15]CAPDU: 80 13 01 00 [12:05:15]Write to MH i2c: E2 08 00 A3 05 80 13 01 00 00 00 00 00 25 [12:05:15]Write i2c OK [12:05:15]MH_I2C_Read... [12:05:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:15]Read from MH i2c: E2 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 0E 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 0E 00 A3 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 26 [12:05:15]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:05:15]wFMCommunicate OK [12:05:15]SAM_PROTO_GetShiftState done [12:05:15]FM_GetShiftState done [12:05:15]opened in 1720744326 [12:05:15]opened+sec_in_day 1720830726 [12:05:15]quantity*price = 7500 [12:05:15]sum+1 = 7501 [12:05:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 43 12.07.2024 12:05 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56775 ФПД: 128544457606597 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T120517&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56775&fm=128544457606597&tin=02508201610067®Number=0000000000091208&sum=7500 0 [12:05:17]StoreToDocumentArchive [12:05:17]shift 494 fd 56775 [12:05:17]save to /storage/0494/doc_00056775 [12:05:17]save last doc name /storage/0494/doc_00056775 to /storage/kkm_last_doc_name [12:05:17]save OK [12:05:17]Clear old archive folders... [12:05:17]ProcessDocumentItem done err = 0, tmpTLVsize=295 [12:05:17]tlvbuf is 01AEF400 [12:05:17]SAM_PROTO_ClearQueue [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 09 00 00 [12:05:17]Write to MH i2c: E2 08 00 B0 05 80 09 00 00 00 00 00 00 27 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 B0 05 00 90 00 29 [12:05:17]RAPDU: 90 00 [12:05:17]wFMCommunicate OK [12:05:17]SAM_PROTO_ClearQueue done [12:05:17]KKMCreateOFDPacket [12:05:17]OFDProtocolAddRootSTLVToBuf [12:05:17]FM_MakeSignedData [12:05:17]FM_MakeSignedData [12:05:17]SAM_PROTO_SignData [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 0D 01 02 [12:05:17]Write to MH i2c: E2 08 00 B1 05 80 0D 01 02 00 00 00 00 2F [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 B1 05 00 90 00 2A [12:05:17]RAPDU: 90 00 [12:05:17]wFMCommunicate OK [12:05:17]wFMCommunicate request_size=255 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FD 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [12:05:17]Write to MH i2c: E2 02 01 B2 05 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FD 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 9D [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 B2 05 00 90 00 2B [12:05:17]RAPDU: 90 00 [12:05:17]wFMCommunicate OK [12:05:17]wFMCommunicate request_size=54 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DD 00 00 35 04 06 00 74 E9 16 BB C5 C5 [12:05:17]Write to MH i2c: E2 39 00 B3 05 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DD 00 00 35 04 06 00 74 E9 16 BB C5 C5 00 00 B7 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 03 00 B3 05 00 90 00 2C [12:05:17]RAPDU: 90 00 [12:05:17]wFMCommunicate OK [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 0D 03 02 [12:05:17]Write to MH i2c: E2 08 00 B4 05 80 0D 03 02 00 00 00 00 34 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 0B 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 0B 00 B4 05 00 AE F0 CD 2E 5A F0 2E 8D 90 00 D3 [12:05:17]RAPDU: AE F0 CD 2E 5A F0 2E 8D 90 00 [12:05:17]wFMCommunicate OK [12:05:17]SAM_PROTO_SignData done [12:05:17]FM_MakeSignedData done [12:05:17]CreateOFDProtocolMessage [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 11 00 00 [12:05:17]Write to MH i2c: E2 08 00 B5 05 80 11 00 00 00 00 00 00 34 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 17 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 17 00 B5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8E [12:05:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:05:17]wFMCommunicate OK [12:05:17]CreateOFDProtocolMessage done [12:05:17]OFDSenderStorePacket 56775 [12:05:17]StoreOFDPacket docnum=56775 [12:05:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3B 01 00 00 2D 84 33 01 44 A5 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FD 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DD 00 00 35 04 06 00 74 E9 16 BB C5 C5 AE F0 CD 2E 5A F0 2E 8D [12:05:17]CheckFolder [12:05:17]dirname=/storage/ofd_packets [12:05:17]CheckFolder done [12:05:17]ProducePacketName [12:05:17]name=ofd_packets/00056775 [12:05:17]NVStorageSaveData ofd_packets/00056775 [12:05:17]File name is /storage/ofd_packets/00056775 [12:05:17]Write 345 bytes [12:05:17]NVStorageSaveData done [12:05:17]OFDSenderStorePacket done [12:05:17]KKMCreateOFDPacket done [12:05:17]NVStorageSaveData kkm_last_timestamp [12:05:17]File name is /storage/kkm_last_timestamp [12:05:17]Write 4 bytes [12:05:17]NVStorageSaveData done [12:05:17]OFD Sender: Processing packet 56775 [packets to send 38, broken 37] [12:05:17]ProducePacketName [12:05:17]name=ofd_packets/00056775 [12:05:17]OFD Sender: To server: pG, [12:05:17]CommunicateWithHost lk.salyk.kg:30040 [12:05:17]ConnectInit lk.salyk.kg [12:05:17]ExternCall_PrintAddStr [12:05:17]wPrintStart [12:05:17]Write to MH i2c: 01 00 00 B6 05 BB [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: 01 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: 01 07 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: 01 07 00 B6 05 00 00 00 00 00 FF 0F D0 [12:05:17]RasterBufferAndPrint [12:05:17]line Счет N : (3)129270 [12:05:17]line ИНН: 02508201610067 [12:05:17]line Контрольно-Кассовый Чек [12:05:17]line ПРОДАЖА [12:05:17]line Товар: 5449000027450 [12:05:17]line Напиток FuzeTea чай манго,ром 0,5л [12:05:17]line 1.000 * 75.00 [12:05:17]line = 75.00 [12:05:17]line НДС 12% НСП 1% [12:05:17]line > о реализуемом товаре [12:05:17]line ИТОГО: 75.00 [12:05:17]line НСП 1% : 0.66 [12:05:17]line НДС 12% : 7.96 [12:05:17]line Наличными: 75.00 [12:05:17]line Безнал.: 0.00 [12:05:17]line Место: АЗС № 132 "Партнер Нефть" [12:05:17]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:05:17]line СНО: Общий режим [12:05:17]line Чек 43 12.07.2024 12:05 [12:05:17]line Смена: 494 ФФД: 1.0 [12:05:17]line ЗНМ: 0300000132 [12:05:17]line РНМ: 0000000000091208 [12:05:17]line Версия ККМ: 001 [12:05:17]line ФМ: 0000000000874857 [12:05:17]line ФД: 56775 [12:05:17]line ФПД: 128544457606597 [12:05:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T120517&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56775&fm=128544457606597&tin=02508201610067®Number=0000000000091208&sum=7500 [12:05:17]line 0 [12:05:17]Connected sock=11 [12:05: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 38 35 37 3B 01 00 00 2D 84 33 01 44 A5 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 FD 1B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DD 00 00 35 04 06 00 74 E9 16 BB C5 C5 AE F0 CD 2E 5A F0 2E 8D [12:05:18]written 0, free lines is 4095 [12:05:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 87 25 47 00 FF 64 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 38 35 37 10 04 04 00 C7 DD 00 00 F4 03 04 00 55 C2 90 66 B6 04 01 00 00 A5 D2 B8 6B B5 CD 5F 34 [12:05:18]CommunicateWithHost err = 0 [12:05:18]CheckOFDResponse [12:05:18]1017 (14) - 77093643461234 [12:05:18]1041 (16) - 0000000000874857 [12:05:18]1040 (4) - 56775 [12:05:18]1012 (4) - 12.07.2024 05:42 [12:05:18]1206 (1) - 0 [12:05:18]OFD Sender: Remove packet 56775 [12:05:18]ProducePacketName [12:05:18]name=ofd_packets/00056775 [12:05:18]NVStorageDeleteData [12:05:18]Write to MH i2c: 01 00 00 DF 05 E4 [12:05:18]Write i2c OK [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: 01 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: 01 07 00 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: 01 07 00 DF 05 00 00 00 00 00 F2 0C E9 [12:05:18]RasterBufferAndPrint [12:05:18]line [12:05:18]line [12:05:18]line [12:05:18]line [12:05:18]line [12:05:18]written 0, free lines is 3320 [12:05:18]MH_Cut [12:05:18]Write to MH i2c: D1 01 00 E6 05 01 BD [12:05:18]Write i2c OK [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: D1 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: D1 01 00 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: D1 01 00 E6 05 00 BC [12:05:18]Write to MH i2c: 01 00 00 E7 05 EC [12:05:18]Write i2c OK [12:05:18]MH_I2C_Read... [12:05:18]OFD Sender: No OFD packet to send [12:05:19]*** Cut start [12:05:19]*** Partial cut [12:05:19]*** CUTSNS_PIN = 1 [12:05:19]*** CUTSNS_PIN = 0 [12:05:19]*** Brake cut motor [12:05:19]Read from MH i2c: 01 [12:05:19]MH_I2C_Read... [12:05:19]*** Stop cut motor [12:05:19]*** Cut end [12:05:19]Read from MH i2c: 01 07 00 [12:05:19]MH_I2C_Read... [12:05:19]Read from MH i2c: 01 07 00 E7 05 00 00 00 00 00 FF 0F 01 [12:05:19]process_action close_receipt done [12:05:19]requested_data is exist [12:05:19]produce_requested_data [12:05:19]requested_item fm.sn is exist - process it [12:05:19]wFMCommunicate request_size=4 [12:05:19]MH_SAM_APDU [12:05:19]CAPDU: 80 11 00 00 [12:05:19]Write to MH i2c: E2 08 00 E8 05 80 11 00 00 00 00 00 00 67 [12:05:19]Write i2c OK [12:05:19]MH_I2C_Read... [12:05:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:19]Read from MH i2c: E2 [12:05:19]MH_I2C_Read... [12:05:19]Read from MH i2c: E2 17 00 [12:05:19]MH_I2C_Read... [12:05:19]Read from MH i2c: E2 17 00 E8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C1 [12:05:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:05:19]wFMCommunicate OK [12:05:19]requested_item fd.num is exist - process it [12:05:19]SAM_PROTO_GetFieldsCounters [12:05:19]wFMCommunicate request_size=4 [12:05:19]MH_SAM_APDU [12:05:19]CAPDU: 80 13 00 00 [12:05:19]Write to MH i2c: E2 08 00 E9 05 80 13 00 00 00 00 00 00 6A [12:05:19]Write i2c OK [12:05:19]MH_I2C_Read... [12:05:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:05:19]Read from MH i2c: E2 [12:05:19]MH_I2C_Read... [12:05:19]Read from MH i2c: E2 62 00 [12:05:19]MH_I2C_Read... [12:05:19]Read from MH i2c: E2 62 00 E9 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C7 DD 00 00 0E 04 04 00 EE 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 A1 [12:05: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C7 DD 00 00 0E 04 04 00 EE 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 [12:05:20]wFMCommunicate OK [12:05:20]SAM_PROTO_GetFieldsCounters done [12:05:20]requested_item shift.num is exist - process it [12:05:20]requested_item shift.opened is exist - process it [12:05:20]req_shift_opened [12:05:20]FM_GetShiftState [12:05:20]SAM_PROTO_GetShiftState [12:05:20]wFMCommunicate request_size=4 [12:05:20]MH_SAM_APDU [12:05:20]CAPDU: 80 13 01 00 [12:05:20]Write to MH i2c: E2 08 00 EA 05 80 13 01 00 00 00 00 00 6C [12:05:20]Write i2c OK [12:05:20]MH_I2C_Read... [12:05:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:20]Read from MH i2c: E2 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 0E 00 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 0E 00 EA 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6D [12:05:20]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:05:20]wFMCommunicate OK [12:05:20]SAM_PROTO_GetShiftState done [12:05:20]FM_GetShiftState done [12:05:20]req_shift_opened done [12:05:20]requested_item shift.open_date is exist - process it [12:05:20]req_shift_open_date [12:05:20]req_shift_open_date done [12:05:20]requested_item shift.sale.total is exist - process it [12:05:20]SAM_PROTO_GetShiftData [12:05:20]wFMCommunicate request_size=4 [12:05:20]MH_SAM_APDU [12:05:20]CAPDU: 80 13 02 00 [12:05:20]Write to MH i2c: E2 08 00 EB 05 80 13 02 00 00 00 00 00 6E [12:05:20]Write i2c OK [12:05:20]MH_I2C_Read... [12:05:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:05:20]Read from MH i2c: E2 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 FD 00 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 FD 00 EB 05 00 B6 04 AA 04 B2 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 58 DF 12 70 04 03 00 84 45 0E 72 04 03 00 D4 99 04 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 1C 01 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 BF 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 DA [12:05:20]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 58 DF 12 70 04 03 00 84 45 0E 72 04 03 00 D4 99 04 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 1C 01 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 BF 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:05:20]wFMCommunicate OK [12:05:20]wFMCommunicate request_size=4 [12:05:20]MH_SAM_APDU [12:05:20]CAPDU: 80 17 00 00 [12:05:20]Write to MH i2c: E2 08 00 EC 05 80 17 00 00 00 00 00 00 71 [12:05:20]Write i2c OK [12:05:20]MH_I2C_Read... [12:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:05:20]Read from MH i2c: E2 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 FD 00 [12:05:20]MH_I2C_Read... [12:05:20]Read from MH i2c: E2 FD 00 EC 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [12:05:20]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:05:20]wFMCommunicate OK [12:05:20]wFMCommunicate request_size=4 [12:05:20]MH_SAM_APDU [12:05:20]CAPDU: 80 17 00 00 [12:05:20]Write to MH i2c: E2 08 00 ED 05 80 17 00 00 00 00 00 00 72 [12:05:20]Write i2c OK [12:05:20]MH_I2C_Read... [12:05:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:05:21]Read from MH i2c: E2 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 FD 00 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 FD 00 ED 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [12:05:21]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:05:21]wFMCommunicate OK [12:05:21]wFMCommunicate request_size=4 [12:05:21]MH_SAM_APDU [12:05:21]CAPDU: 80 17 00 00 [12:05:21]Write to MH i2c: E2 08 00 EE 05 80 17 00 00 00 00 00 00 73 [12:05:21]Write i2c OK [12:05:21]MH_I2C_Read... [12:05:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:05:21]Read from MH i2c: E2 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 FD 00 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 FD 00 EE 05 00 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 90 00 E2 [12:05:21]RAPDU: 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 90 00 [12:05:21]wFMCommunicate OK [12:05:21]wFMCommunicate request_size=4 [12:05:21]MH_SAM_APDU [12:05:21]CAPDU: 80 17 00 00 [12:05:21]Write to MH i2c: E2 08 00 EF 05 80 17 00 00 00 00 00 00 74 [12:05:21]Write i2c OK [12:05:21]MH_I2C_Read... [12:05:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:05:21]Read from MH i2c: E2 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 D3 00 [12:05:21]MH_I2C_Read... [12:05:21]Read from MH i2c: E2 D3 00 EF 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 61 [12:05:21]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:05:21]wFMCommunicate OK [12:05:21]SAM_PROTO_GetShiftData done [12:05:21]requested_item shift.sale.total_cash is exist - process it [12:05:21]requested_item shift.sale_refund.total is exist - process it [12:05:21]requested_item shift.sale_refund.total_cash is exist - process it [12:05:21]produce_requested_data done [12:05:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56775,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12368.24,"shift.sale.total_cash":9353.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [12:05:21]process_action_free close_receipt [12:05:21]json_value_free [12:05:21]json_value_free done [12:05:21]process_json_proto returns [12:05:21]Send response to host [12:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56775,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12368.24,"shift.sale.total_cash":9353.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [12:05:21]free response buf [12:05:21]execute_script done [12:05:21]execute_script returns [12:05:21]free content buf [12:05:21]Sock 9.Close socket [12:05:21]Sock 9.Thread stoped [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:17]accept exits with 7 [12:14:17]New connection [12:14:17]New thread 3066637668 created [12:14:17]Thread 3066781028 joined [12:14:17]Waiting for new connection... [12:14:17] Sock 7.Parse request [12:14:17]Sock 7.Check first char [12:14:17]Sock 7.First char is OK [12:14:17]request: POST /json_proto HTTP/1.0 [12:14:17]Method: POST [12:14:17]URL: /json_proto [12:14:17]Method is POST - this is cgi request [12:14:17]url: /json_proto [12:14:17]query_string will be loaded in cgi processing [12:14:17]execute_cgi json_proto POST (null) [12:14:17]execute_cgi path=json_proto method=POST [12:14:17]POST find Content-Length [12:14:17]Host: 172.17.39.4:8080 [12:14:17]Content-Length: 1964 [12:14:17]Content-Type: application/json [12:14:17] [12:14:17]POST finish read [12:14:17]Found Content-Length = 1964 [12:14:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129271", "tax_sys" : 0, "items" : [ { "code": "4870003986641", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:14:17]execute_script... [12:14:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129271", "tax_sys" : 0, "items" : [ { "code": "4870003986641", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:14:18]POST & json_proto [12:14:18]process_json_proto [12:14:18]json parsed OK: [12:14:18]protocol is kg_v1.0 [12:14:18]action value=close_receipt [12:14:18]process_action close_receipt [12:14:18]cmd_close_receipt [12:14:18]MH_GetDate [12:14:18]Write to MH i2c: F0 00 00 F0 05 E4 [12:14:18]Write i2c OK [12:14:18]MH_I2C_Read... [12:14:18]Read from MH i2c: F0 [12:14:18]MH_I2C_Read... [12:14:18]Read from MH i2c: F0 09 00 [12:14:18]MH_I2C_Read... [12:14:18]Read from MH i2c: F0 09 00 F0 05 00 1B 1E 91 66 2D 25 5D 64 30 [12:14:18]GetLastDocTimeStamp 1720785917 [12:14:18]current date 1720786459 [12:14:18]FM_GetShiftState [12:14:18]SAM_PROTO_GetShiftState [12:14:18]wFMCommunicate request_size=4 [12:14:18]MH_SAM_APDU [12:14:18]CAPDU: 80 13 01 00 [12:14:18]Write to MH i2c: E2 08 00 F1 05 80 13 01 00 00 00 00 00 73 [12:14:18]Write i2c OK [12:14:18]MH_I2C_Read... [12:14:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:18]Read from MH i2c: E2 [12:14:18]MH_I2C_Read... [12:14:18]Read from MH i2c: E2 0E 00 [12:14:18]MH_I2C_Read... [12:14:18]Read from MH i2c: E2 0E 00 F1 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 74 [12:14:18]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:14:18]wFMCommunicate OK [12:14:18]SAM_PROTO_GetShiftState done [12:14:18]FM_GetShiftState done [12:14:18]opened in 1720744326 [12:14:18]opened+sec_in_day 1720830726 [12:14:18]quantity*price = 12500 [12:14:18]sum+1 = 12501 [12:14:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189349 Холодный чай Fuse манго ананас 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 390.00 НСП 1% : 3.45 НДС 12% : 41.41 Наличными: 0.00 Безнал.: 390.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 44 12.07.2024 12:14 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56776 ФПД: 25017822340918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121419&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56776&fm=25017822340918&tin=02508201610067®Number=0000000000091208&sum=39000 0 [12:14:19]StoreToDocumentArchive [12:14:19]shift 494 fd 56776 [12:14:19]save to /storage/0494/doc_00056776 [12:14:19]save last doc name /storage/0494/doc_00056776 to /storage/kkm_last_doc_name [12:14:19]save OK [12:14:19]Clear old archive folders... [12:14:19]ProcessDocumentItem done err = 0, tmpTLVsize=695 [12:14:19]tlvbuf is 01AE7870 [12:14:19]SAM_PROTO_ClearQueue [12:14:19]wFMCommunicate request_size=4 [12:14:19]MH_SAM_APDU [12:14:19]CAPDU: 80 09 00 00 [12:14:19]Write to MH i2c: E2 08 00 FE 05 80 09 00 00 00 00 00 00 75 [12:14:19]Write i2c OK [12:14:19]MH_I2C_Read... [12:14:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:19]Read from MH i2c: E2 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 FE 05 00 90 00 77 [12:14:19]RAPDU: 90 00 [12:14:19]wFMCommunicate OK [12:14:19]SAM_PROTO_ClearQueue done [12:14:19]KKMCreateOFDPacket [12:14:19]OFDProtocolAddRootSTLVToBuf [12:14:19]FM_MakeSignedData [12:14:19]FM_MakeSignedData [12:14:19]SAM_PROTO_SignData [12:14:19]wFMCommunicate request_size=4 [12:14:19]MH_SAM_APDU [12:14:19]CAPDU: 80 0D 01 02 [12:14:19]Write to MH i2c: E2 08 00 FF 05 80 0D 01 02 00 00 00 00 7D [12:14:19]Write i2c OK [12:14:19]MH_I2C_Read... [12:14:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:19]Read from MH i2c: E2 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 FF 05 00 90 00 78 [12:14:19]RAPDU: 90 00 [12:14:19]wFMCommunicate OK [12:14:19]wFMCommunicate request_size=255 [12:14:19]MH_SAM_APDU [12:14:19]CAPDU: 80 0D 02 02 FA 03 00 B7 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 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 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 [12:14:19]Write to MH i2c: E2 02 01 00 06 80 0D 02 02 FA 00 03 00 B7 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 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 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 D2 [12:14:19]Write i2c OK [12:14:19]MH_I2C_Read... [12:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:19]Read from MH i2c: E2 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 00 06 00 90 00 7A [12:14:19]RAPDU: 90 00 [12:14:19]wFMCommunicate OK [12:14:19]wFMCommunicate request_size=255 [12:14:19]MH_SAM_APDU [12:14:19]CAPDU: 80 0D 02 02 FA 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 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [12:14:19]Write to MH i2c: E2 02 01 01 06 80 0D 02 02 FA 00 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 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 D1 [12:14:19]Write i2c OK [12:14:19]MH_I2C_Read... [12:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:19]Read from MH i2c: E2 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 [12:14:19]MH_I2C_Read... [12:14:19]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [12:14:19]RAPDU: 90 00 [12:14:19]wFMCommunicate OK [12:14:19]wFMCommunicate request_size=204 [12:14:19]MH_SAM_APDU [12:14:19]CAPDU: 80 0D 02 02 C7 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 1B 1E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DD 00 00 35 04 06 00 16 C0 EA 69 E7 36 [12:14:19]Write to MH i2c: E2 CF 00 02 06 80 0D 02 02 C7 00 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 1B 1E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DD 00 00 35 04 06 00 16 C0 EA 69 E7 36 00 00 5E [12:14:19]Write i2c OK [12:14:19]MH_I2C_Read... [12:14:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:20]Read from MH i2c: E2 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 03 00 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [12:14:20]RAPDU: 90 00 [12:14:20]wFMCommunicate OK [12:14:20]wFMCommunicate request_size=4 [12:14:20]MH_SAM_APDU [12:14:20]CAPDU: 80 0D 03 02 [12:14:20]Write to MH i2c: E2 08 00 03 06 80 0D 03 02 00 00 00 00 84 [12:14:20]Write i2c OK [12:14:20]MH_I2C_Read... [12:14:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:20]Read from MH i2c: E2 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 0B 00 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 0B 00 03 06 00 3A 36 3A BA AD 63 DD 1D 90 00 F3 [12:14:20]RAPDU: 3A 36 3A BA AD 63 DD 1D 90 00 [12:14:20]wFMCommunicate OK [12:14:20]SAM_PROTO_SignData done [12:14:20]FM_MakeSignedData done [12:14:20]CreateOFDProtocolMessage [12:14:20]wFMCommunicate request_size=4 [12:14:20]MH_SAM_APDU [12:14:20]CAPDU: 80 11 00 00 [12:14:20]Write to MH i2c: E2 08 00 04 06 80 11 00 00 00 00 00 00 84 [12:14:20]Write i2c OK [12:14:20]MH_I2C_Read... [12:14:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:20]Read from MH i2c: E2 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 17 00 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: E2 17 00 04 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DE [12:14:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:14:20]wFMCommunicate OK [12:14:20]CreateOFDProtocolMessage done [12:14:20]OFDSenderStorePacket 56776 [12:14:20]StoreOFDPacket docnum=56776 [12:14:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 CB 02 00 00 85 4F C3 02 CE B0 5A 03 01 00 03 00 B7 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 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 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 1B 1E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DD 00 00 35 04 06 00 16 C0 EA 69 E7 36 3A 36 3A BA AD 63 DD 1D [12:14:20]CheckFolder [12:14:20]dirname=/storage/ofd_packets [12:14:20]CheckFolder done [12:14:20]ProducePacketName [12:14:20]name=ofd_packets/00056776 [12:14:20]NVStorageSaveData ofd_packets/00056776 [12:14:20]File name is /storage/ofd_packets/00056776 [12:14:20]Write 745 bytes [12:14:20]NVStorageSaveData done [12:14:20]OFDSenderStorePacket done [12:14:20]KKMCreateOFDPacket done [12:14:20]NVStorageSaveData kkm_last_timestamp [12:14:20]File name is /storage/kkm_last_timestamp [12:14:20]Write 4 bytes [12:14:20]NVStorageSaveData done [12:14:20]ExternCall_PrintAddStr [12:14:20]wPrintStart [12:14:20]Write to MH i2c: 01 00 00 05 06 0B [12:14:20]Write i2c OK [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: 01 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: 01 07 00 [12:14:20]MH_I2C_Read... [12:14:20]Read from MH i2c: 01 07 00 05 06 00 00 00 00 00 FF 0F 20 [12:14:20]RasterBufferAndPrint [12:14:20]line Счет N : (3)129271 [12:14:20]line ИНН: 02508201610067 [12:14:20]line Контрольно-Кассовый Чек [12:14:20]line ПРОДАЖА [12:14:20]line Товар: 4870003986641 [12:14:20]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [12:14:20]line 1.000 * 125.00 [12:14:20]line = 125.00 [12:14:20]line НДС 12% НСП 1% [12:14:20]line > о реализуемом товаре [12:14:20]line Товар: 5449000189349 [12:14:20]line Холодный чай Fuse манго ананас 0,5л [12:14:20]line 1.000 * 75.00 [12:14:20]line = 75.00 [12:14:20]line НДС 12% НСП 1% [12:14:20]line > о реализуемом товаре [12:14:20]line Товар: 4700000480364 [12:14:20]line Напиток энерг Nitro экзотик 0.45 ж/б [12:14:20]line 1.000 * 95.00 [12:14:20]line = 95.00 [12:14:20]line НДС 12% НСП 1% [12:14:20]line > о реализуемом товаре [12:14:20]line Товар: 4700000480050 [12:14:20]line Напиток Nitro Energy эн green ж/б 0,45л [12:14:20]line 1.000 * 95.00 [12:14:20]line = 95.00 [12:14:20]line НДС 12% НСП 1% [12:14:20]line > о реализуемом товаре [12:14:20]line ИТОГО: 390.00 [12:14:20]line НСП 1% : 3.45 [12:14:20]line НДС 12% : 41.41 [12:14:20]line Наличными: 0.00 [12:14:20]line Безнал.: 390.00 [12:14:20]line Место: АЗС № 132 "Партнер Нефть" [12:14:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:14:20]line СНО: Общий режим [12:14:20]line Чек 44 12.07.2024 12:14 [12:14:20]line Смена: 494 ФФД: 1.0 [12:14:20]line ЗНМ: 0300000132 [12:14:20]line РНМ: 0000000000091208 [12:14:20]line Версия ККМ: 001 [12:14:20]line Платежная система: АКБ Кыргызстан [12:14:20]line ФМ: 0000000000874857 [12:14:20]line ФД: 56776 [12:14:20]line ФПД: 25017822340918 [12:14:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121419&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56776&fm=25017822340918&tin=02508201610067®Number=0000000000091208&sum=39000 [12:14:20]line 0 [12:14:20]written 0, free lines is 4095 [12:14:20]OFD Sender: Processing packet 56776 [packets to send 38, broken 37] [12:14:20]ProducePacketName [12:14:20]name=ofd_packets/00056776 [12:14:20]OFD Sender: To server: pG, [12:14:20]CommunicateWithHost lk.salyk.kg:30040 [12:14:20]ConnectInit lk.salyk.kg [12:14:20]Connected sock=9 [12:14: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 38 35 37 CB 02 00 00 85 4F C3 02 CE B0 5A 03 01 00 03 00 B7 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 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 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 1B 1E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DD 00 00 35 04 06 00 16 C0 EA 69 E7 36 3A 36 3A BA AD 63 DD 1D [12:14:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 5F 0D 47 00 52 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DD 00 00 F4 03 04 00 74 C4 90 66 B6 04 01 00 00 5E 73 B4 DD 8A 11 03 93 [12:14:21]CommunicateWithHost err = 0 [12:14:21]CheckOFDResponse [12:14:21]1017 (14) - 77093643461234 [12:14:21]1041 (16) - 0000000000874857 [12:14:21]1040 (4) - 56776 [12:14:21]1012 (4) - 12.07.2024 05:51 [12:14:21]1206 (1) - 0 [12:14:21]OFD Sender: Remove packet 56776 [12:14:21]ProducePacketName [12:14:21]name=ofd_packets/00056776 [12:14:21]NVStorageDeleteData [12:14:21]Write to MH i2c: 01 00 00 45 06 4B [12:14:21]Write i2c OK [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: 01 [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: 01 07 00 [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: 01 07 00 45 06 00 00 00 00 00 AD 0B 0A [12:14:21]RasterBufferAndPrint [12:14:21]line [12:14:21]line [12:14:21]line [12:14:21]line [12:14:21]line [12:14:21]written 0, free lines is 2997 [12:14:21]MH_Cut [12:14:21]Write to MH i2c: D1 01 00 4C 06 01 24 [12:14:21]Write i2c OK [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: D1 [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: D1 01 00 [12:14:21]MH_I2C_Read... [12:14:21]Read from MH i2c: D1 01 00 4C 06 00 23 [12:14:21]Write to MH i2c: 01 00 00 4D 06 53 [12:14:21]Write i2c OK [12:14:21]MH_I2C_Read... [12:14:21]OFD Sender: No OFD packet to send [12:14:22]*** Cut start [12:14:22]*** Partial cut [12:14:22]*** CUTSNS_PIN = 1 [12:14:22]*** CUTSNS_PIN = 0 [12:14:22]*** Brake cut motor [12:14:22]Read from MH i2c: 01 [12:14:22]MH_I2C_Read... [12:14:22]*** Stop cut motor [12:14:22]*** Cut end [12:14:22]Read from MH i2c: 01 07 00 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: 01 07 00 4D 06 00 00 00 00 00 FF 0F 68 [12:14:22]process_action close_receipt done [12:14:22]requested_data is exist [12:14:22]produce_requested_data [12:14:22]requested_item fm.sn is exist - process it [12:14:22]wFMCommunicate request_size=4 [12:14:22]MH_SAM_APDU [12:14:22]CAPDU: 80 11 00 00 [12:14:22]Write to MH i2c: E2 08 00 4E 06 80 11 00 00 00 00 00 00 CE [12:14:22]Write i2c OK [12:14:22]MH_I2C_Read... [12:14:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:22]Read from MH i2c: E2 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: E2 17 00 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: E2 17 00 4E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 28 [12:14:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:14:22]wFMCommunicate OK [12:14:22]requested_item fd.num is exist - process it [12:14:22]SAM_PROTO_GetFieldsCounters [12:14:22]wFMCommunicate request_size=4 [12:14:22]MH_SAM_APDU [12:14:22]CAPDU: 80 13 00 00 [12:14:22]Write to MH i2c: E2 08 00 4F 06 80 13 00 00 00 00 00 00 D1 [12:14:22]Write i2c OK [12:14:22]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 62 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 62 00 4F 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C8 DD 00 00 0E 04 04 00 EE 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 0C [12:14: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C8 DD 00 00 0E 04 04 00 EE 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 [12:14:23]wFMCommunicate OK [12:14:23]SAM_PROTO_GetFieldsCounters done [12:14:23]requested_item shift.num is exist - process it [12:14:23]requested_item shift.opened is exist - process it [12:14:23]req_shift_opened [12:14:23]FM_GetShiftState [12:14:23]SAM_PROTO_GetShiftState [12:14:23]wFMCommunicate request_size=4 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 13 01 00 [12:14:23]Write to MH i2c: E2 08 00 50 06 80 13 01 00 00 00 00 00 D3 [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 0E 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 0E 00 50 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D4 [12:14:23]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:14:23]wFMCommunicate OK [12:14:23]SAM_PROTO_GetShiftState done [12:14:23]FM_GetShiftState done [12:14:23]req_shift_opened done [12:14:23]requested_item shift.open_date is exist - process it [12:14:23]req_shift_open_date [12:14:23]req_shift_open_date done [12:14:23]requested_item shift.sale.total is exist - process it [12:14:23]SAM_PROTO_GetShiftData [12:14:23]wFMCommunicate request_size=4 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 13 02 00 [12:14:23]Write to MH i2c: E2 08 00 51 06 80 13 02 00 00 00 00 00 D5 [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 FD 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 FD 00 51 06 00 B6 04 AA 04 B2 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 B0 77 13 70 04 03 00 84 45 0E 72 04 03 00 2C 32 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 49 11 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 18 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 BE [12:14:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 B0 77 13 70 04 03 00 84 45 0E 72 04 03 00 2C 32 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 49 11 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 18 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:14:23]wFMCommunicate OK [12:14:23]wFMCommunicate request_size=4 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 17 00 00 [12:14:23]Write to MH i2c: E2 08 00 52 06 80 17 00 00 00 00 00 00 D8 [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 FD 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 FD 00 52 06 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 17 [12:14:23]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:14:24]wFMCommunicate OK [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 17 00 00 [12:14:24]Write to MH i2c: E2 08 00 53 06 80 17 00 00 00 00 00 00 D9 [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 FD 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 FD 00 53 06 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [12:14:24]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:14:24]wFMCommunicate OK [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 17 00 00 [12:14:24]Write to MH i2c: E2 08 00 54 06 80 17 00 00 00 00 00 00 DA [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 FD 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 FD 00 54 06 00 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 90 00 49 [12:14:24]RAPDU: 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 90 00 [12:14:24]wFMCommunicate OK [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 17 00 00 [12:14:24]Write to MH i2c: E2 08 00 55 06 80 17 00 00 00 00 00 00 DB [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 D3 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 D3 00 55 06 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C8 [12:14:25]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:14:25]wFMCommunicate OK [12:14:25]SAM_PROTO_GetShiftData done [12:14:25]requested_item shift.sale.total_cash is exist - process it [12:14:25]requested_item shift.sale_refund.total is exist - process it [12:14:25]requested_item shift.sale_refund.total_cash is exist - process it [12:14:25]produce_requested_data done [12:14:25]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56776,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12758.24,"shift.sale.total_cash":9353.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [12:14:25]process_action_free close_receipt [12:14:25]json_value_free [12:14:25]json_value_free done [12:14:25]process_json_proto returns [12:14:25]Send response to host [12:14:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56776,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12758.24,"shift.sale.total_cash":9353.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [12:14:25]free response buf [12:14:25]execute_script done [12:14:25]execute_script returns [12:14:25]free content buf [12:14:25]Sock 7.Close socket [12:14:25]Sock 7.Thread stoped [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:02]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:27]OFD Sender: No OFD packet to send [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:53]accept exits with 10 [12:33:53]New connection [12:33:53]New thread 3066781028 created [12:33:53]Thread 3066637668 joined [12:33:53]Waiting for new connection... [12:33:53] Sock 10.Parse request [12:33:53]Sock 10.Check first char [12:33:53]Sock 10.First char is OK [12:33:53]request: POST /json_proto HTTP/1.0 [12:33:53]Method: POST [12:33:53]URL: /json_proto [12:33:53]Method is POST - this is cgi request [12:33:53]url: /json_proto [12:33:53]query_string will be loaded in cgi processing [12:33:53]execute_cgi json_proto POST (null) [12:33:53]execute_cgi path=json_proto method=POST [12:33:53]POST find Content-Length [12:33:53]Host: 172.17.39.4:8080 [12:33:53]Content-Length: 756 [12:33:53]Content-Type: application/json [12:33:53] [12:33:53]POST finish read [12:33:53]Found Content-Length = 756 [12:33:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129272", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:33:53]execute_script... [12:33: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)129272", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:33:53]POST & json_proto [12:33:53]process_json_proto [12:33:53]json parsed OK: [12:33:53]protocol is kg_v1.0 [12:33:53]action value=close_receipt [12:33:53]process_action close_receipt [12:33:53]cmd_close_receipt [12:33:53]MH_GetDate [12:33:53]Write to MH i2c: F0 00 00 56 06 4B [12:33:53]Write i2c OK [12:33:53]MH_I2C_Read... [12:33:53]Read from MH i2c: F0 [12:33:53]MH_I2C_Read... [12:33:53]Read from MH i2c: F0 09 00 [12:33:53]MH_I2C_Read... [12:33:53]Read from MH i2c: F0 09 00 56 06 00 B3 22 91 66 2D 25 5D 64 33 [12:33:53]GetLastDocTimeStamp 1720786459 [12:33:53]current date 1720787635 [12:33:53]FM_GetShiftState [12:33:53]SAM_PROTO_GetShiftState [12:33:53]wFMCommunicate request_size=4 [12:33:53]MH_SAM_APDU [12:33:53]CAPDU: 80 13 01 00 [12:33:53]Write to MH i2c: E2 08 00 57 06 80 13 01 00 00 00 00 00 DA [12:33:53]Write i2c OK [12:33:53]MH_I2C_Read... [12:33:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:54]Read from MH i2c: E2 [12:33:54]MH_I2C_Read... [12:33:54]Read from MH i2c: E2 0E 00 [12:33:54]MH_I2C_Read... [12:33:54]Read from MH i2c: E2 0E 00 57 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 DB [12:33:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:33:54]wFMCommunicate OK [12:33:54]SAM_PROTO_GetShiftState done [12:33:54]FM_GetShiftState done [12:33:54]opened in 1720744326 [12:33:54]opened+sec_in_day 1720830726 [12:33:54]quantity*price = 12500 [12:33:54]sum+1 = 12501 [12:33:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 45 12.07.2024 12:33 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56777 ФПД: 187788407767602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T123355&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56777&fm=187788407767602&tin=02508201610067®Number=0000000000091208&sum=12500 0 [12:33:55]StoreToDocumentArchive [12:33:55]shift 494 fd 56777 [12:33:55]save to /storage/0494/doc_00056777 [12:33:55]save last doc name /storage/0494/doc_00056777 to /storage/kkm_last_doc_name [12:33:55]save OK [12:33:55]Clear old archive folders... [12:33:55]ProcessDocumentItem done err = 0, tmpTLVsize=284 [12:33:55]tlvbuf is 01AE38A0 [12:33:55]SAM_PROTO_ClearQueue [12:33:55]wFMCommunicate request_size=4 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 09 00 00 [12:33:55]Write to MH i2c: E2 08 00 64 06 80 09 00 00 00 00 00 00 DC [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 64 06 00 90 00 DE [12:33:55]RAPDU: 90 00 [12:33:55]wFMCommunicate OK [12:33:55]SAM_PROTO_ClearQueue done [12:33:55]KKMCreateOFDPacket [12:33:55]OFDProtocolAddRootSTLVToBuf [12:33:55]FM_MakeSignedData [12:33:55]FM_MakeSignedData [12:33:55]SAM_PROTO_SignData [12:33:55]wFMCommunicate request_size=4 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 0D 01 02 [12:33:55]Write to MH i2c: E2 08 00 65 06 80 0D 01 02 00 00 00 00 E4 [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 65 06 00 90 00 DF [12:33:55]RAPDU: 90 00 [12:33:55]wFMCommunicate OK [12:33:55]wFMCommunicate request_size=255 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 B3 22 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [12:33:55]Write to MH i2c: E2 02 01 66 06 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 B3 22 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 69 [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 66 06 00 90 00 E0 [12:33:55]RAPDU: 90 00 [12:33:55]wFMCommunicate OK [12:33:55]wFMCommunicate request_size=43 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DD 00 00 35 04 06 00 AA CA E5 56 82 32 [12:33:55]Write to MH i2c: E2 2E 00 67 06 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DD 00 00 35 04 06 00 AA CA E5 56 82 32 00 00 DF [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 03 00 67 06 00 90 00 E1 [12:33:55]RAPDU: 90 00 [12:33:55]wFMCommunicate OK [12:33:55]wFMCommunicate request_size=4 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 0D 03 02 [12:33:55]Write to MH i2c: E2 08 00 68 06 80 0D 03 02 00 00 00 00 E9 [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 0B 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 0B 00 68 06 00 DC AA B9 DD 74 DC 4C 82 90 00 24 [12:33:55]RAPDU: DC AA B9 DD 74 DC 4C 82 90 00 [12:33:55]wFMCommunicate OK [12:33:55]SAM_PROTO_SignData done [12:33:55]FM_MakeSignedData done [12:33:55]CreateOFDProtocolMessage [12:33:55]wFMCommunicate request_size=4 [12:33:55]MH_SAM_APDU [12:33:55]CAPDU: 80 11 00 00 [12:33:55]Write to MH i2c: E2 08 00 69 06 80 11 00 00 00 00 00 00 E9 [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:55]Read from MH i2c: E2 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 17 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: E2 17 00 69 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 43 [12:33:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:33:55]wFMCommunicate OK [12:33:55]CreateOFDProtocolMessage done [12:33:55]OFDSenderStorePacket 56777 [12:33:55]StoreOFDPacket docnum=56777 [12:33:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 6A 23 28 01 0E B6 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 B3 22 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DD 00 00 35 04 06 00 AA CA E5 56 82 32 DC AA B9 DD 74 DC 4C 82 [12:33:55]CheckFolder [12:33:55]dirname=/storage/ofd_packets [12:33:55]CheckFolder done [12:33:55]ProducePacketName [12:33:55]name=ofd_packets/00056777 [12:33:55]NVStorageSaveData ofd_packets/00056777 [12:33:55]File name is /storage/ofd_packets/00056777 [12:33:55]Write 334 bytes [12:33:55]NVStorageSaveData done [12:33:55]OFDSenderStorePacket done [12:33:55]KKMCreateOFDPacket done [12:33:55]NVStorageSaveData kkm_last_timestamp [12:33:55]File name is /storage/kkm_last_timestamp [12:33:55]Write 4 bytes [12:33:55]NVStorageSaveData done [12:33:55]ExternCall_PrintAddStr [12:33:55]wPrintStart [12:33:55]Write to MH i2c: 01 00 00 6A 06 70 [12:33:55]Write i2c OK [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: 01 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: 01 07 00 [12:33:55]MH_I2C_Read... [12:33:55]Read from MH i2c: 01 07 00 6A 06 00 00 00 00 00 FF 0F 85 [12:33:55]RasterBufferAndPrint [12:33:55]line Счет N : (3)129272 [12:33:55]line ИНН: 02508201610067 [12:33:55]line Контрольно-Кассовый Чек [12:33:55]line ПРОДАЖА [12:33:55]line Товар: 2000036190018 [12:33:55]line Кофе Американо XL(GABB TRADE) [12:33:55]line 1.000 * 125.00 [12:33:55]line = 125.00 [12:33:55]line НДС 12% НСП 1% [12:33:55]line > о реализуемом товаре [12:33:55]line ИТОГО: 125.00 [12:33:55]line НСП 1% : 1.11 [12:33:55]line НДС 12% : 13.27 [12:33:55]line Наличными: 125.00 [12:33:55]line Безнал.: 0.00 [12:33:55]line Место: АЗС № 132 "Партнер Нефть" [12:33:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:33:55]line СНО: Общий режим [12:33:55]line Чек 45 12.07.2024 12:33 [12:33:55]line Смена: 494 ФФД: 1.0 [12:33:55]line ЗНМ: 0300000132 [12:33:55]line РНМ: 0000000000091208 [12:33:55]line Версия ККМ: 001 [12:33:55]line ФМ: 0000000000874857 [12:33:55]line ФД: 56777 [12:33:55]line ФПД: 187788407767602 [12:33:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T123355&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56777&fm=187788407767602&tin=02508201610067®Number=0000000000091208&sum=12500 [12:33:56]OFD Sender: Processing packet 56777 [packets to send 38, broken 37] [12:33:56]ProducePacketName [12:33:56]name=ofd_packets/00056777 [12:33:56]OFD Sender: To server: pG, [12:33:56]CommunicateWithHost lk.salyk.kg:30040 [12:33:56]ConnectInit lk.salyk.kg [12:33:56]line 0 [12:33:56]written 0, free lines is 4095 [12:33:56]Connected sock=9 [12:33: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 38 35 37 30 01 00 00 6A 23 28 01 0E B6 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 B3 22 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DD 00 00 35 04 06 00 AA CA E5 56 82 32 DC AA B9 DD 74 DC 4C 82 [12:33:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D3 06 47 00 2F D0 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 38 35 37 10 04 04 00 C9 DD 00 00 F4 03 04 00 0B C9 90 66 B6 04 01 00 00 D2 C6 87 6E F2 85 DC A0 [12:33:56]CommunicateWithHost err = 0 [12:33:56]CheckOFDResponse [12:33:56]1017 (14) - 77093643461234 [12:33:56]1041 (16) - 0000000000874857 [12:33:56]1040 (4) - 56777 [12:33:56]1012 (4) - 12.07.2024 06:11 [12:33:56]1206 (1) - 0 [12:33:56]OFD Sender: Remove packet 56777 [12:33:56]ProducePacketName [12:33:56]name=ofd_packets/00056777 [12:33:56]NVStorageDeleteData [12:33:56]Write to MH i2c: 01 00 00 93 06 99 [12:33:56]Write i2c OK [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: 01 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: 01 07 00 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: 01 07 00 93 06 00 00 00 00 00 08 0D B5 [12:33:56]RasterBufferAndPrint [12:33:56]line [12:33:56]line [12:33:56]line [12:33:56]line [12:33:56]line [12:33:56]written 0, free lines is 3342 [12:33:56]MH_Cut [12:33:56]Write to MH i2c: D1 01 00 9A 06 01 72 [12:33:56]Write i2c OK [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: D1 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: D1 01 00 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: D1 01 00 9A 06 00 71 [12:33:56]Write to MH i2c: 01 00 00 9B 06 A1 [12:33:56]Write i2c OK [12:33:56]MH_I2C_Read... [12:33:56]OFD Sender: No OFD packet to send [12:33:57]*** Cut start [12:33:57]*** Partial cut [12:33:57]*** CUTSNS_PIN = 1 [12:33:57]*** CUTSNS_PIN = 0 [12:33:57]*** Brake cut motor [12:33:57]Read from MH i2c: 01 [12:33:57]MH_I2C_Read... [12:33:57]*** Stop cut motor [12:33:57]*** Cut end [12:33:57]Read from MH i2c: 01 07 00 [12:33:57]MH_I2C_Read... [12:33:57]Read from MH i2c: 01 07 00 9B 06 00 00 00 00 00 FF 0F B6 [12:33:57]process_action close_receipt done [12:33:57]requested_data is exist [12:33:57]produce_requested_data [12:33:57]requested_item fm.sn is exist - process it [12:33:57]wFMCommunicate request_size=4 [12:33:57]MH_SAM_APDU [12:33:57]CAPDU: 80 11 00 00 [12:33:57]Write to MH i2c: E2 08 00 9C 06 80 11 00 00 00 00 00 00 1C [12:33:57]Write i2c OK [12:33:57]MH_I2C_Read... [12:33:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:57]Read from MH i2c: E2 [12:33:57]MH_I2C_Read... [12:33:57]Read from MH i2c: E2 17 00 [12:33:57]MH_I2C_Read... [12:33:57]Read from MH i2c: E2 17 00 9C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [12:33:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:33:57]wFMCommunicate OK [12:33:57]requested_item fd.num is exist - process it [12:33:57]SAM_PROTO_GetFieldsCounters [12:33:57]wFMCommunicate request_size=4 [12:33:57]MH_SAM_APDU [12:33:57]CAPDU: 80 13 00 00 [12:33:57]Write to MH i2c: E2 08 00 9D 06 80 13 00 00 00 00 00 00 1F [12:33:57]Write i2c OK [12:33:57]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 62 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 62 00 9D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C9 DD 00 00 0E 04 04 00 EE 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 5E [12:33: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C9 DD 00 00 0E 04 04 00 EE 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 [12:33:58]wFMCommunicate OK [12:33:58]SAM_PROTO_GetFieldsCounters done [12:33:58]requested_item shift.num is exist - process it [12:33:58]requested_item shift.opened is exist - process it [12:33:58]req_shift_opened [12:33:58]FM_GetShiftState [12:33:58]SAM_PROTO_GetShiftState [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 13 01 00 [12:33:58]Write to MH i2c: E2 08 00 9E 06 80 13 01 00 00 00 00 00 21 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 0E 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 0E 00 9E 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 22 [12:33:58]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [12:33:58]wFMCommunicate OK [12:33:58]SAM_PROTO_GetShiftState done [12:33:58]FM_GetShiftState done [12:33:58]req_shift_opened done [12:33:58]requested_item shift.open_date is exist - process it [12:33:58]req_shift_open_date [12:33:58]req_shift_open_date done [12:33:58]requested_item shift.sale.total is exist - process it [12:33:58]SAM_PROTO_GetShiftData [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 13 02 00 [12:33:58]Write to MH i2c: E2 08 00 9F 06 80 13 02 00 00 00 00 00 23 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 FD 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 FD 00 9F 06 00 B6 04 AA 04 B2 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 84 A8 13 70 04 03 00 58 76 0E 72 04 03 00 2C 32 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 78 16 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 87 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 BB [12:33:58]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 84 A8 13 70 04 03 00 58 76 0E 72 04 03 00 2C 32 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 78 16 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 87 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:33:58]wFMCommunicate OK [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 17 00 00 [12:33:58]Write to MH i2c: E2 08 00 A0 06 80 17 00 00 00 00 00 00 26 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 FD 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 FD 00 A0 06 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 65 [12:33:58]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:33:58]wFMCommunicate OK [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 17 00 00 [12:33:58]Write to MH i2c: E2 08 00 A1 06 80 17 00 00 00 00 00 00 27 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:33:59]Read from MH i2c: E2 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 FD 00 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 FD 00 A1 06 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E7 [12:33:59]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:33:59]wFMCommunicate OK [12:33:59]wFMCommunicate request_size=4 [12:33:59]MH_SAM_APDU [12:33:59]CAPDU: 80 17 00 00 [12:33:59]Write to MH i2c: E2 08 00 A2 06 80 17 00 00 00 00 00 00 28 [12:33:59]Write i2c OK [12:33:59]MH_I2C_Read... [12:33:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:33:59]Read from MH i2c: E2 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 FD 00 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 FD 00 A2 06 00 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 90 00 97 [12:33:59]RAPDU: 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 90 00 [12:33:59]wFMCommunicate OK [12:33:59]wFMCommunicate request_size=4 [12:33:59]MH_SAM_APDU [12:33:59]CAPDU: 80 17 00 00 [12:33:59]Write to MH i2c: E2 08 00 A3 06 80 17 00 00 00 00 00 00 29 [12:33:59]Write i2c OK [12:33:59]MH_I2C_Read... [12:33:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:33:59]Read from MH i2c: E2 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 D3 00 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: E2 D3 00 A3 06 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 16 [12:33:59]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:33:59]wFMCommunicate OK [12:33:59]SAM_PROTO_GetShiftData done [12:33:59]requested_item shift.sale.total_cash is exist - process it [12:33:59]requested_item shift.sale_refund.total is exist - process it [12:33:59]requested_item shift.sale_refund.total_cash is exist - process it [12:33:59]produce_requested_data done [12:33:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56777,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12883.24,"shift.sale.total_cash":9478.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [12:33:59]process_action_free close_receipt [12:33:59]json_value_free [12:33:59]json_value_free done [12:33:59]process_json_proto returns [12:33:59]Send response to host [12:33:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56777,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":12883.24,"shift.sale.total_cash":9478.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [12:33:59]free response buf [12:33:59]execute_script done [12:33:59]execute_script returns [12:33:59]free content buf [12:33:59]Sock 10.Close socket [12:33:59]Sock 10.Thread stoped [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [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:44]accept exits with 7 [13:08:44]New connection [13:08:44]New thread 3066637668 created [13:08:44]Thread 3066781028 joined [13:08:44]Waiting for new connection... [13:08:44] Sock 7.Parse request [13:08:44]Sock 7.Check first char [13:08:44]Sock 7.First char is OK [13:08:44]request: POST /json_proto HTTP/1.0 [13:08:44]Method: POST [13:08:44]URL: /json_proto [13:08:44]Method is POST - this is cgi request [13:08:44]url: /json_proto [13:08:44]query_string will be loaded in cgi processing [13:08:44]execute_cgi json_proto POST (null) [13:08:44]execute_cgi path=json_proto method=POST [13:08:44]POST find Content-Length [13:08:44]Host: 172.17.39.4:8080 [13:08:44]Content-Length: 758 [13:08:44]Content-Type: application/json [13:08:44] [13:08:44]POST finish read [13:08:44]Found Content-Length = 758 [13:08:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129273", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:08:44]execute_script... [13:08: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)129273", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:08:44]POST & json_proto [13:08:44]process_json_proto [13:08:44]json parsed OK: [13:08:44]protocol is kg_v1.0 [13:08:44]action value=close_receipt [13:08:44]process_action close_receipt [13:08:44]cmd_close_receipt [13:08:44]MH_GetDate [13:08:44]Write to MH i2c: F0 00 00 A4 06 99 [13:08:44]Write i2c OK [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: F0 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: F0 09 00 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: F0 09 00 A4 06 00 DE 2A 91 66 2D 25 5D 64 B4 [13:08:44]GetLastDocTimeStamp 1720787635 [13:08:44]current date 1720789726 [13:08:44]FM_GetShiftState [13:08:44]SAM_PROTO_GetShiftState [13:08:44]wFMCommunicate request_size=4 [13:08:44]MH_SAM_APDU [13:08:44]CAPDU: 80 13 01 00 [13:08:44]Write to MH i2c: E2 08 00 A5 06 80 13 01 00 00 00 00 00 28 [13:08:44]Write i2c OK [13:08:44]MH_I2C_Read... [13:08:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:44]Read from MH i2c: E2 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 0E 00 [13:08:44]MH_I2C_Read... [13:08:44]Read from MH i2c: E2 0E 00 A5 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 29 [13:08:44]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:08:44]wFMCommunicate OK [13:08:44]SAM_PROTO_GetShiftState done [13:08:44]FM_GetShiftState done [13:08:44]opened in 1720744326 [13:08:44]opened+sec_in_day 1720830726 [13:08:44]quantity*price = 15000 [13:08:44]sum+1 = 15001 [13:08:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 46 12.07.2024 13:08 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56778 ФПД: 102127347970604 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T130846&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56778&fm=102127347970604&tin=02508201610067®Number=0000000000091208&sum=15000 0 [13:08:46]StoreToDocumentArchive [13:08:46]shift 494 fd 56778 [13:08:46]save to /storage/0494/doc_00056778 [13:08:46]save last doc name /storage/0494/doc_00056778 to /storage/kkm_last_doc_name [13:08:46]save OK [13:08:46]Clear old archive folders... [13:08:46]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:08:46]tlvbuf is 01AE77C0 [13:08:46]SAM_PROTO_ClearQueue [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 09 00 00 [13:08:46]Write to MH i2c: E2 08 00 B2 06 80 09 00 00 00 00 00 00 2A [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 B2 06 00 90 00 2C [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]SAM_PROTO_ClearQueue done [13:08:46]KKMCreateOFDPacket [13:08:46]OFDProtocolAddRootSTLVToBuf [13:08:46]FM_MakeSignedData [13:08:46]FM_MakeSignedData [13:08:46]SAM_PROTO_SignData [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 01 02 [13:08:46]Write to MH i2c: E2 08 00 B3 06 80 0D 01 02 00 00 00 00 32 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 B3 06 00 90 00 2D [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]wFMCommunicate request_size=255 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DE 2A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [13:08:46]Write to MH i2c: E2 02 01 B4 06 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DE 2A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 C2 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 B4 06 00 90 00 2E [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]wFMCommunicate request_size=34 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DD 00 00 35 04 06 00 5C E2 60 4C 32 2C [13:08:46]Write to MH i2c: E2 25 00 B5 06 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DD 00 00 35 04 06 00 5C E2 60 4C 32 2C 00 00 EC [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 03 00 B5 06 00 90 00 2F [13:08:46]RAPDU: 90 00 [13:08:46]wFMCommunicate OK [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 0D 03 02 [13:08:46]Write to MH i2c: E2 08 00 B6 06 80 0D 03 02 00 00 00 00 37 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 0B 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 0B 00 B6 06 00 9E C5 11 E1 64 55 39 A2 90 00 21 [13:08:46]RAPDU: 9E C5 11 E1 64 55 39 A2 90 00 [13:08:46]wFMCommunicate OK [13:08:46]SAM_PROTO_SignData done [13:08:46]FM_MakeSignedData done [13:08:46]CreateOFDProtocolMessage [13:08:46]wFMCommunicate request_size=4 [13:08:46]MH_SAM_APDU [13:08:46]CAPDU: 80 11 00 00 [13:08:46]Write to MH i2c: E2 08 00 B7 06 80 11 00 00 00 00 00 00 37 [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:08:46]Read from MH i2c: E2 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 17 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: E2 17 00 B7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 91 [13:08:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:08:46]wFMCommunicate OK [13:08:46]CreateOFDProtocolMessage done [13:08:46]OFDSenderStorePacket 56778 [13:08:46]StoreOFDPacket docnum=56778 [13:08:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 02 7B 1F 01 B2 9D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DE 2A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DD 00 00 35 04 06 00 5C E2 60 4C 32 2C 9E C5 11 E1 64 55 39 A2 [13:08:46]CheckFolder [13:08:46]dirname=/storage/ofd_packets [13:08:46]CheckFolder done [13:08:46]ProducePacketName [13:08:46]name=ofd_packets/00056778 [13:08:46]NVStorageSaveData ofd_packets/00056778 [13:08:46]File name is /storage/ofd_packets/00056778 [13:08:46]Write 325 bytes [13:08:46]NVStorageSaveData done [13:08:46]OFDSenderStorePacket done [13:08:46]KKMCreateOFDPacket done [13:08:46]NVStorageSaveData kkm_last_timestamp [13:08:46]File name is /storage/kkm_last_timestamp [13:08:46]Write 4 bytes [13:08:46]NVStorageSaveData done [13:08:46]OFD Sender: Processing packet 56778 [packets to send 38, broken 37] [13:08:46]ProducePacketName [13:08:46]name=ofd_packets/00056778 [13:08:46]OFD Sender: To server: pG, [13:08:46]CommunicateWithHost lk.salyk.kg:30040 [13:08:46]ConnectInit lk.salyk.kg [13:08:46]ExternCall_PrintAddStr [13:08:46]wPrintStart [13:08:46]Write to MH i2c: 01 00 00 B8 06 BE [13:08:46]Write i2c OK [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 07 00 [13:08:46]MH_I2C_Read... [13:08:46]Read from MH i2c: 01 07 00 B8 06 00 00 00 00 00 FF 0F D3 [13:08:46]RasterBufferAndPrint [13:08:46]line Счет N : (3)129273 [13:08:46]line ИНН: 02508201610067 [13:08:46]line Контрольно-Кассовый Чек [13:08:46]line ПРОДАЖА [13:08:46]line Товар: 54491472 [13:08:46]line Напиток Кока-Кола 0,5л [13:08:46]line 2.000 * 75.00 [13:08:46]line = 150.00 [13:08:46]line НДС 12% НСП 1% [13:08:46]line > о реализуемом товаре [13:08:46]line ИТОГО: 150.00 [13:08:46]line НСП 1% : 1.33 [13:08:46]line НДС 12% : 15.93 [13:08:46]line Наличными: 150.00 [13:08:46]line Безнал.: 0.00 [13:08:46]line Место: АЗС № 132 "Партнер Нефть" [13:08:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:08:46]line СНО: Общий режим [13:08:46]line Чек 46 12.07.2024 13:08 [13:08:46]line Смена: 494 ФФД: 1.0 [13:08:46]line ЗНМ: 0300000132 [13:08:46]line РНМ: 0000000000091208 [13:08:46]line Версия ККМ: 001 [13:08:46]line ФМ: 0000000000874857 [13:08:46]line ФД: 56778 [13:08:46]line ФПД: 102127347970604 [13:08:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T130846&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56778&fm=102127347970604&tin=02508201610067®Number=0000000000091208&sum=15000 [13:08:47]line 0 [13:08:47]Connected sock=11 [13:08: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 38 35 37 27 01 00 00 02 7B 1F 01 B2 9D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DE 2A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DD 00 00 35 04 06 00 5C E2 60 4C 32 2C 9E C5 11 E1 64 55 39 A2 [13:08:47]written 0, free lines is 4095 [13:08:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 25 36 47 00 4B AF 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 38 35 37 10 04 04 00 CA DD 00 00 F4 03 04 00 36 D1 90 66 B6 04 01 00 00 4D 75 28 3D 24 D3 AF 99 [13:08:47]CommunicateWithHost err = 0 [13:08:47]CheckOFDResponse [13:08:47]1017 (14) - 77093643461234 [13:08:47]1041 (16) - 0000000000874857 [13:08:47]1040 (4) - 56778 [13:08:47]1012 (4) - 12.07.2024 06:46 [13:08:47]1206 (1) - 0 [13:08:47]OFD Sender: Remove packet 56778 [13:08:47]ProducePacketName [13:08:47]name=ofd_packets/00056778 [13:08:47]NVStorageDeleteData [13:08:47]Write to MH i2c: 01 00 00 E0 06 E6 [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 07 00 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: 01 07 00 E0 06 00 00 00 00 00 0E 0D 08 [13:08:47]RasterBufferAndPrint [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]line [13:08:47]written 0, free lines is 3348 [13:08:47]MH_Cut [13:08:47]Write to MH i2c: D1 01 00 E7 06 01 BF [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 01 00 [13:08:47]MH_I2C_Read... [13:08:47]Read from MH i2c: D1 01 00 E7 06 00 BE [13:08:47]Write to MH i2c: 01 00 00 E8 06 EE [13:08:47]Write i2c OK [13:08:47]MH_I2C_Read... [13:08:47]OFD Sender: No OFD packet to send [13:08:48]*** Cut start [13:08:48]*** Partial cut [13:08:48]*** CUTSNS_PIN = 1 [13:08:48]*** CUTSNS_PIN = 0 [13:08:48]*** Brake cut motor [13:08:48]Read from MH i2c: 01 [13:08:48]MH_I2C_Read... [13:08:48]*** Stop cut motor [13:08:48]*** Cut end [13:08:48]Read from MH i2c: 01 07 00 [13:08:48]MH_I2C_Read... [13:08:48]Read from MH i2c: 01 07 00 E8 06 00 00 00 00 00 FF 0F 03 [13:08:48]process_action close_receipt done [13:08:48]requested_data is exist [13:08:48]produce_requested_data [13:08:48]requested_item fm.sn is exist - process it [13:08:48]wFMCommunicate request_size=4 [13:08:48]MH_SAM_APDU [13:08:48]CAPDU: 80 11 00 00 [13:08:48]Write to MH i2c: E2 08 00 E9 06 80 11 00 00 00 00 00 00 69 [13:08:48]Write i2c OK [13:08:48]MH_I2C_Read... [13:08:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:08:48]Read from MH i2c: E2 [13:08:48]MH_I2C_Read... [13:08:48]Read from MH i2c: E2 17 00 [13:08:48]MH_I2C_Read... [13:08:48]Read from MH i2c: E2 17 00 E9 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C3 [13:08:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:08:48]wFMCommunicate OK [13:08:48]requested_item fd.num is exist - process it [13:08:48]SAM_PROTO_GetFieldsCounters [13:08:48]wFMCommunicate request_size=4 [13:08:48]MH_SAM_APDU [13:08:48]CAPDU: 80 13 00 00 [13:08:48]Write to MH i2c: E2 08 00 EA 06 80 13 00 00 00 00 00 00 6C [13:08:48]Write i2c OK [13:08:48]MH_I2C_Read... [13:08:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:08:48]Read from MH i2c: E2 [13:08:48]MH_I2C_Read... [13:08:48]Read from MH i2c: E2 62 00 [13:08:48]MH_I2C_Read... [13:08:48]Read from MH i2c: E2 62 00 EA 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CA DD 00 00 0E 04 04 00 EE 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 AF [13:08:48]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CA DD 00 00 0E 04 04 00 EE 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 [13:08:48]wFMCommunicate OK [13:08:48]SAM_PROTO_GetFieldsCounters done [13:08:48]requested_item shift.num is exist - process it [13:08:48]requested_item shift.opened is exist - process it [13:08:48]req_shift_opened [13:08:48]FM_GetShiftState [13:08:48]SAM_PROTO_GetShiftState [13:08:48]wFMCommunicate request_size=4 [13:08:48]MH_SAM_APDU [13:08:48]CAPDU: 80 13 01 00 [13:08:48]Write to MH i2c: E2 08 00 EB 06 80 13 01 00 00 00 00 00 6E [13:08:48]Write i2c OK [13:08:48]MH_I2C_Read... [13:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:49]Read from MH i2c: E2 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 0E 00 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 0E 00 EB 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6F [13:08:49]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:08:49]wFMCommunicate OK [13:08:49]SAM_PROTO_GetShiftState done [13:08:49]FM_GetShiftState done [13:08:49]req_shift_opened done [13:08:49]requested_item shift.open_date is exist - process it [13:08:49]req_shift_open_date [13:08:49]req_shift_open_date done [13:08:49]requested_item shift.sale.total is exist - process it [13:08:49]SAM_PROTO_GetShiftData [13:08:49]wFMCommunicate request_size=4 [13:08:49]MH_SAM_APDU [13:08:49]CAPDU: 80 13 02 00 [13:08:49]Write to MH i2c: E2 08 00 EC 06 80 13 02 00 00 00 00 00 70 [13:08:49]Write i2c OK [13:08:49]MH_I2C_Read... [13:08:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:08:49]Read from MH i2c: E2 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 FD 00 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 FD 00 EC 06 00 B6 04 AA 04 B2 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 1C E3 13 70 04 03 00 F0 B0 0E 72 04 03 00 2C 32 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 B1 1C 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 0C 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 74 [13:08:49]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 1C E3 13 70 04 03 00 F0 B0 0E 72 04 03 00 2C 32 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 B1 1C 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 0C 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:08:49]wFMCommunicate OK [13:08:49]wFMCommunicate request_size=4 [13:08:49]MH_SAM_APDU [13:08:49]CAPDU: 80 17 00 00 [13:08:49]Write to MH i2c: E2 08 00 ED 06 80 17 00 00 00 00 00 00 73 [13:08:49]Write i2c OK [13:08:49]MH_I2C_Read... [13:08:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:49]Read from MH i2c: E2 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 FD 00 [13:08:49]MH_I2C_Read... [13:08:49]Read from MH i2c: E2 FD 00 ED 06 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [13:08:49]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:08:49]wFMCommunicate OK [13:08:49]wFMCommunicate request_size=4 [13:08:49]MH_SAM_APDU [13:08:49]CAPDU: 80 17 00 00 [13:08:49]Write to MH i2c: E2 08 00 EE 06 80 17 00 00 00 00 00 00 74 [13:08:49]Write i2c OK [13:08:49]MH_I2C_Read... [13:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:50]Read from MH i2c: E2 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 FD 00 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 FD 00 EE 06 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [13:08:50]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:08:50]wFMCommunicate OK [13:08:50]wFMCommunicate request_size=4 [13:08:50]MH_SAM_APDU [13:08:50]CAPDU: 80 17 00 00 [13:08:50]Write to MH i2c: E2 08 00 EF 06 80 17 00 00 00 00 00 00 75 [13:08:50]Write i2c OK [13:08:50]MH_I2C_Read... [13:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:08:50]Read from MH i2c: E2 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 FD 00 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 FD 00 EF 06 00 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 90 00 E4 [13:08:50]RAPDU: 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 90 00 [13:08:50]wFMCommunicate OK [13:08:50]wFMCommunicate request_size=4 [13:08:50]MH_SAM_APDU [13:08:50]CAPDU: 80 17 00 00 [13:08:50]Write to MH i2c: E2 08 00 F0 06 80 17 00 00 00 00 00 00 76 [13:08:50]Write i2c OK [13:08:50]MH_I2C_Read... [13:08:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:08:50]Read from MH i2c: E2 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 D3 00 [13:08:50]MH_I2C_Read... [13:08:50]Read from MH i2c: E2 D3 00 F0 06 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 63 [13:08:50]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:08:50]wFMCommunicate OK [13:08:50]SAM_PROTO_GetShiftData done [13:08:50]requested_item shift.sale.total_cash is exist - process it [13:08:50]requested_item shift.sale_refund.total is exist - process it [13:08:50]requested_item shift.sale_refund.total_cash is exist - process it [13:08:50]produce_requested_data done [13:08:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56778,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13033.24,"shift.sale.total_cash":9628.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:08:50]process_action_free close_receipt [13:08:50]json_value_free [13:08:50]json_value_free done [13:08:50]process_json_proto returns [13:08:50]Send response to host [13:08:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56778,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13033.24,"shift.sale.total_cash":9628.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:08:50]free response buf [13:08:50]execute_script done [13:08:50]execute_script returns [13:08:50]free content buf [13:08:50]Sock 7.Close socket [13:08:50]Sock 7.Thread stoped [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]accept exits with 9 [13:11:12]New connection [13:11:12]New thread 3066781028 created [13:11:12]Thread 3066637668 joined [13:11:12]Waiting for new connection... [13:11:12] Sock 9.Parse request [13:11:12]Sock 9.Check first char [13:11:12]Sock 9.First char is OK [13:11:12]request: POST /json_proto HTTP/1.0 [13:11:12]Method: POST [13:11:12]URL: /json_proto [13:11:12]Method is POST - this is cgi request [13:11:12]url: /json_proto [13:11:12]query_string will be loaded in cgi processing [13:11:12]execute_cgi json_proto POST (null) [13:11:12]execute_cgi path=json_proto method=POST [13:11:12]POST find Content-Length [13:11:12]Host: 172.17.39.4:8080 [13:11:12]Content-Length: 725 [13:11:12]Content-Type: application/json [13:11:12] [13:11:12]POST finish read [13:11:12]Found Content-Length = 725 [13:11:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129274", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:11:12]execute_script... [13:11:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129274", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:11:12]POST & json_proto [13:11:12]process_json_proto [13:11:12]json parsed OK: [13:11:12]protocol is kg_v1.0 [13:11:12]action value=close_receipt [13:11:12]process_action close_receipt [13:11:12]cmd_close_receipt [13:11:12]MH_GetDate [13:11:12]Write to MH i2c: F0 00 00 F1 06 E6 [13:11:12]Write i2c OK [13:11:12]MH_I2C_Read... [13:11:12]Read from MH i2c: F0 [13:11:12]MH_I2C_Read... [13:11:12]Read from MH i2c: F0 09 00 [13:11:12]MH_I2C_Read... [13:11:12]Read from MH i2c: F0 09 00 F1 06 00 72 2B 91 66 2D 25 5D 64 96 [13:11:12]GetLastDocTimeStamp 1720789726 [13:11:12]current date 1720789874 [13:11:12]FM_GetShiftState [13:11:12]SAM_PROTO_GetShiftState [13:11:12]wFMCommunicate request_size=4 [13:11:12]MH_SAM_APDU [13:11:12]CAPDU: 80 13 01 00 [13:11:12]Write to MH i2c: E2 08 00 F2 06 80 13 01 00 00 00 00 00 75 [13:11:12]Write i2c OK [13:11:12]MH_I2C_Read... [13:11:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:12]Read from MH i2c: E2 [13:11:12]MH_I2C_Read... [13:11:12]Read from MH i2c: E2 0E 00 [13:11:12]MH_I2C_Read... [13:11:12]Read from MH i2c: E2 0E 00 F2 06 00 09 00 01 86 79 90 66 00 00 00 00 90 00 76 [13:11:12]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:11:12]wFMCommunicate OK [13:11:12]SAM_PROTO_GetShiftState done [13:11:12]FM_GetShiftState done [13:11:12]opened in 1720744326 [13:11:12]opened+sec_in_day 1720830726 [13:11:12]quantity*price = 26000 [13:11:12]sum+1 = 26001 [13:11:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 47 12.07.2024 13:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56779 ФПД: 202600118885581 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56779&fm=202600118885581&tin=02508201610067®Number=0000000000091208&sum=26000 0 [13:11:13]StoreToDocumentArchive [13:11:13]shift 494 fd 56779 [13:11:13]save to /storage/0494/doc_00056779 [13:11:13]save last doc name /storage/0494/doc_00056779 to /storage/kkm_last_doc_name [13:11:13]save OK [13:11:13]Clear old archive folders... [13:11:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:11:13]tlvbuf is 01AE88D0 [13:11:13]SAM_PROTO_ClearQueue [13:11:13]wFMCommunicate request_size=4 [13:11:13]MH_SAM_APDU [13:11:13]CAPDU: 80 09 00 00 [13:11:13]Write to MH i2c: E2 08 00 FF 06 80 09 00 00 00 00 00 00 77 [13:11:13]Write i2c OK [13:11:13]MH_I2C_Read... [13:11:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:11:13]Read from MH i2c: E2 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: E2 03 00 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: E2 03 00 FF 06 00 90 00 79 [13:11:13]RAPDU: 90 00 [13:11:13]wFMCommunicate OK [13:11:13]SAM_PROTO_ClearQueue done [13:11:13]KKMCreateOFDPacket [13:11:13]OFDProtocolAddRootSTLVToBuf [13:11:13]FM_MakeSignedData [13:11:13]FM_MakeSignedData [13:11:13]SAM_PROTO_SignData [13:11:13]wFMCommunicate request_size=4 [13:11:13]MH_SAM_APDU [13:11:13]CAPDU: 80 0D 01 02 [13:11:13]Write to MH i2c: E2 08 00 00 07 80 0D 01 02 00 00 00 00 80 [13:11:13]Write i2c OK [13:11:13]MH_I2C_Read... [13:11:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:11:14]Read from MH i2c: E2 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 00 07 00 90 00 7B [13:11:14]RAPDU: 90 00 [13:11:14]wFMCommunicate OK [13:11:14]wFMCommunicate request_size=255 [13:11:14]MH_SAM_APDU [13:11:14]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 72 2B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [13:11:14]Write to MH i2c: E2 02 01 01 07 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 72 2B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 E1 [13:11:14]Write i2c OK [13:11:14]MH_I2C_Read... [13:11:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:14]Read from MH i2c: E2 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 01 07 00 90 00 7C [13:11:14]RAPDU: 90 00 [13:11:14]wFMCommunicate OK [13:11:14]wFMCommunicate request_size=32 [13:11:14]MH_SAM_APDU [13:11:14]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DD 00 00 35 04 06 00 B8 43 84 1E 1C CD [13:11:14]Write to MH i2c: E2 23 00 02 07 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DD 00 00 35 04 06 00 B8 43 84 1E 1C CD 00 00 15 [13:11:14]Write i2c OK [13:11:14]MH_I2C_Read... [13:11:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:14]Read from MH i2c: E2 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 03 00 02 07 00 90 00 7D [13:11:14]RAPDU: 90 00 [13:11:14]wFMCommunicate OK [13:11:14]wFMCommunicate request_size=4 [13:11:14]MH_SAM_APDU [13:11:14]CAPDU: 80 0D 03 02 [13:11:14]Write to MH i2c: E2 08 00 03 07 80 0D 03 02 00 00 00 00 85 [13:11:14]Write i2c OK [13:11:14]MH_I2C_Read... [13:11:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:11:14]Read from MH i2c: E2 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 0B 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 0B 00 03 07 00 84 EE DB C6 9B 58 33 C4 90 00 83 [13:11:14]RAPDU: 84 EE DB C6 9B 58 33 C4 90 00 [13:11:14]wFMCommunicate OK [13:11:14]SAM_PROTO_SignData done [13:11:14]FM_MakeSignedData done [13:11:14]CreateOFDProtocolMessage [13:11:14]wFMCommunicate request_size=4 [13:11:14]MH_SAM_APDU [13:11:14]CAPDU: 80 11 00 00 [13:11:14]Write to MH i2c: E2 08 00 04 07 80 11 00 00 00 00 00 00 85 [13:11:14]Write i2c OK [13:11:14]MH_I2C_Read... [13:11:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:14]Read from MH i2c: E2 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 17 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: E2 17 00 04 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DF [13:11:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:11:14]wFMCommunicate OK [13:11:14]CreateOFDProtocolMessage done [13:11:14]OFDSenderStorePacket 56779 [13:11:14]StoreOFDPacket docnum=56779 [13:11:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 46 75 1D 01 B7 F7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 72 2B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DD 00 00 35 04 06 00 B8 43 84 1E 1C CD 84 EE DB C6 9B 58 33 C4 [13:11:14]CheckFolder [13:11:14]dirname=/storage/ofd_packets [13:11:14]CheckFolder done [13:11:14]ProducePacketName [13:11:14]name=ofd_packets/00056779 [13:11:14]NVStorageSaveData ofd_packets/00056779 [13:11:14]File name is /storage/ofd_packets/00056779 [13:11:14]Write 323 bytes [13:11:14]NVStorageSaveData done [13:11:14]OFDSenderStorePacket done [13:11:14]KKMCreateOFDPacket done [13:11:14]NVStorageSaveData kkm_last_timestamp [13:11:14]File name is /storage/kkm_last_timestamp [13:11:14]Write 4 bytes [13:11:14]NVStorageSaveData done [13:11:14]OFD Sender: Processing packet 56779 [packets to send 38, broken 37] [13:11:14]ProducePacketName [13:11:14]name=ofd_packets/00056779 [13:11:14]OFD Sender: To server: pG, [13:11:14]CommunicateWithHost lk.salyk.kg:30040 [13:11:14]ConnectInit lk.salyk.kg [13:11:14]ExternCall_PrintAddStr [13:11:14]wPrintStart [13:11:14]Write to MH i2c: 01 00 00 05 07 0C [13:11:14]Write i2c OK [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: 01 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: 01 07 00 [13:11:14]MH_I2C_Read... [13:11:14]Read from MH i2c: 01 07 00 05 07 00 00 00 00 00 FF 0F 21 [13:11:14]RasterBufferAndPrint [13:11:14]line Счет N : (3)129274 [13:11:14]line ИНН: 02508201610067 [13:11:14]line Контрольно-Кассовый Чек [13:11:14]line ПРОДАЖА [13:11:14]line Товар: 4780014240406 [13:11:14]line Сигареты Sovereign Blue [13:11:14]line 2.000 * 130.00 [13:11:14]line = 260.00 [13:11:14]line НДС 12% НСП 1% [13:11:14]line > о реализуемом товаре [13:11:14]line ИТОГО: 260.00 [13:11:14]line НСП 1% : 2.30 [13:11:14]line НДС 12% : 27.61 [13:11:14]line Наличными: 260.00 [13:11:14]line Безнал.: 0.00 [13:11:14]line Место: АЗС № 132 "Партнер Нефть" [13:11:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:11:14]line СНО: Общий режим [13:11:14]line Чек 47 12.07.2024 13:11 [13:11:14]line Смена: 494 ФФД: 1.0 [13:11:14]line ЗНМ: 0300000132 [13:11:14]line РНМ: 0000000000091208 [13:11:14]line Версия ККМ: 001 [13:11:14]line ФМ: 0000000000874857 [13:11:14]line ФД: 56779 [13:11:14]line ФПД: 202600118885581 [13:11:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56779&fm=202600118885581&tin=02508201610067®Number=0000000000091208&sum=26000 [13:11:14]line 0 [13:11:14]Connected sock=11 [13:11:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 46 75 1D 01 B7 F7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 72 2B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DD 00 00 35 04 06 00 B8 43 84 1E 1C CD 84 EE DB C6 9B 58 33 C4 [13:11:14]written 0, free lines is 4095 [13:11:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 66 92 47 00 B9 8B 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 38 35 37 10 04 04 00 CB DD 00 00 F4 03 04 00 C9 D1 90 66 B6 04 01 00 00 36 8E E8 2E 99 44 08 59 [13:11:15]CommunicateWithHost err = 0 [13:11:15]CheckOFDResponse [13:11:15]1017 (14) - 77093643461234 [13:11:15]1041 (16) - 0000000000874857 [13:11:15]1040 (4) - 56779 [13:11:15]1012 (4) - 12.07.2024 06:48 [13:11:15]1206 (1) - 0 [13:11:15]OFD Sender: Remove packet 56779 [13:11:15]ProducePacketName [13:11:15]name=ofd_packets/00056779 [13:11:15]NVStorageDeleteData [13:11:15]Write to MH i2c: 01 00 00 2D 07 34 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 07 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 07 00 2D 07 00 00 00 00 00 14 0D 5C [13:11:15]RasterBufferAndPrint [13:11:15]line [13:11:15]line [13:11:15]line [13:11:15]line [13:11:15]line [13:11:15]written 0, free lines is 3354 [13:11:15]MH_Cut [13:11:15]Write to MH i2c: D1 01 00 34 07 01 0D [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: D1 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: D1 01 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: D1 01 00 34 07 00 0C [13:11:15]Write to MH i2c: 01 00 00 35 07 3C [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]OFD Sender: No OFD packet to send [13:11:15]*** Cut start [13:11:15]*** Partial cut [13:11:15]*** CUTSNS_PIN = 1 [13:11:16]*** CUTSNS_PIN = 0 [13:11:16]*** Brake cut motor [13:11:16]Read from MH i2c: 01 [13:11:16]MH_I2C_Read... [13:11:16]*** Stop cut motor [13:11:16]*** Cut end [13:11:16]Read from MH i2c: 01 07 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: 01 07 00 35 07 00 00 00 00 00 FF 0F 51 [13:11:16]process_action close_receipt done [13:11:16]requested_data is exist [13:11:16]produce_requested_data [13:11:16]requested_item fm.sn is exist - process it [13:11:16]wFMCommunicate request_size=4 [13:11:16]MH_SAM_APDU [13:11:16]CAPDU: 80 11 00 00 [13:11:16]Write to MH i2c: E2 08 00 36 07 80 11 00 00 00 00 00 00 B7 [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:16]Read from MH i2c: E2 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 17 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 17 00 36 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 11 [13:11:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:11:16]wFMCommunicate OK [13:11:16]requested_item fd.num is exist - process it [13:11:16]SAM_PROTO_GetFieldsCounters [13:11:16]wFMCommunicate request_size=4 [13:11:16]MH_SAM_APDU [13:11:16]CAPDU: 80 13 00 00 [13:11:16]Write to MH i2c: E2 08 00 37 07 80 13 00 00 00 00 00 00 BA [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:16]Read from MH i2c: E2 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 62 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 62 00 37 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CB DD 00 00 0E 04 04 00 EE 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 01 [13:11:16]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CB DD 00 00 0E 04 04 00 EE 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 [13:11:16]wFMCommunicate OK [13:11:16]SAM_PROTO_GetFieldsCounters done [13:11:16]requested_item shift.num is exist - process it [13:11:16]requested_item shift.opened is exist - process it [13:11:16]req_shift_opened [13:11:16]FM_GetShiftState [13:11:16]SAM_PROTO_GetShiftState [13:11:16]wFMCommunicate request_size=4 [13:11:16]MH_SAM_APDU [13:11:16]CAPDU: 80 13 01 00 [13:11:16]Write to MH i2c: E2 08 00 38 07 80 13 01 00 00 00 00 00 BC [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:16]Read from MH i2c: E2 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 0E 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: E2 0E 00 38 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 BD [13:11:16]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:11:16]wFMCommunicate OK [13:11:16]SAM_PROTO_GetShiftState done [13:11:16]FM_GetShiftState done [13:11:16]req_shift_opened done [13:11:16]requested_item shift.open_date is exist - process it [13:11:16]req_shift_open_date [13:11:16]req_shift_open_date done [13:11:16]requested_item shift.sale.total is exist - process it [13:11:16]SAM_PROTO_GetShiftData [13:11:16]wFMCommunicate request_size=4 [13:11:16]MH_SAM_APDU [13:11:16]CAPDU: 80 13 02 00 [13:11:16]Write to MH i2c: E2 08 00 39 07 80 13 02 00 00 00 00 00 BE [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:11:17]Read from MH i2c: E2 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 39 07 00 B6 04 AA 04 B2 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 AC 48 14 70 04 03 00 80 16 0F 72 04 03 00 2C 32 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 7A 27 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 F2 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 6B [13:11:17]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 AC 48 14 70 04 03 00 80 16 0F 72 04 03 00 2C 32 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 7A 27 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 F2 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:11:17]wFMCommunicate OK [13:11:17]wFMCommunicate request_size=4 [13:11:17]MH_SAM_APDU [13:11:17]CAPDU: 80 17 00 00 [13:11:17]Write to MH i2c: E2 08 00 3A 07 80 17 00 00 00 00 00 00 C1 [13:11:17]Write i2c OK [13:11:17]MH_I2C_Read... [13:11:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:17]Read from MH i2c: E2 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 3A 07 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 00 [13:11:17]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:11:17]wFMCommunicate OK [13:11:17]wFMCommunicate request_size=4 [13:11:17]MH_SAM_APDU [13:11:17]CAPDU: 80 17 00 00 [13:11:17]Write to MH i2c: E2 08 00 3B 07 80 17 00 00 00 00 00 00 C2 [13:11:17]Write i2c OK [13:11:17]MH_I2C_Read... [13:11:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:17]Read from MH i2c: E2 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 FD 00 3B 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [13:11:17]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:11:17]wFMCommunicate OK [13:11:17]wFMCommunicate request_size=4 [13:11:17]MH_SAM_APDU [13:11:17]CAPDU: 80 17 00 00 [13:11:17]Write to MH i2c: E2 08 00 3C 07 80 17 00 00 00 00 00 00 C3 [13:11:17]Write i2c OK [13:11:17]MH_I2C_Read... [13:11:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:11:18]Read from MH i2c: E2 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 FD 00 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 FD 00 3C 07 00 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 90 00 32 [13:11:18]RAPDU: 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 90 00 [13:11:18]wFMCommunicate OK [13:11:18]wFMCommunicate request_size=4 [13:11:18]MH_SAM_APDU [13:11:18]CAPDU: 80 17 00 00 [13:11:18]Write to MH i2c: E2 08 00 3D 07 80 17 00 00 00 00 00 00 C4 [13:11:18]Write i2c OK [13:11:18]MH_I2C_Read... [13:11:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:11:18]Read from MH i2c: E2 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 D3 00 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 D3 00 3D 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:11:18]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:11:18]wFMCommunicate OK [13:11:18]SAM_PROTO_GetShiftData done [13:11:18]requested_item shift.sale.total_cash is exist - process it [13:11:18]requested_item shift.sale_refund.total is exist - process it [13:11:18]requested_item shift.sale_refund.total_cash is exist - process it [13:11:18]produce_requested_data done [13:11:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56779,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13293.24,"shift.sale.total_cash":9888.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:11:18]process_action_free close_receipt [13:11:18]json_value_free [13:11:18]json_value_free done [13:11:18]process_json_proto returns [13:11:18]Send response to host [13:11:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56779,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13293.24,"shift.sale.total_cash":9888.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:11:18]free response buf [13:11:18]execute_script done [13:11:18]execute_script returns [13:11:18]free content buf [13:11:18]Sock 9.Close socket [13:11:18]Sock 9.Thread stoped [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:41]accept exits with 7 [13:18:41]New connection [13:18:41]New thread 3066637668 created [13:18:41]Thread 3066781028 joined [13:18:41]Waiting for new connection... [13:18:41] Sock 7.Parse request [13:18:41]Sock 7.Check first char [13:18:41]Sock 7.First char is OK [13:18:41]request: POST /json_proto HTTP/1.0 [13:18:41]Method: POST [13:18:41]URL: /json_proto [13:18:41]Method is POST - this is cgi request [13:18:41]url: /json_proto [13:18:41]query_string will be loaded in cgi processing [13:18:41]execute_cgi json_proto POST (null) [13:18:41]execute_cgi path=json_proto method=POST [13:18:41]POST find Content-Length [13:18:41]Host: 172.17.39.4:8080 [13:18:41]Content-Length: 750 [13:18:41]Content-Type: application/json [13:18:41] [13:18:41]POST finish read [13:18:41]Found Content-Length = 750 [13:18:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129275", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:18:41]execute_script... [13:18: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)129275", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:18:41]POST & json_proto [13:18:41]process_json_proto [13:18:41]json parsed OK: [13:18:41]protocol is kg_v1.0 [13:18:41]action value=close_receipt [13:18:41]process_action close_receipt [13:18:41]cmd_close_receipt [13:18:41]MH_GetDate [13:18:41]Write to MH i2c: F0 00 00 3E 07 34 [13:18:41]Write i2c OK [13:18:41]MH_I2C_Read... [13:18:41]Read from MH i2c: F0 [13:18:41]MH_I2C_Read... [13:18:41]Read from MH i2c: F0 09 00 [13:18:41]MH_I2C_Read... [13:18:41]Read from MH i2c: F0 09 00 3E 07 00 33 2D 91 66 2D 25 5D 64 A7 [13:18:41]GetLastDocTimeStamp 1720789874 [13:18:41]current date 1720790323 [13:18:41]FM_GetShiftState [13:18:41]SAM_PROTO_GetShiftState [13:18:41]wFMCommunicate request_size=4 [13:18:41]MH_SAM_APDU [13:18:41]CAPDU: 80 13 01 00 [13:18:41]Write to MH i2c: E2 08 00 3F 07 80 13 01 00 00 00 00 00 C3 [13:18:41]Write i2c OK [13:18:41]MH_I2C_Read... [13:18:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:41]Read from MH i2c: E2 [13:18:41]MH_I2C_Read... [13:18:41]Read from MH i2c: E2 0E 00 [13:18:41]MH_I2C_Read... [13:18:41]Read from MH i2c: E2 0E 00 3F 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C4 [13:18:41]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:18:41]wFMCommunicate OK [13:18:41]SAM_PROTO_GetShiftState done [13:18:41]FM_GetShiftState done [13:18:41]opened in 1720744326 [13:18:41]opened+sec_in_day 1720830726 [13:18:41]quantity*price = 13000 [13:18:41]sum+1 = 13001 [13:18:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 48 12.07.2024 13:18 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56780 ФПД: 270650276150592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56780&fm=270650276150592&tin=02508201610067®Number=0000000000091208&sum=13000 0 [13:18:43]StoreToDocumentArchive [13:18:43]shift 494 fd 56780 [13:18:43]save to /storage/0494/doc_00056780 [13:18:43]save last doc name /storage/0494/doc_00056780 to /storage/kkm_last_doc_name [13:18:43]save OK [13:18:43]Clear old archive folders... [13:18:43]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:18:43]tlvbuf is 01AF5110 [13:18:43]SAM_PROTO_ClearQueue [13:18:43]wFMCommunicate request_size=4 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 09 00 00 [13:18:43]Write to MH i2c: E2 08 00 4C 07 80 09 00 00 00 00 00 00 C5 [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 4C 07 00 90 00 C7 [13:18:43]RAPDU: 90 00 [13:18:43]wFMCommunicate OK [13:18:43]SAM_PROTO_ClearQueue done [13:18:43]KKMCreateOFDPacket [13:18:43]OFDProtocolAddRootSTLVToBuf [13:18:43]FM_MakeSignedData [13:18:43]FM_MakeSignedData [13:18:43]SAM_PROTO_SignData [13:18:43]wFMCommunicate request_size=4 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 0D 01 02 [13:18:43]Write to MH i2c: E2 08 00 4D 07 80 0D 01 02 00 00 00 00 CD [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 4D 07 00 90 00 C8 [13:18:43]RAPDU: 90 00 [13:18:43]wFMCommunicate OK [13:18:43]wFMCommunicate request_size=255 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 33 2D 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [13:18:43]Write to MH i2c: E2 02 01 4E 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 33 2D 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 4D [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 4E 07 00 90 00 C9 [13:18:43]RAPDU: 90 00 [13:18:43]wFMCommunicate OK [13:18:43]wFMCommunicate request_size=41 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DD 00 00 35 04 06 00 F6 27 AD 91 7D 40 [13:18:43]Write to MH i2c: E2 2C 00 4F 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DD 00 00 35 04 06 00 F6 27 AD 91 7D 40 00 00 67 [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 03 00 4F 07 00 90 00 CA [13:18:43]RAPDU: 90 00 [13:18:43]wFMCommunicate OK [13:18:43]wFMCommunicate request_size=4 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 0D 03 02 [13:18:43]Write to MH i2c: E2 08 00 50 07 80 0D 03 02 00 00 00 00 D2 [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 0B 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 0B 00 50 07 00 18 C8 DE C2 7B EA F0 AB 90 00 53 [13:18:43]RAPDU: 18 C8 DE C2 7B EA F0 AB 90 00 [13:18:43]wFMCommunicate OK [13:18:43]SAM_PROTO_SignData done [13:18:43]FM_MakeSignedData done [13:18:43]CreateOFDProtocolMessage [13:18:43]wFMCommunicate request_size=4 [13:18:43]MH_SAM_APDU [13:18:43]CAPDU: 80 11 00 00 [13:18:43]Write to MH i2c: E2 08 00 51 07 80 11 00 00 00 00 00 00 D2 [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:43]Read from MH i2c: E2 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 17 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: E2 17 00 51 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [13:18:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:18:43]wFMCommunicate OK [13:18:43]CreateOFDProtocolMessage done [13:18:43]OFDSenderStorePacket 56780 [13:18:43]StoreOFDPacket docnum=56780 [13:18:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 86 06 26 01 D5 C5 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 33 2D 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DD 00 00 35 04 06 00 F6 27 AD 91 7D 40 18 C8 DE C2 7B EA F0 AB [13:18:43]CheckFolder [13:18:43]dirname=/storage/ofd_packets [13:18:43]CheckFolder done [13:18:43]ProducePacketName [13:18:43]name=ofd_packets/00056780 [13:18:43]NVStorageSaveData ofd_packets/00056780 [13:18:43]File name is /storage/ofd_packets/00056780 [13:18:43]Write 332 bytes [13:18:43]NVStorageSaveData done [13:18:43]OFDSenderStorePacket done [13:18:43]KKMCreateOFDPacket done [13:18:43]NVStorageSaveData kkm_last_timestamp [13:18:43]File name is /storage/kkm_last_timestamp [13:18:43]Write 4 bytes [13:18:43]NVStorageSaveData done [13:18:43]ExternCall_PrintAddStr [13:18:43]wPrintStart [13:18:43]Write to MH i2c: 01 00 00 52 07 59 [13:18:43]Write i2c OK [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: 01 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: 01 07 00 [13:18:43]MH_I2C_Read... [13:18:43]Read from MH i2c: 01 07 00 52 07 00 00 00 00 00 FF 0F 6E [13:18:43]RasterBufferAndPrint [13:18:43]line Счет N : (3)129275 [13:18:43]line ИНН: 02508201610067 [13:18:43]line Контрольно-Кассовый Чек [13:18:43]line ПРОДАЖА [13:18:43]line Товар: 2000036220012 [13:18:43]line Кофе Капучино XL(GABB TRADE) [13:18:43]line 1.000 * 130.00 [13:18:43]line = 130.00 [13:18:43]line НДС 12% НСП 1% [13:18:43]line > о реализуемом товаре [13:18:43]line ИТОГО: 130.00 [13:18:43]line НСП 1% : 1.15 [13:18:43]line НДС 12% : 13.80 [13:18:43]line Наличными: 130.00 [13:18:43]line Безнал.: 0.00 [13:18:43]line Место: АЗС № 132 "Партнер Нефть" [13:18:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:18:43]line СНО: Общий режим [13:18:43]line Чек 48 12.07.2024 13:18 [13:18:43]line Смена: 494 ФФД: 1.0 [13:18:43]line ЗНМ: 0300000132 [13:18:43]line РНМ: 0000000000091208 [13:18:43]line Версия ККМ: 001 [13:18:43]line ФМ: 0000000000874857 [13:18:43]line ФД: 56780 [13:18:43]line ФПД: 270650276150592 [13:18:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56780&fm=270650276150592&tin=02508201610067®Number=0000000000091208&sum=13000 [13:18:43]OFD Sender: Processing packet 56780 [packets to send 38, broken 37] [13:18:43]ProducePacketName [13:18:43]name=ofd_packets/00056780 [13:18:43]OFD Sender: To server: pG, [13:18:43]CommunicateWithHost lk.salyk.kg:30040 [13:18:43]ConnectInit lk.salyk.kg [13:18:43]line 0 [13:18:43]written 0, free lines is 4095 [13:18:44]Connected sock=10 [13:18: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 38 35 37 2E 01 00 00 86 06 26 01 D5 C5 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 33 2D 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DD 00 00 35 04 06 00 F6 27 AD 91 7D 40 18 C8 DE C2 7B EA F0 AB [13:18:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9B FF 47 00 9B 29 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 38 35 37 10 04 04 00 CC DD 00 00 F4 03 04 00 8B D3 90 66 B6 04 01 00 00 52 64 6A DC A0 D9 8C B6 [13:18:44]CommunicateWithHost err = 0 [13:18:44]CheckOFDResponse [13:18:44]1017 (14) - 77093643461234 [13:18:44]1041 (16) - 0000000000874857 [13:18:44]1040 (4) - 56780 [13:18:44]1012 (4) - 12.07.2024 06:56 [13:18:44]1206 (1) - 0 [13:18:44]OFD Sender: Remove packet 56780 [13:18:44]ProducePacketName [13:18:44]name=ofd_packets/00056780 [13:18:44]NVStorageDeleteData [13:18:44]Write to MH i2c: 01 00 00 7B 07 82 [13:18:44]Write i2c OK [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: 01 [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: 01 07 00 [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: 01 07 00 7B 07 00 00 00 00 00 00 0D 96 [13:18:44]RasterBufferAndPrint [13:18:44]line [13:18:44]line [13:18:44]line [13:18:44]line [13:18:44]line [13:18:44]written 0, free lines is 3337 [13:18:44]MH_Cut [13:18:44]Write to MH i2c: D1 01 00 82 07 01 5B [13:18:44]Write i2c OK [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: D1 [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: D1 01 00 [13:18:44]MH_I2C_Read... [13:18:44]Read from MH i2c: D1 01 00 82 07 00 5A [13:18:44]Write to MH i2c: 01 00 00 83 07 8A [13:18:44]Write i2c OK [13:18:44]MH_I2C_Read... [13:18:44]OFD Sender: No OFD packet to send [13:18:45]*** Cut start [13:18:45]*** Partial cut [13:18:45]*** CUTSNS_PIN = 1 [13:18:45]*** CUTSNS_PIN = 0 [13:18:45]*** Brake cut motor [13:18:45]Read from MH i2c: 01 [13:18:45]MH_I2C_Read... [13:18:45]*** Stop cut motor [13:18:45]*** Cut end [13:18:45]Read from MH i2c: 01 07 00 [13:18:45]MH_I2C_Read... [13:18:45]Read from MH i2c: 01 07 00 83 07 00 00 00 00 00 FF 0F 9F [13:18:45]process_action close_receipt done [13:18:45]requested_data is exist [13:18:45]produce_requested_data [13:18:45]requested_item fm.sn is exist - process it [13:18:45]wFMCommunicate request_size=4 [13:18:45]MH_SAM_APDU [13:18:45]CAPDU: 80 11 00 00 [13:18:45]Write to MH i2c: E2 08 00 84 07 80 11 00 00 00 00 00 00 05 [13:18:45]Write i2c OK [13:18:45]MH_I2C_Read... [13:18:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:45]Read from MH i2c: E2 [13:18:45]MH_I2C_Read... [13:18:45]Read from MH i2c: E2 17 00 [13:18:45]MH_I2C_Read... [13:18:45]Read from MH i2c: E2 17 00 84 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5F [13:18:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:18:45]wFMCommunicate OK [13:18:45]requested_item fd.num is exist - process it [13:18:45]SAM_PROTO_GetFieldsCounters [13:18:45]wFMCommunicate request_size=4 [13:18:45]MH_SAM_APDU [13:18:45]CAPDU: 80 13 00 00 [13:18:45]Write to MH i2c: E2 08 00 85 07 80 13 00 00 00 00 00 00 08 [13:18:45]Write i2c OK [13:18:45]MH_I2C_Read... [13:18:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:18:45]Read from MH i2c: E2 [13:18:45]MH_I2C_Read... [13:18:45]Read from MH i2c: E2 62 00 [13:18:45]MH_I2C_Read... [13:18:45]Read from MH i2c: E2 62 00 85 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CC DD 00 00 0E 04 04 00 EE 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 53 [13:18: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CC DD 00 00 0E 04 04 00 EE 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 [13:18:45]wFMCommunicate OK [13:18:45]SAM_PROTO_GetFieldsCounters done [13:18:45]requested_item shift.num is exist - process it [13:18:45]requested_item shift.opened is exist - process it [13:18:45]req_shift_opened [13:18:45]FM_GetShiftState [13:18:45]SAM_PROTO_GetShiftState [13:18:45]wFMCommunicate request_size=4 [13:18:45]MH_SAM_APDU [13:18:45]CAPDU: 80 13 01 00 [13:18:45]Write to MH i2c: E2 08 00 86 07 80 13 01 00 00 00 00 00 0A [13:18:45]Write i2c OK [13:18:45]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 [13:18:46]MH_I2C_Read... [13:18:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:46]Read from MH i2c: E2 0E 00 [13:18:46]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 0E 00 86 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 0B [13:18:46]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:18:46]wFMCommunicate OK [13:18:46]SAM_PROTO_GetShiftState done [13:18:46]FM_GetShiftState done [13:18:46]req_shift_opened done [13:18:46]requested_item shift.open_date is exist - process it [13:18:46]req_shift_open_date [13:18:46]req_shift_open_date done [13:18:46]requested_item shift.sale.total is exist - process it [13:18:46]SAM_PROTO_GetShiftData [13:18:46]wFMCommunicate request_size=4 [13:18:46]MH_SAM_APDU [13:18:46]CAPDU: 80 13 02 00 [13:18:46]Write to MH i2c: E2 08 00 87 07 80 13 02 00 00 00 00 00 0C [13:18:46]Write i2c OK [13:18:46]MH_I2C_Read... [13:18:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:18:46]Read from MH i2c: E2 [13:18:46]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 FD 00 [13:18:46]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 FD 00 87 07 00 B6 04 AA 04 B2 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 74 7B 14 70 04 03 00 48 49 0F 72 04 03 00 2C 32 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 DE 2C 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 65 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 8E [13:18:46]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 74 7B 14 70 04 03 00 48 49 0F 72 04 03 00 2C 32 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 DE 2C 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 65 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:18:46]wFMCommunicate OK [13:18:46]wFMCommunicate request_size=4 [13:18:46]MH_SAM_APDU [13:18:46]CAPDU: 80 17 00 00 [13:18:46]Write to MH i2c: E2 08 00 88 07 80 17 00 00 00 00 00 00 0F [13:18:46]Write i2c OK [13:18:46]MH_I2C_Read... [13:18:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:46]Read from MH i2c: E2 [13:18:46]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 FD 00 [13:18:46]MH_I2C_Read... [13:18:46]Read from MH i2c: E2 FD 00 88 07 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [13:18:46]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:18:46]wFMCommunicate OK [13:18:46]wFMCommunicate request_size=4 [13:18:46]MH_SAM_APDU [13:18:46]CAPDU: 80 17 00 00 [13:18:46]Write to MH i2c: E2 08 00 89 07 80 17 00 00 00 00 00 00 10 [13:18:46]Write i2c OK [13:18:46]MH_I2C_Read... [13:18:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:47]Read from MH i2c: E2 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 FD 00 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 FD 00 89 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D0 [13:18:47]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:18:47]wFMCommunicate OK [13:18:47]wFMCommunicate request_size=4 [13:18:47]MH_SAM_APDU [13:18:47]CAPDU: 80 17 00 00 [13:18:47]Write to MH i2c: E2 08 00 8A 07 80 17 00 00 00 00 00 00 11 [13:18:47]Write i2c OK [13:18:47]MH_I2C_Read... [13:18:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:18:47]Read from MH i2c: E2 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 FD 00 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 FD 00 8A 07 00 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 90 00 80 [13:18:47]RAPDU: 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 90 00 [13:18:47]wFMCommunicate OK [13:18:47]wFMCommunicate request_size=4 [13:18:47]MH_SAM_APDU [13:18:47]CAPDU: 80 17 00 00 [13:18:47]Write to MH i2c: E2 08 00 8B 07 80 17 00 00 00 00 00 00 12 [13:18:47]Write i2c OK [13:18:47]MH_I2C_Read... [13:18:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:18:47]Read from MH i2c: E2 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 D3 00 [13:18:47]MH_I2C_Read... [13:18:47]Read from MH i2c: E2 D3 00 8B 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FF [13:18:47]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:18:47]wFMCommunicate OK [13:18:47]SAM_PROTO_GetShiftData done [13:18:47]requested_item shift.sale.total_cash is exist - process it [13:18:47]requested_item shift.sale_refund.total is exist - process it [13:18:47]requested_item shift.sale_refund.total_cash is exist - process it [13:18:47]produce_requested_data done [13:18:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56780,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13423.24,"shift.sale.total_cash":10018.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:18:47]process_action_free close_receipt [13:18:47]json_value_free [13:18:47]json_value_free done [13:18:47]process_json_proto returns [13:18:47]Send response to host [13:18:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56780,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13423.24,"shift.sale.total_cash":10018.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:18:47]free response buf [13:18:47]execute_script done [13:18:47]execute_script returns [13:18:47]free content buf [13:18:47]Sock 7.Close socket [13:18:47]Sock 7.Thread stoped [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:35]OFD Sender: No OFD packet to send [13:24:40]OFD Sender: No OFD packet to send [13:24:45]OFD Sender: No OFD packet to send [13:24:50]OFD Sender: No OFD packet to send [13:24:55]OFD Sender: No OFD packet to send [13:25:00]OFD Sender: No OFD packet to send [13:25:05]OFD Sender: No OFD packet to send [13:25:10]OFD Sender: No OFD packet to send [13:25:15]OFD Sender: No OFD packet to send [13:25:20]OFD Sender: No OFD packet to send [13:25:25]OFD Sender: No OFD packet to send [13:25:29]accept exits with 9 [13:25:29]New connection [13:25:29]New thread 3066781028 created [13:25:29]Thread 3066637668 joined [13:25:29]Waiting for new connection... [13:25:29] Sock 9.Parse request [13:25:29]Sock 9.Check first char [13:25:29]Sock 9.First char is OK [13:25:29]request: POST /json_proto HTTP/1.0 [13:25:29]Method: POST [13:25:29]URL: /json_proto [13:25:29]Method is POST - this is cgi request [13:25:29]url: /json_proto [13:25:29]query_string will be loaded in cgi processing [13:25:29]execute_cgi json_proto POST (null) [13:25:29]execute_cgi path=json_proto method=POST [13:25:29]POST find Content-Length [13:25:29]Host: 172.17.39.4:8080 [13:25:29]Content-Length: 748 [13:25:29]Content-Type: application/json [13:25:29] [13:25:29]POST finish read [13:25:29]Found Content-Length = 748 [13:25:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129276", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:25:29]execute_script... [13:25: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)129276", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:25:29]POST & json_proto [13:25:29]process_json_proto [13:25:29]json parsed OK: [13:25:29]protocol is kg_v1.0 [13:25:29]action value=close_receipt [13:25:29]process_action close_receipt [13:25:29]cmd_close_receipt [13:25:29]MH_GetDate [13:25:29]Write to MH i2c: F0 00 00 8C 07 82 [13:25:29]Write i2c OK [13:25:29]MH_I2C_Read... [13:25:29]Read from MH i2c: F0 [13:25:29]MH_I2C_Read... [13:25:29]Read from MH i2c: F0 09 00 [13:25:29]MH_I2C_Read... [13:25:29]Read from MH i2c: F0 09 00 8C 07 00 CB 2E 91 66 2D 25 5D 64 8E [13:25:29]GetLastDocTimeStamp 1720790323 [13:25:29]current date 1720790731 [13:25:29]FM_GetShiftState [13:25:29]SAM_PROTO_GetShiftState [13:25:29]wFMCommunicate request_size=4 [13:25:29]MH_SAM_APDU [13:25:29]CAPDU: 80 13 01 00 [13:25:29]Write to MH i2c: E2 08 00 8D 07 80 13 01 00 00 00 00 00 11 [13:25:29]Write i2c OK [13:25:29]MH_I2C_Read... [13:25:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:29]Read from MH i2c: E2 [13:25:29]MH_I2C_Read... [13:25:29]Read from MH i2c: E2 0E 00 [13:25:29]MH_I2C_Read... [13:25:29]Read from MH i2c: E2 0E 00 8D 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 12 [13:25:29]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:25:29]wFMCommunicate OK [13:25:29]SAM_PROTO_GetShiftState done [13:25:29]FM_GetShiftState done [13:25:29]opened in 1720744326 [13:25:29]opened+sec_in_day 1720830726 [13:25:29]quantity*price = 5000 [13:25:29]sum+1 = 5001 [13:25:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 49 12.07.2024 13:25 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56781 ФПД: 110288582115752 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56781&fm=110288582115752&tin=02508201610067®Number=0000000000091208&sum=5000 0 [13:25:31]StoreToDocumentArchive [13:25:31]shift 494 fd 56781 [13:25:31]save to /storage/0494/doc_00056781 [13:25:31]save last doc name /storage/0494/doc_00056781 to /storage/kkm_last_doc_name [13:25:31]save OK [13:25:31]Clear old archive folders... [13:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:25:31]tlvbuf is 01AFFA60 [13:25:31]SAM_PROTO_ClearQueue [13:25:31]wFMCommunicate request_size=4 [13:25:31]MH_SAM_APDU [13:25:31]CAPDU: 80 09 00 00 [13:25:31]Write to MH i2c: E2 08 00 9A 07 80 09 00 00 00 00 00 00 13 [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 9A 07 00 90 00 15 [13:25:31]RAPDU: 90 00 [13:25:31]wFMCommunicate OK [13:25:31]SAM_PROTO_ClearQueue done [13:25:31]KKMCreateOFDPacket [13:25:31]OFDProtocolAddRootSTLVToBuf [13:25:31]FM_MakeSignedData [13:25:31]FM_MakeSignedData [13:25:31]SAM_PROTO_SignData [13:25:31]wFMCommunicate request_size=4 [13:25:31]MH_SAM_APDU [13:25:31]CAPDU: 80 0D 01 02 [13:25:31]Write to MH i2c: E2 08 00 9B 07 80 0D 01 02 00 00 00 00 1B [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 9B 07 00 90 00 16 [13:25:31]RAPDU: 90 00 [13:25:31]wFMCommunicate OK [13:25:31]wFMCommunicate request_size=255 [13:25:31]MH_SAM_APDU [13:25:31]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 31 00 00 00 F4 03 04 00 CC 2E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [13:25:31]Write to MH i2c: E2 02 01 9C 07 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 31 00 00 00 F4 03 04 00 CC 2E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 88 [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 9C 07 00 90 00 17 [13:25:31]RAPDU: 90 00 [13:25:31]wFMCommunicate OK [13:25:31]wFMCommunicate request_size=34 [13:25:31]MH_SAM_APDU [13:25:31]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DD 00 00 35 04 06 00 64 4E 8F C2 81 A8 [13:25:31]Write to MH i2c: E2 25 00 9D 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DD 00 00 35 04 06 00 64 4E 8F C2 81 A8 00 00 BC [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 03 00 9D 07 00 90 00 18 [13:25:31]RAPDU: 90 00 [13:25:31]wFMCommunicate OK [13:25:31]wFMCommunicate request_size=4 [13:25:31]MH_SAM_APDU [13:25:31]CAPDU: 80 0D 03 02 [13:25:31]Write to MH i2c: E2 08 00 9E 07 80 0D 03 02 00 00 00 00 20 [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 0B 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 0B 00 9E 07 00 E7 D5 E5 C6 A2 0E 27 B1 90 00 10 [13:25:31]RAPDU: E7 D5 E5 C6 A2 0E 27 B1 90 00 [13:25:31]wFMCommunicate OK [13:25:31]SAM_PROTO_SignData done [13:25:31]FM_MakeSignedData done [13:25:31]CreateOFDProtocolMessage [13:25:31]wFMCommunicate request_size=4 [13:25:31]MH_SAM_APDU [13:25:31]CAPDU: 80 11 00 00 [13:25:31]Write to MH i2c: E2 08 00 9F 07 80 11 00 00 00 00 00 00 20 [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:31]Read from MH i2c: E2 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 17 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: E2 17 00 9F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7A [13:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:25:31]wFMCommunicate OK [13:25:31]CreateOFDProtocolMessage done [13:25:31]OFDSenderStorePacket 56781 [13:25:31]StoreOFDPacket docnum=56781 [13:25:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 88 FE 1F 01 E1 F6 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 31 00 00 00 F4 03 04 00 CC 2E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DD 00 00 35 04 06 00 64 4E 8F C2 81 A8 E7 D5 E5 C6 A2 0E 27 B1 [13:25:31]CheckFolder [13:25:31]dirname=/storage/ofd_packets [13:25:31]CheckFolder done [13:25:31]ProducePacketName [13:25:31]name=ofd_packets/00056781 [13:25:31]NVStorageSaveData ofd_packets/00056781 [13:25:31]File name is /storage/ofd_packets/00056781 [13:25:31]Write 325 bytes [13:25:31]NVStorageSaveData done [13:25:31]OFDSenderStorePacket done [13:25:31]KKMCreateOFDPacket done [13:25:31]NVStorageSaveData kkm_last_timestamp [13:25:31]File name is /storage/kkm_last_timestamp [13:25:31]Write 4 bytes [13:25:31]NVStorageSaveData done [13:25:31]OFD Sender: Processing packet 56781 [packets to send 38, broken 37] [13:25:31]ProducePacketName [13:25:31]name=ofd_packets/00056781 [13:25:31]OFD Sender: To server: pG, [13:25:31]CommunicateWithHost lk.salyk.kg:30040 [13:25:31]ConnectInit lk.salyk.kg [13:25:31]ExternCall_PrintAddStr [13:25:31]wPrintStart [13:25:31]Write to MH i2c: 01 00 00 A0 07 A7 [13:25:31]Write i2c OK [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: 01 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: 01 07 00 [13:25:31]MH_I2C_Read... [13:25:31]Read from MH i2c: 01 07 00 A0 07 00 00 00 00 00 FF 0F BC [13:25:31]RasterBufferAndPrint [13:25:31]line Счет N : (3)129276 [13:25:31]line ИНН: 02508201610067 [13:25:31]line Контрольно-Кассовый Чек [13:25:31]line ПРОДАЖА [13:25:31]line Товар: 5449000005489 [13:25:31]line Вода Бонаква 1л б/г [13:25:31]line 1.000 * 50.00 [13:25:31]line = 50.00 [13:25:31]line НДС 12% НСП 1% [13:25:31]line > о реализуемом товаре [13:25:31]line ИТОГО: 50.00 [13:25:31]line НСП 1% : 0.44 [13:25:31]line НДС 12% : 5.31 [13:25:31]line Наличными: 50.00 [13:25:31]line Безнал.: 0.00 [13:25:31]line Место: АЗС № 132 "Партнер Нефть" [13:25:31]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:25:31]line СНО: Общий режим [13:25:31]line Чек 49 12.07.2024 13:25 [13:25:31]line Смена: 494 ФФД: 1.0 [13:25:31]line ЗНМ: 0300000132 [13:25:31]line РНМ: 0000000000091208 [13:25:31]line Версия ККМ: 001 [13:25:31]line ФМ: 0000000000874857 [13:25:31]line ФД: 56781 [13:25:31]line ФПД: 110288582115752 [13:25:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56781&fm=110288582115752&tin=02508201610067®Number=0000000000091208&sum=5000 [13:25:31]line 0 [13:25:31]Connected sock=11 [13:25: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 38 35 37 27 01 00 00 88 FE 1F 01 E1 F6 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 31 00 00 00 F4 03 04 00 CC 2E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DD 00 00 35 04 06 00 64 4E 8F C2 81 A8 E7 D5 E5 C6 A2 0E 27 B1 [13:25:31]written 0, free lines is 4095 [13:25:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F0 A4 47 00 88 12 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 38 35 37 10 04 04 00 CD DD 00 00 F4 03 04 00 23 D5 90 66 B6 04 01 00 00 D3 7A 4D 9A 33 F8 49 4E [13:25:32]CommunicateWithHost err = 0 [13:25:32]CheckOFDResponse [13:25:32]1017 (14) - 77093643461234 [13:25:32]1041 (16) - 0000000000874857 [13:25:32]1040 (4) - 56781 [13:25:32]1012 (4) - 12.07.2024 07:02 [13:25:32]1206 (1) - 0 [13:25:32]OFD Sender: Remove packet 56781 [13:25:32]ProducePacketName [13:25:32]name=ofd_packets/00056781 [13:25:32]NVStorageDeleteData [13:25:32]Write to MH i2c: 01 00 00 C8 07 CF [13:25:32]Write i2c OK [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: 01 [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: 01 07 00 [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: 01 07 00 C8 07 00 00 00 00 00 0B 0D EE [13:25:32]RasterBufferAndPrint [13:25:32]line [13:25:32]line [13:25:32]line [13:25:32]line [13:25:32]line [13:25:32]written 0, free lines is 3348 [13:25:32]MH_Cut [13:25:32]Write to MH i2c: D1 01 00 CF 07 01 A8 [13:25:32]Write i2c OK [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: D1 [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: D1 01 00 [13:25:32]MH_I2C_Read... [13:25:32]Read from MH i2c: D1 01 00 CF 07 00 A7 [13:25:32]Write to MH i2c: 01 00 00 D0 07 D7 [13:25:32]Write i2c OK [13:25:32]MH_I2C_Read... [13:25:32]OFD Sender: No OFD packet to send [13:25:33]*** Cut start [13:25:33]*** Partial cut [13:25:33]*** CUTSNS_PIN = 1 [13:25:33]*** CUTSNS_PIN = 0 [13:25:33]*** Brake cut motor [13:25:33]Read from MH i2c: 01 [13:25:33]MH_I2C_Read... [13:25:33]*** Stop cut motor [13:25:33]*** Cut end [13:25:33]Read from MH i2c: 01 07 00 [13:25:33]MH_I2C_Read... [13:25:33]Read from MH i2c: 01 07 00 D0 07 00 00 00 00 00 FF 0F EC [13:25:33]process_action close_receipt done [13:25:33]requested_data is exist [13:25:33]produce_requested_data [13:25:33]requested_item fm.sn is exist - process it [13:25:33]wFMCommunicate request_size=4 [13:25:33]MH_SAM_APDU [13:25:33]CAPDU: 80 11 00 00 [13:25:33]Write to MH i2c: E2 08 00 D1 07 80 11 00 00 00 00 00 00 52 [13:25:33]Write i2c OK [13:25:33]MH_I2C_Read... [13:25:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:33]Read from MH i2c: E2 [13:25:33]MH_I2C_Read... [13:25:33]Read from MH i2c: E2 17 00 [13:25:33]MH_I2C_Read... [13:25:33]Read from MH i2c: E2 17 00 D1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AC [13:25:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:25:33]wFMCommunicate OK [13:25:33]requested_item fd.num is exist - process it [13:25:33]SAM_PROTO_GetFieldsCounters [13:25:33]wFMCommunicate request_size=4 [13:25:33]MH_SAM_APDU [13:25:33]CAPDU: 80 13 00 00 [13:25:33]Write to MH i2c: E2 08 00 D2 07 80 13 00 00 00 00 00 00 55 [13:25:33]Write i2c OK [13:25:33]MH_I2C_Read... [13:25:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:33]Read from MH i2c: E2 [13:25:33]MH_I2C_Read... [13:25:33]Read from MH i2c: E2 62 00 [13:25:33]MH_I2C_Read... [13:25:33]Read from MH i2c: E2 62 00 D2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CD DD 00 00 0E 04 04 00 EE 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 A4 [13:25: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CD DD 00 00 0E 04 04 00 EE 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 [13:25:33]wFMCommunicate OK [13:25:33]SAM_PROTO_GetFieldsCounters done [13:25:33]requested_item shift.num is exist - process it [13:25:33]requested_item shift.opened is exist - process it [13:25:33]req_shift_opened [13:25:33]FM_GetShiftState [13:25:33]SAM_PROTO_GetShiftState [13:25:33]wFMCommunicate request_size=4 [13:25:33]MH_SAM_APDU [13:25:33]CAPDU: 80 13 01 00 [13:25:33]Write to MH i2c: E2 08 00 D3 07 80 13 01 00 00 00 00 00 57 [13:25:33]Write i2c OK [13:25:33]MH_I2C_Read... [13:25:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:33]Read from MH i2c: E2 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 0E 00 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 0E 00 D3 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 58 [13:25:34]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:25:34]wFMCommunicate OK [13:25:34]SAM_PROTO_GetShiftState done [13:25:34]FM_GetShiftState done [13:25:34]req_shift_opened done [13:25:34]requested_item shift.open_date is exist - process it [13:25:34]req_shift_open_date [13:25:34]req_shift_open_date done [13:25:34]requested_item shift.sale.total is exist - process it [13:25:34]SAM_PROTO_GetShiftData [13:25:34]wFMCommunicate request_size=4 [13:25:34]MH_SAM_APDU [13:25:34]CAPDU: 80 13 02 00 [13:25:34]Write to MH i2c: E2 08 00 D4 07 80 13 02 00 00 00 00 00 59 [13:25:34]Write i2c OK [13:25:34]MH_I2C_Read... [13:25:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:25:34]Read from MH i2c: E2 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 FD 00 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 FD 00 D4 07 00 B6 04 AA 04 B2 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 FC 8E 14 70 04 03 00 D0 5C 0F 72 04 03 00 2C 32 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 F1 2E 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 91 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 54 [13:25:34]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 FC 8E 14 70 04 03 00 D0 5C 0F 72 04 03 00 2C 32 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 F1 2E 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 91 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:25:34]wFMCommunicate OK [13:25:34]wFMCommunicate request_size=4 [13:25:34]MH_SAM_APDU [13:25:34]CAPDU: 80 17 00 00 [13:25:34]Write to MH i2c: E2 08 00 D5 07 80 17 00 00 00 00 00 00 5C [13:25:34]Write i2c OK [13:25:34]MH_I2C_Read... [13:25:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:34]Read from MH i2c: E2 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 FD 00 [13:25:34]MH_I2C_Read... [13:25:34]Read from MH i2c: E2 FD 00 D5 07 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [13:25:34]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:25:34]wFMCommunicate OK [13:25:34]wFMCommunicate request_size=4 [13:25:34]MH_SAM_APDU [13:25:34]CAPDU: 80 17 00 00 [13:25:34]Write to MH i2c: E2 08 00 D6 07 80 17 00 00 00 00 00 00 5D [13:25:34]Write i2c OK [13:25:34]MH_I2C_Read... [13:25:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:35]Read from MH i2c: E2 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 FD 00 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 FD 00 D6 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [13:25:35]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:25:35]wFMCommunicate OK [13:25:35]wFMCommunicate request_size=4 [13:25:35]MH_SAM_APDU [13:25:35]CAPDU: 80 17 00 00 [13:25:35]Write to MH i2c: E2 08 00 D7 07 80 17 00 00 00 00 00 00 5E [13:25:35]Write i2c OK [13:25:35]MH_I2C_Read... [13:25:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:35]Read from MH i2c: E2 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 FD 00 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 FD 00 D7 07 00 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 90 00 CD [13:25:35]RAPDU: 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 90 00 [13:25:35]wFMCommunicate OK [13:25:35]wFMCommunicate request_size=4 [13:25:35]MH_SAM_APDU [13:25:35]CAPDU: 80 17 00 00 [13:25:35]Write to MH i2c: E2 08 00 D8 07 80 17 00 00 00 00 00 00 5F [13:25:35]Write i2c OK [13:25:35]MH_I2C_Read... [13:25:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:25:35]Read from MH i2c: E2 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 D3 00 [13:25:35]MH_I2C_Read... [13:25:35]Read from MH i2c: E2 D3 00 D8 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:25:35]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:25:35]wFMCommunicate OK [13:25:35]SAM_PROTO_GetShiftData done [13:25:35]requested_item shift.sale.total_cash is exist - process it [13:25:35]requested_item shift.sale_refund.total is exist - process it [13:25:35]requested_item shift.sale_refund.total_cash is exist - process it [13:25:35]produce_requested_data done [13:25:35]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56781,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13473.24,"shift.sale.total_cash":10068.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:25:35]process_action_free close_receipt [13:25:35]json_value_free [13:25:35]json_value_free done [13:25:35]process_json_proto returns [13:25:35]Send response to host [13:25:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56781,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13473.24,"shift.sale.total_cash":10068.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:25:35]free response buf [13:25:35]execute_script done [13:25:35]execute_script returns [13:25:35]free content buf [13:25:35]Sock 9.Close socket [13:25:35]Sock 9.Thread stoped [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:40]accept exits with 7 [13:28:40]New connection [13:28:40]New thread 3066637668 created [13:28:40]Thread 3066781028 joined [13:28:40]Waiting for new connection... [13:28:40] Sock 7.Parse request [13:28:40]Sock 7.Check first char [13:28:40]Sock 7.First char is OK [13:28:40]request: POST /json_proto HTTP/1.0 [13:28:40]Method: POST [13:28:40]URL: /json_proto [13:28:40]Method is POST - this is cgi request [13:28:40]url: /json_proto [13:28:40]query_string will be loaded in cgi processing [13:28:40]execute_cgi json_proto POST (null) [13:28:40]execute_cgi path=json_proto method=POST [13:28:40]POST find Content-Length [13:28:40]Host: 172.17.39.4:8080 [13:28:40]Content-Length: 781 [13:28:40]Content-Type: application/json [13:28:40] [13:28:40]POST finish read [13:28:40]Found Content-Length = 781 [13:28:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:28:40]execute_script... [13:28: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 : (1)854201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:28:40]POST & json_proto [13:28:40]process_json_proto [13:28:40]json parsed OK: [13:28:40]protocol is kg_v1.0 [13:28:40]action value=close_receipt [13:28:40]process_action close_receipt [13:28:40]cmd_close_receipt [13:28:40]MH_GetDate [13:28:40]Write to MH i2c: F0 00 00 D9 07 CF [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: F0 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: F0 09 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: F0 09 00 D9 07 00 8B 2F 91 66 2D 25 5D 64 9C [13:28:40]GetLastDocTimeStamp 1720790732 [13:28:40]current date 1720790923 [13:28:40]FM_GetShiftState [13:28:40]SAM_PROTO_GetShiftState [13:28:40]wFMCommunicate request_size=4 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 13 01 00 [13:28:40]Write to MH i2c: E2 08 00 DA 07 80 13 01 00 00 00 00 00 5E [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:41]Read from MH i2c: E2 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: E2 0E 00 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: E2 0E 00 DA 07 00 09 00 01 86 79 90 66 00 00 00 00 90 00 5F [13:28:41]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:28:41]wFMCommunicate OK [13:28:41]SAM_PROTO_GetShiftState done [13:28:41]FM_GetShiftState done [13:28:41]opened in 1720744326 [13:28:41]opened+sec_in_day 1720830726 [13:28:41]quantity*price = 40045 [13:28:41]sum+1 = 40046 [13:28:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 50 12.07.2024 13:28 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56782 ФПД: 202541529891232 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56782&fm=202541529891232&tin=02508201610067®Number=0000000000091208&sum=40000 [13:28:42]StoreToDocumentArchive [13:28:42]shift 494 fd 56782 [13:28:42]save to /storage/0494/doc_00056782 [13:28:42]save last doc name /storage/0494/doc_00056782 to /storage/kkm_last_doc_name [13:28:42]save OK [13:28:42]Clear old archive folders... [13:28:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:28:42]tlvbuf is 01AF6920 [13:28:42]SAM_PROTO_ClearQueue [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 09 00 00 [13:28:42]Write to MH i2c: E2 08 00 E7 07 80 09 00 00 00 00 00 00 60 [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 E7 07 00 90 00 62 [13:28:42]RAPDU: 90 00 [13:28:42]wFMCommunicate OK [13:28:42]SAM_PROTO_ClearQueue done [13:28:42]KKMCreateOFDPacket [13:28:42]OFDProtocolAddRootSTLVToBuf [13:28:42]FM_MakeSignedData [13:28:42]FM_MakeSignedData [13:28:42]SAM_PROTO_SignData [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 0D 01 02 [13:28:42]Write to MH i2c: E2 08 00 E8 07 80 0D 01 02 00 00 00 00 68 [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 E8 07 00 90 00 63 [13:28:42]RAPDU: 90 00 [13:28:42]wFMCommunicate OK [13:28:42]wFMCommunicate request_size=255 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 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 8B 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DD 00 00 35 04 06 00 B8 [13:28:42]Write to MH i2c: E2 02 01 E9 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 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 8B 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DD 00 00 35 04 06 00 B8 00 00 28 [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 E9 07 00 90 00 64 [13:28:42]RAPDU: 90 00 [13:28:42]wFMCommunicate OK [13:28:42]wFMCommunicate request_size=10 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 0D 02 02 05 35 DF F1 01 A0 [13:28:42]Write to MH i2c: E2 0D 00 EA 07 80 0D 02 02 05 00 35 DF F1 01 A0 00 00 1B [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 03 00 EA 07 00 90 00 65 [13:28:42]RAPDU: 90 00 [13:28:42]wFMCommunicate OK [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 0D 03 02 [13:28:42]Write to MH i2c: E2 08 00 EB 07 80 0D 03 02 00 00 00 00 6D [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 0B 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 0B 00 EB 07 00 64 85 D1 60 DD 8C 51 F9 90 00 3B [13:28:42]RAPDU: 64 85 D1 60 DD 8C 51 F9 90 00 [13:28:42]wFMCommunicate OK [13:28:42]SAM_PROTO_SignData done [13:28:42]FM_MakeSignedData done [13:28:42]CreateOFDProtocolMessage [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 11 00 00 [13:28:42]Write to MH i2c: E2 08 00 EC 07 80 11 00 00 00 00 00 00 6D [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 17 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 17 00 EC 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C7 [13:28:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:28:42]wFMCommunicate OK [13:28:42]CreateOFDProtocolMessage done [13:28:42]OFDSenderStorePacket 56782 [13:28:42]StoreOFDPacket docnum=56782 [13:28:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 D7 B5 07 01 13 FE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 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 8B 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DD 00 00 35 04 06 00 B8 35 DF F1 01 A0 64 85 D1 60 DD 8C 51 F9 [13:28:42]CheckFolder [13:28:42]dirname=/storage/ofd_packets [13:28:42]CheckFolder done [13:28:42]ProducePacketName [13:28:42]name=ofd_packets/00056782 [13:28:42]NVStorageSaveData ofd_packets/00056782 [13:28:42]File name is /storage/ofd_packets/00056782 [13:28:42]Write 301 bytes [13:28:42]NVStorageSaveData done [13:28:42]OFDSenderStorePacket done [13:28:42]KKMCreateOFDPacket done [13:28:42]NVStorageSaveData kkm_last_timestamp [13:28:42]File name is /storage/kkm_last_timestamp [13:28:42]Write 4 bytes [13:28:42]NVStorageSaveData done [13:28:42]ExternCall_PrintAddStr [13:28:42]wPrintStart [13:28:42]Write to MH i2c: 01 00 00 ED 07 F4 [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: 01 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: 01 07 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: 01 07 00 ED 07 00 00 00 00 00 FF 0F 09 [13:28:42]RasterBufferAndPrint [13:28:42]line Счет N : (1)854201 [13:28:42]line ИНН: 02508201610067 [13:28:42]line Контрольно-Кассовый Чек [13:28:42]line ПРОДАЖА [13:28:42]line ТРК (МРК, ГНК) : 63 [13:28:42]line Товар: 2710124130 [13:28:42]line Аи-92-К-5 [13:28:42]line 6.040 * 66.30 [13:28:42]line = 400.45 [13:28:42]line НДС 12% НСП 1% [13:28:42]line > о реализуемом товаре [13:28:42]line ОКРУГЛЕНИЕ: -0.45 [13:28:42]line ИТОГО: 400.00 [13:28:42]line Внесено: 400.00 [13:28:42]line СДАЧА: 0.00 [13:28:42]line НСП 1% : 3.54 [13:28:42]line НДС 12% : 42.53 [13:28:42]line Наличными: 400.00 [13:28:42]line Безнал.: 0.00 [13:28:42]line Место: АЗС № 132 "Партнер Нефть" [13:28:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:28:42]line СНО: Общий режим [13:28:42]line Чек 50 12.07.2024 13:28 [13:28:42]line Смена: 494 ФФД: 1.0 [13:28:42]line ЗНМ: 0300000132 [13:28:42]line РНМ: 0000000000091208 [13:28:42]line Версия ККМ: 001 [13:28:42]line ФМ: 0000000000874857 [13:28:42]line ФД: 56782 [13:28:42]line ФПД: 202541529891232 [13:28:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132843&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56782&fm=202541529891232&tin=02508201610067®Number=0000000000091208&sum=40000 [13:28:43]written 0, free lines is 4095 [13:28:43]OFD Sender: Processing packet 56782 [packets to send 38, broken 37] [13:28:43]ProducePacketName [13:28:43]name=ofd_packets/00056782 [13:28:43]OFD Sender: To server: pG, [13:28:43]CommunicateWithHost lk.salyk.kg:30040 [13:28:43]ConnectInit lk.salyk.kg [13:28:43]Connected sock=10 [13:28: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 38 35 37 0F 01 00 00 D7 B5 07 01 13 FE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 10 00 00 00 00 07 04 06 00 40 9C 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 8B 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DD 00 00 35 04 06 00 B8 35 DF F1 01 A0 64 85 D1 60 DD 8C 51 F9 [13:28:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 FF 4F 47 00 C6 9C 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 38 35 37 10 04 04 00 CE DD 00 00 F4 03 04 00 E2 D5 90 66 B6 04 01 00 00 6F DF 8A 8C 25 16 FF D2 [13:28:43]CommunicateWithHost err = 0 [13:28:43]CheckOFDResponse [13:28:43]1017 (14) - 77093643461234 [13:28:43]1041 (16) - 0000000000874857 [13:28:43]1040 (4) - 56782 [13:28:43]1012 (4) - 12.07.2024 07:06 [13:28:43]1206 (1) - 0 [13:28:43]OFD Sender: Remove packet 56782 [13:28:43]ProducePacketName [13:28:43]name=ofd_packets/00056782 [13:28:43]NVStorageDeleteData [13:28:43]Write to MH i2c: 01 00 00 18 08 20 [13:28:43]Write i2c OK [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: 01 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: 01 07 00 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: 01 07 00 18 08 00 00 00 00 00 EA 0C 1D [13:28:43]RasterBufferAndPrint [13:28:43]line [13:28:43]line [13:28:43]line [13:28:43]line [13:28:43]line [13:28:43]written 0, free lines is 3312 [13:28:43]MH_Cut [13:28:43]Write to MH i2c: D1 01 00 1F 08 01 F9 [13:28:43]Write i2c OK [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: D1 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: D1 01 00 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: D1 01 00 1F 08 00 F8 [13:28:43]Write to MH i2c: 01 00 00 20 08 28 [13:28:43]Write i2c OK [13:28:43]MH_I2C_Read... [13:28:43]OFD Sender: No OFD packet to send [13:28:44]*** Cut start [13:28:44]*** Partial cut [13:28:44]*** CUTSNS_PIN = 1 [13:28:44]*** CUTSNS_PIN = 0 [13:28:44]*** Brake cut motor [13:28:44]Read from MH i2c: 01 [13:28:44]MH_I2C_Read... [13:28:44]*** Stop cut motor [13:28:44]*** Cut end [13:28:44]Read from MH i2c: 01 07 00 [13:28:44]MH_I2C_Read... [13:28:44]Read from MH i2c: 01 07 00 20 08 00 00 00 00 00 FF 0F 3D [13:28:44]process_action close_receipt done [13:28:44]requested_data is exist [13:28:44]produce_requested_data [13:28:44]requested_item fm.sn is exist - process it [13:28:44]wFMCommunicate request_size=4 [13:28:44]MH_SAM_APDU [13:28:44]CAPDU: 80 11 00 00 [13:28:44]Write to MH i2c: E2 08 00 21 08 80 11 00 00 00 00 00 00 A3 [13:28:44]Write i2c OK [13:28:44]MH_I2C_Read... [13:28:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:44]Read from MH i2c: E2 [13:28:44]MH_I2C_Read... [13:28:44]Read from MH i2c: E2 17 00 [13:28:44]MH_I2C_Read... [13:28:44]Read from MH i2c: E2 17 00 21 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FD [13:28:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:28:44]wFMCommunicate OK [13:28:44]requested_item fd.num is exist - process it [13:28:44]SAM_PROTO_GetFieldsCounters [13:28:44]wFMCommunicate request_size=4 [13:28:44]MH_SAM_APDU [13:28:44]CAPDU: 80 13 00 00 [13:28:44]Write to MH i2c: E2 08 00 22 08 80 13 00 00 00 00 00 00 A6 [13:28:44]Write i2c OK [13:28:44]MH_I2C_Read... [13:28:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:45]Read from MH i2c: E2 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 62 00 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 62 00 22 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CE DD 00 00 0E 04 04 00 EE 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 F9 [13:28: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CE DD 00 00 0E 04 04 00 EE 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 [13:28:45]wFMCommunicate OK [13:28:45]SAM_PROTO_GetFieldsCounters done [13:28:45]requested_item shift.num is exist - process it [13:28:45]requested_item shift.opened is exist - process it [13:28:45]req_shift_opened [13:28:45]FM_GetShiftState [13:28:45]SAM_PROTO_GetShiftState [13:28:45]wFMCommunicate request_size=4 [13:28:45]MH_SAM_APDU [13:28:45]CAPDU: 80 13 01 00 [13:28:45]Write to MH i2c: E2 08 00 23 08 80 13 01 00 00 00 00 00 A8 [13:28:45]Write i2c OK [13:28:45]MH_I2C_Read... [13:28:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:45]Read from MH i2c: E2 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 0E 00 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 0E 00 23 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 A9 [13:28:45]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:28:45]wFMCommunicate OK [13:28:45]SAM_PROTO_GetShiftState done [13:28:45]FM_GetShiftState done [13:28:45]req_shift_opened done [13:28:45]requested_item shift.open_date is exist - process it [13:28:45]req_shift_open_date [13:28:45]req_shift_open_date done [13:28:45]requested_item shift.sale.total is exist - process it [13:28:45]SAM_PROTO_GetShiftData [13:28:45]wFMCommunicate request_size=4 [13:28:45]MH_SAM_APDU [13:28:45]CAPDU: 80 13 02 00 [13:28:45]Write to MH i2c: E2 08 00 24 08 80 13 02 00 00 00 00 00 AA [13:28:45]Write i2c OK [13:28:45]MH_I2C_Read... [13:28:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:28:45]Read from MH i2c: E2 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 FD 00 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 FD 00 24 08 00 B6 04 AA 04 B2 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 3C 2B 15 70 04 03 00 10 F9 0F 72 04 03 00 2C 32 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 8E 3F 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 F3 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 73 [13:28:45]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 3C 2B 15 70 04 03 00 10 F9 0F 72 04 03 00 2C 32 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 8E 3F 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 F3 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:28:45]wFMCommunicate OK [13:28:45]wFMCommunicate request_size=4 [13:28:45]MH_SAM_APDU [13:28:45]CAPDU: 80 17 00 00 [13:28:45]Write to MH i2c: E2 08 00 25 08 80 17 00 00 00 00 00 00 AD [13:28:45]Write i2c OK [13:28:45]MH_I2C_Read... [13:28:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:45]Read from MH i2c: E2 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 FD 00 [13:28:45]MH_I2C_Read... [13:28:45]Read from MH i2c: E2 FD 00 25 08 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EC [13:28:45]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:45]wFMCommunicate OK [13:28:45]wFMCommunicate request_size=4 [13:28:45]MH_SAM_APDU [13:28:45]CAPDU: 80 17 00 00 [13:28:45]Write to MH i2c: E2 08 00 26 08 80 17 00 00 00 00 00 00 AE [13:28:45]Write i2c OK [13:28:45]MH_I2C_Read... [13:28:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:46]Read from MH i2c: E2 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 FD 00 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 FD 00 26 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6E [13:28:46]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:46]wFMCommunicate OK [13:28:46]wFMCommunicate request_size=4 [13:28:46]MH_SAM_APDU [13:28:46]CAPDU: 80 17 00 00 [13:28:46]Write to MH i2c: E2 08 00 27 08 80 17 00 00 00 00 00 00 AF [13:28:46]Write i2c OK [13:28:46]MH_I2C_Read... [13:28:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:46]Read from MH i2c: E2 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 FD 00 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 FD 00 27 08 00 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 90 00 1E [13:28:46]RAPDU: 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 90 00 [13:28:46]wFMCommunicate OK [13:28:46]wFMCommunicate request_size=4 [13:28:46]MH_SAM_APDU [13:28:46]CAPDU: 80 17 00 00 [13:28:46]Write to MH i2c: E2 08 00 28 08 80 17 00 00 00 00 00 00 B0 [13:28:46]Write i2c OK [13:28:46]MH_I2C_Read... [13:28:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:28:46]Read from MH i2c: E2 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 D3 00 [13:28:46]MH_I2C_Read... [13:28:46]Read from MH i2c: E2 D3 00 28 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9D [13:28:46]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:46]wFMCommunicate OK [13:28:46]SAM_PROTO_GetShiftData done [13:28:46]requested_item shift.sale.total_cash is exist - process it [13:28:46]requested_item shift.sale_refund.total is exist - process it [13:28:46]requested_item shift.sale_refund.total_cash is exist - process it [13:28:46]produce_requested_data done [13:28:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56782,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13873.24,"shift.sale.total_cash":10468.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:28:46]process_action_free close_receipt [13:28:46]json_value_free [13:28:46]json_value_free done [13:28:46]process_json_proto returns [13:28:46]Send response to host [13:28:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56782,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13873.24,"shift.sale.total_cash":10468.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:28:46]free response buf [13:28:46]execute_script done [13:28:46]execute_script returns [13:28:46]free content buf [13:28:46]Sock 7.Close socket [13:28:46]Sock 7.Thread stoped [13:28:48]OFD Sender: No OFD packet to send [13:28:51]accept exits with 9 [13:28:51]New connection [13:28:51]New thread 3066781028 created [13:28:51]Thread 3066637668 joined [13:28:51]Waiting for new connection... [13:28:51] Sock 9.Parse request [13:28:51]Sock 9.Check first char [13:28:51]Sock 9.First char is OK [13:28:51]request: POST /json_proto HTTP/1.0 [13:28:51]Method: POST [13:28:51]URL: /json_proto [13:28:51]Method is POST - this is cgi request [13:28:51]url: /json_proto [13:28:51]query_string will be loaded in cgi processing [13:28:51]execute_cgi json_proto POST (null) [13:28:51]execute_cgi path=json_proto method=POST [13:28:51]POST find Content-Length [13:28:51]Host: 172.17.39.4:8080 [13:28:51]Content-Length: 748 [13:28:51]Content-Type: application/json [13:28:51] [13:28:51]POST finish read [13:28:51]Found Content-Length = 748 [13:28:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129277", "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 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:28:51]execute_script... [13:28: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)129277", "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 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:28:51]POST & json_proto [13:28:51]process_json_proto [13:28:51]json parsed OK: [13:28:51]protocol is kg_v1.0 [13:28:51]action value=close_receipt [13:28:51]process_action close_receipt [13:28:51]cmd_close_receipt [13:28:51]MH_GetDate [13:28:51]Write to MH i2c: F0 00 00 29 08 20 [13:28:51]Write i2c OK [13:28:51]MH_I2C_Read... [13:28:51]Read from MH i2c: F0 [13:28:51]MH_I2C_Read... [13:28:51]Read from MH i2c: F0 09 00 [13:28:51]MH_I2C_Read... [13:28:51]Read from MH i2c: F0 09 00 29 08 00 95 2F 91 66 2D 25 5D 64 F7 [13:28:51]GetLastDocTimeStamp 1720790923 [13:28:51]current date 1720790933 [13:28:51]FM_GetShiftState [13:28:51]SAM_PROTO_GetShiftState [13:28:51]wFMCommunicate request_size=4 [13:28:51]MH_SAM_APDU [13:28:51]CAPDU: 80 13 01 00 [13:28:51]Write to MH i2c: E2 08 00 2A 08 80 13 01 00 00 00 00 00 AF [13:28:51]Write i2c OK [13:28:51]MH_I2C_Read... [13:28:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:51]Read from MH i2c: E2 [13:28:51]MH_I2C_Read... [13:28:51]Read from MH i2c: E2 0E 00 [13:28:51]MH_I2C_Read... [13:28:51]Read from MH i2c: E2 0E 00 2A 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 B0 [13:28:51]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:28:51]wFMCommunicate OK [13:28:51]SAM_PROTO_GetShiftState done [13:28:51]FM_GetShiftState done [13:28:51]opened in 1720744326 [13:28:51]opened+sec_in_day 1720830726 [13:28:51]quantity*price = 11500 [13:28:51]sum+1 = 11501 [13:28:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 51 12.07.2024 13:28 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56783 ФПД: 21869560310949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56783&fm=21869560310949&tin=02508201610067®Number=0000000000091208&sum=11500 0 [13:28:53]StoreToDocumentArchive [13:28:53]shift 494 fd 56783 [13:28:53]save to /storage/0494/doc_00056783 [13:28:53]save last doc name /storage/0494/doc_00056783 to /storage/kkm_last_doc_name [13:28:53]save OK [13:28:53]Clear old archive folders... [13:28:53]ProcessDocumentItem done err = 0, tmpTLVsize=280 [13:28:53]tlvbuf is 01AC7DB0 [13:28:53]SAM_PROTO_ClearQueue [13:28:53]wFMCommunicate request_size=4 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 09 00 00 [13:28:53]Write to MH i2c: E2 08 00 37 08 80 09 00 00 00 00 00 00 B1 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 37 08 00 90 00 B3 [13:28:53]RAPDU: 90 00 [13:28:53]wFMCommunicate OK [13:28:53]SAM_PROTO_ClearQueue done [13:28:53]KKMCreateOFDPacket [13:28:53]OFDProtocolAddRootSTLVToBuf [13:28:53]FM_MakeSignedData [13:28:53]FM_MakeSignedData [13:28:53]SAM_PROTO_SignData [13:28:53]wFMCommunicate request_size=4 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 0D 01 02 [13:28:53]Write to MH i2c: E2 08 00 38 08 80 0D 01 02 00 00 00 00 B9 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 38 08 00 90 00 B4 [13:28:53]RAPDU: 90 00 [13:28:53]wFMCommunicate OK [13:28:53]wFMCommunicate request_size=255 [13:28:53]MH_SAM_APDU [13:28:53]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 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 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 96 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [13:28:53]Write to MH i2c: E2 02 01 39 08 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 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 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 96 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 D2 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 39 08 00 90 00 B5 [13:28:53]RAPDU: 90 00 [13:28:53]wFMCommunicate OK [13:28:53]wFMCommunicate request_size=39 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DD 00 00 35 04 06 00 13 E3 E7 5F AC A5 [13:28:53]Write to MH i2c: E2 2A 00 3A 08 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DD 00 00 35 04 06 00 13 E3 E7 5F AC A5 00 00 B7 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 03 00 3A 08 00 90 00 B6 [13:28:53]RAPDU: 90 00 [13:28:53]wFMCommunicate OK [13:28:53]wFMCommunicate request_size=4 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 0D 03 02 [13:28:53]Write to MH i2c: E2 08 00 3B 08 80 0D 03 02 00 00 00 00 BE [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 0B 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 0B 00 3B 08 00 CE BB BA E8 62 92 2E 6C 90 00 78 [13:28:53]RAPDU: CE BB BA E8 62 92 2E 6C 90 00 [13:28:53]wFMCommunicate OK [13:28:53]SAM_PROTO_SignData done [13:28:53]FM_MakeSignedData done [13:28:53]CreateOFDProtocolMessage [13:28:53]wFMCommunicate request_size=4 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 11 00 00 [13:28:53]Write to MH i2c: E2 08 00 3C 08 80 11 00 00 00 00 00 00 BE [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 17 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 17 00 3C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 18 [13:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:28:53]wFMCommunicate OK [13:28:53]CreateOFDProtocolMessage done [13:28:53]OFDSenderStorePacket 56783 [13:28:53]StoreOFDPacket docnum=56783 [13:28:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 40 A8 24 01 A2 9B 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 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 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 96 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DD 00 00 35 04 06 00 13 E3 E7 5F AC A5 CE BB BA E8 62 92 2E 6C [13:28:53]CheckFolder [13:28:53]dirname=/storage/ofd_packets [13:28:53]CheckFolder done [13:28:53]ProducePacketName [13:28:53]name=ofd_packets/00056783 [13:28:53]NVStorageSaveData ofd_packets/00056783 [13:28:53]File name is /storage/ofd_packets/00056783 [13:28:53]Write 330 bytes [13:28:53]NVStorageSaveData done [13:28:53]OFDSenderStorePacket done [13:28:53]KKMCreateOFDPacket done [13:28:53]NVStorageSaveData kkm_last_timestamp [13:28:53]File name is /storage/kkm_last_timestamp [13:28:53]Write 4 bytes [13:28:53]NVStorageSaveData done [13:28:53]ExternCall_PrintAddStr [13:28:53]wPrintStart [13:28:53]Write to MH i2c: 01 00 00 3D 08 45 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: 01 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: 01 07 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: 01 07 00 3D 08 00 00 00 00 00 FF 0F 5A [13:28:53]RasterBufferAndPrint [13:28:53]line Счет N : (3)129277 [13:28:53]line ИНН: 02508201610067 [13:28:53]line Контрольно-Кассовый Чек [13:28:53]line ПРОДАЖА [13:28:53]line Товар: 2000036210013 [13:28:53]line Кофе Капучино (GABB TRADE) [13:28:53]line 1.000 * 115.00 [13:28:53]line = 115.00 [13:28:53]line НДС 12% НСП 1% [13:28:53]line > о реализуемом товаре [13:28:53]line ИТОГО: 115.00 [13:28:53]line НСП 1% : 1.02 [13:28:53]line НДС 12% : 12.21 [13:28:53]line Наличными: 115.00 [13:28:53]line Безнал.: 0.00 [13:28:53]line Место: АЗС № 132 "Партнер Нефть" [13:28:53]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:28:53]line СНО: Общий режим [13:28:53]line Чек 51 12.07.2024 13:28 [13:28:53]line Смена: 494 ФФД: 1.0 [13:28:53]line ЗНМ: 0300000132 [13:28:53]line РНМ: 0000000000091208 [13:28:53]line Версия ККМ: 001 [13:28:53]line ФМ: 0000000000874857 [13:28:53]line ФД: 56783 [13:28:53]line ФПД: 21869560310949 [13:28:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T132854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56783&fm=21869560310949&tin=02508201610067®Number=0000000000091208&sum=11500 [13:28:53]line 0 [13:28:53]written 0, free lines is 4095 [13:28:53]OFD Sender: Processing packet 56783 [packets to send 38, broken 37] [13:28:53]ProducePacketName [13:28:53]name=ofd_packets/00056783 [13:28:53]OFD Sender: To server: pG, [13:28:53]CommunicateWithHost lk.salyk.kg:30040 [13:28:53]ConnectInit lk.salyk.kg [13:28:53]Connected sock=10 [13:28: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 38 35 37 2C 01 00 00 40 A8 24 01 A2 9B 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 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 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 96 2F 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DD 00 00 35 04 06 00 13 E3 E7 5F AC A5 CE BB BA E8 62 92 2E 6C [13:28:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 40 A3 47 00 21 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DD 00 00 F4 03 04 00 ED D5 90 66 B6 04 01 00 00 93 4C 6F 8D B2 27 E7 D0 [13:28:54]CommunicateWithHost err = 0 [13:28:54]CheckOFDResponse [13:28:54]1017 (14) - 77093643461234 [13:28:54]1041 (16) - 0000000000874857 [13:28:54]1040 (4) - 56783 [13:28:54]1012 (4) - 12.07.2024 07:06 [13:28:54]1206 (1) - 0 [13:28:54]OFD Sender: Remove packet 56783 [13:28:54]ProducePacketName [13:28:54]name=ofd_packets/00056783 [13:28:54]NVStorageDeleteData [13:28:54]Write to MH i2c: 01 00 00 65 08 6D [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: 01 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: 01 07 00 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: 01 07 00 65 08 00 00 00 00 00 27 0D A8 [13:28:54]RasterBufferAndPrint [13:28:54]line [13:28:54]line [13:28:54]line [13:28:54]line [13:28:54]line [13:28:54]written 0, free lines is 3386 [13:28:54]MH_Cut [13:28:54]Write to MH i2c: D1 01 00 6C 08 01 46 [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: D1 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: D1 01 00 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: D1 01 00 6C 08 00 45 [13:28:54]Write to MH i2c: 01 00 00 6D 08 75 [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]OFD Sender: No OFD packet to send [13:28:54]*** Cut start [13:28:54]*** Partial cut [13:28:54]*** CUTSNS_PIN = 1 [13:28:55]*** CUTSNS_PIN = 0 [13:28:55]*** Brake cut motor [13:28:55]Read from MH i2c: 01 [13:28:55]MH_I2C_Read... [13:28:55]*** Stop cut motor [13:28:55]*** Cut end [13:28:55]Read from MH i2c: 01 07 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 07 00 6D 08 00 00 00 00 00 FF 0F 8A [13:28:55]process_action close_receipt done [13:28:55]requested_data is exist [13:28:55]produce_requested_data [13:28:55]requested_item fm.sn is exist - process it [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 11 00 00 [13:28:55]Write to MH i2c: E2 08 00 6E 08 80 11 00 00 00 00 00 00 F0 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 17 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 17 00 6E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4A [13:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:28:55]wFMCommunicate OK [13:28:55]requested_item fd.num is exist - process it [13:28:55]SAM_PROTO_GetFieldsCounters [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 13 00 00 [13:28:55]Write to MH i2c: E2 08 00 6F 08 80 13 00 00 00 00 00 00 F3 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 62 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 62 00 6F 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CF DD 00 00 0E 04 04 00 EE 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 4A [13:28: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CF DD 00 00 0E 04 04 00 EE 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 [13:28:55]wFMCommunicate OK [13:28:55]SAM_PROTO_GetFieldsCounters done [13:28:55]requested_item shift.num is exist - process it [13:28:55]requested_item shift.opened is exist - process it [13:28:55]req_shift_opened [13:28:55]FM_GetShiftState [13:28:55]SAM_PROTO_GetShiftState [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 13 01 00 [13:28:55]Write to MH i2c: E2 08 00 70 08 80 13 01 00 00 00 00 00 F5 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 0E 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 0E 00 70 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F6 [13:28:55]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:28:55]wFMCommunicate OK [13:28:55]SAM_PROTO_GetShiftState done [13:28:55]FM_GetShiftState done [13:28:55]req_shift_opened done [13:28:55]requested_item shift.open_date is exist - process it [13:28:55]req_shift_open_date [13:28:55]req_shift_open_date done [13:28:55]requested_item shift.sale.total is exist - process it [13:28:55]SAM_PROTO_GetShiftData [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 13 02 00 [13:28:55]Write to MH i2c: E2 08 00 71 08 80 13 02 00 00 00 00 00 F7 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:28:56]Read from MH i2c: E2 [13:28:56]MH_I2C_Read... [13:28:56]Read from MH i2c: E2 FD 00 [13:28:56]MH_I2C_Read... [13:28:56]Read from MH i2c: E2 FD 00 71 08 00 B6 04 AA 04 B2 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 28 58 15 70 04 03 00 FC 25 10 72 04 03 00 2C 32 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 53 44 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 59 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 25 [13:28:56]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 28 58 15 70 04 03 00 FC 25 10 72 04 03 00 2C 32 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 53 44 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 59 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:28:56]wFMCommunicate OK [13:28:56]wFMCommunicate request_size=4 [13:28:56]MH_SAM_APDU [13:28:56]CAPDU: 80 17 00 00 [13:28:56]Write to MH i2c: E2 08 00 72 08 80 17 00 00 00 00 00 00 FA [13:28:56]Write i2c OK [13:28:56]MH_I2C_Read... [13:28:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:56]Read from MH i2c: E2 [13:28:56]MH_I2C_Read... [13:28:56]Read from MH i2c: E2 FD 00 [13:28:56]MH_I2C_Read... [13:28:56]Read from MH i2c: E2 FD 00 72 08 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 39 [13:28:56]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:56]wFMCommunicate OK [13:28:56]wFMCommunicate request_size=4 [13:28:56]MH_SAM_APDU [13:28:56]CAPDU: 80 17 00 00 [13:28:56]Write to MH i2c: E2 08 00 73 08 80 17 00 00 00 00 00 00 FB [13:28:56]Write i2c OK [13:28:56]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 FD 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 FD 00 73 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BB [13:28:57]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:57]wFMCommunicate OK [13:28:57]wFMCommunicate request_size=4 [13:28:57]MH_SAM_APDU [13:28:57]CAPDU: 80 17 00 00 [13:28:57]Write to MH i2c: E2 08 00 74 08 80 17 00 00 00 00 00 00 FC [13:28:57]Write i2c OK [13:28:57]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 FD 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 FD 00 74 08 00 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 90 00 6B [13:28:57]RAPDU: 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 90 00 [13:28:57]wFMCommunicate OK [13:28:57]wFMCommunicate request_size=4 [13:28:57]MH_SAM_APDU [13:28:57]CAPDU: 80 17 00 00 [13:28:57]Write to MH i2c: E2 08 00 75 08 80 17 00 00 00 00 00 00 FD [13:28:57]Write i2c OK [13:28:57]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 D3 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 D3 00 75 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EA [13:28:57]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:58]wFMCommunicate OK [13:28:58]SAM_PROTO_GetShiftData done [13:28:58]requested_item shift.sale.total_cash is exist - process it [13:28:58]requested_item shift.sale_refund.total is exist - process it [13:28:58]requested_item shift.sale_refund.total_cash is exist - process it [13:28:58]produce_requested_data done [13:28:58]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56783,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13988.24,"shift.sale.total_cash":10583.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:28:58]process_action_free close_receipt [13:28:58]json_value_free [13:28:58]json_value_free done [13:28:58]process_json_proto returns [13:28:58]Send response to host [13:28:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56783,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":13988.24,"shift.sale.total_cash":10583.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:28:58]free response buf [13:28:58]execute_script done [13:28:58]execute_script returns [13:28:58]free content buf [13:28:58]Sock 9.Close socket [13:28:58]Sock 9.Thread stoped [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:15]OFD Sender: No OFD packet to send [13:32:20]OFD Sender: No OFD packet to send [13:32:25]OFD Sender: No OFD packet to send [13:32:30]OFD Sender: No OFD packet to send [13:32:35]OFD Sender: No OFD packet to send [13:32:40]OFD Sender: No OFD packet to send [13:32:45]OFD Sender: No OFD packet to send [13:32:50]OFD Sender: No OFD packet to send [13:32:55]OFD Sender: No OFD packet to send [13:33:00]OFD Sender: No OFD packet to send [13:33:05]OFD Sender: No OFD packet to send [13:33:10]OFD Sender: No OFD packet to send [13:33:15]OFD Sender: No OFD packet to send [13:33:20]OFD Sender: No OFD packet to send [13:33:25]OFD Sender: No OFD packet to send [13:33:30]OFD Sender: No OFD packet to send [13:33:35]OFD Sender: No OFD packet to send [13:33:40]OFD Sender: No OFD packet to send [13:33:45]OFD Sender: No OFD packet to send [13:33:50]OFD Sender: No OFD packet to send [13:33:53]accept exits with 7 [13:33:53]New connection [13:33:53]New thread 3066637668 created [13:33:53]Thread 3066781028 joined [13:33:53]Waiting for new connection... [13:33:53] Sock 7.Parse request [13:33:53]Sock 7.Check first char [13:33:53]Sock 7.First char is OK [13:33:53]request: POST /json_proto HTTP/1.0 [13:33:53]Method: POST [13:33:53]URL: /json_proto [13:33:53]Method is POST - this is cgi request [13:33:53]url: /json_proto [13:33:53]query_string will be loaded in cgi processing [13:33:53]execute_cgi json_proto POST (null) [13:33:53]execute_cgi path=json_proto method=POST [13:33:53]POST find Content-Length [13:33:53]Host: 172.17.39.4:8080 [13:33:53]Content-Length: 695 [13:33:53]Content-Type: application/json [13:33:53] [13:33:53]POST finish read [13:33:53]Found Content-Length = 695 [13:33:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129278", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:33:53]execute_script... [13:33: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)129278", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:33:53]POST & json_proto [13:33:53]process_json_proto [13:33:53]json parsed OK: [13:33:53]protocol is kg_v1.0 [13:33:53]action value=close_receipt [13:33:53]process_action close_receipt [13:33:53]cmd_close_receipt [13:33:53]MH_GetDate [13:33:53]Write to MH i2c: F0 00 00 76 08 6D [13:33:53]Write i2c OK [13:33:53]MH_I2C_Read... [13:33:53]Read from MH i2c: F0 [13:33:53]MH_I2C_Read... [13:33:53]Read from MH i2c: F0 09 00 [13:33:53]MH_I2C_Read... [13:33:53]Read from MH i2c: F0 09 00 76 08 00 C3 30 91 66 2D 25 5D 64 73 [13:33:53]GetLastDocTimeStamp 1720790934 [13:33:53]current date 1720791235 [13:33:53]FM_GetShiftState [13:33:53]SAM_PROTO_GetShiftState [13:33:53]wFMCommunicate request_size=4 [13:33:53]MH_SAM_APDU [13:33:53]CAPDU: 80 13 01 00 [13:33:53]Write to MH i2c: E2 08 00 77 08 80 13 01 00 00 00 00 00 FC [13:33:53]Write i2c OK [13:33:53]MH_I2C_Read... [13:33:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:33:53]Read from MH i2c: E2 [13:33:53]MH_I2C_Read... [13:33:53]Read from MH i2c: E2 0E 00 [13:33:53]MH_I2C_Read... [13:33:53]Read from MH i2c: E2 0E 00 77 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 FD [13:33:53]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:33:53]wFMCommunicate OK [13:33:53]SAM_PROTO_GetShiftState done [13:33:53]FM_GetShiftState done [13:33:53]opened in 1720744326 [13:33:53]opened+sec_in_day 1720830726 [13:33:53]quantity*price = 4500 [13:33:53]sum+1 = 4501 [13:33:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 52 12.07.2024 13:33 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56784 ФПД: 165042571599035 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T133355&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56784&fm=165042571599035&tin=02508201610067®Number=0000000000091208&sum=4500 0 [13:33:55]StoreToDocumentArchive [13:33:55]shift 494 fd 56784 [13:33:55]save to /storage/0494/doc_00056784 [13:33:55]save last doc name /storage/0494/doc_00056784 to /storage/kkm_last_doc_name [13:33:55]save OK [13:33:55]Clear old archive folders... [13:33:55]ProcessDocumentItem done err = 0, tmpTLVsize=266 [13:33:55]tlvbuf is 01AF5A50 [13:33:55]SAM_PROTO_ClearQueue [13:33:55]wFMCommunicate request_size=4 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 09 00 00 [13:33:55]Write to MH i2c: E2 08 00 84 08 80 09 00 00 00 00 00 00 FE [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 84 08 00 90 00 00 [13:33:55]RAPDU: 90 00 [13:33:55]wFMCommunicate OK [13:33:55]SAM_PROTO_ClearQueue done [13:33:55]KKMCreateOFDPacket [13:33:55]OFDProtocolAddRootSTLVToBuf [13:33:55]FM_MakeSignedData [13:33:55]FM_MakeSignedData [13:33:55]SAM_PROTO_SignData [13:33:55]wFMCommunicate request_size=4 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 0D 01 02 [13:33:55]Write to MH i2c: E2 08 00 85 08 80 0D 01 02 00 00 00 00 06 [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]OFD Sender: No OFD packet to send [13:33:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 85 08 00 90 00 01 [13:33:55]RAPDU: 90 00 [13:33:55]wFMCommunicate OK [13:33:55]wFMCommunicate request_size=255 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 34 00 00 00 F4 03 04 00 C3 30 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [13:33:55]Write to MH i2c: E2 02 01 86 08 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 34 00 00 00 F4 03 04 00 C3 30 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 C4 [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 86 08 00 90 00 02 [13:33:55]RAPDU: 90 00 [13:33:55]wFMCommunicate OK [13:33:55]wFMCommunicate request_size=25 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 D0 DD 00 00 35 04 06 00 96 1A F7 DA 5C BB [13:33:55]Write to MH i2c: E2 1C 00 87 08 80 0D 02 02 14 00 35 37 10 04 04 00 D0 DD 00 00 35 04 06 00 96 1A F7 DA 5C BB 00 00 39 [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 03 00 87 08 00 90 00 03 [13:33:55]RAPDU: 90 00 [13:33:55]wFMCommunicate OK [13:33:55]wFMCommunicate request_size=4 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 0D 03 02 [13:33:55]Write to MH i2c: E2 08 00 88 08 80 0D 03 02 00 00 00 00 0B [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 0B 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 0B 00 88 08 00 B9 52 0E 5C D3 D2 CF 29 90 00 1E [13:33:55]RAPDU: B9 52 0E 5C D3 D2 CF 29 90 00 [13:33:55]wFMCommunicate OK [13:33:55]SAM_PROTO_SignData done [13:33:55]FM_MakeSignedData done [13:33:55]CreateOFDProtocolMessage [13:33:55]wFMCommunicate request_size=4 [13:33:55]MH_SAM_APDU [13:33:55]CAPDU: 80 11 00 00 [13:33:55]Write to MH i2c: E2 08 00 89 08 80 11 00 00 00 00 00 00 0B [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:33:55]Read from MH i2c: E2 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 17 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: E2 17 00 89 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [13:33:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:33:55]wFMCommunicate OK [13:33:55]CreateOFDProtocolMessage done [13:33:55]OFDSenderStorePacket 56784 [13:33:55]StoreOFDPacket docnum=56784 [13:33:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 87 67 16 01 5A 07 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 34 00 00 00 F4 03 04 00 C3 30 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D0 DD 00 00 35 04 06 00 96 1A F7 DA 5C BB B9 52 0E 5C D3 D2 CF 29 [13:33:55]CheckFolder [13:33:55]dirname=/storage/ofd_packets [13:33:55]CheckFolder done [13:33:55]ProducePacketName [13:33:55]name=ofd_packets/00056784 [13:33:55]NVStorageSaveData ofd_packets/00056784 [13:33:55]File name is /storage/ofd_packets/00056784 [13:33:55]Write 316 bytes [13:33:55]NVStorageSaveData done [13:33:55]OFDSenderStorePacket done [13:33:55]KKMCreateOFDPacket done [13:33:55]NVStorageSaveData kkm_last_timestamp [13:33:55]File name is /storage/kkm_last_timestamp [13:33:55]Write 4 bytes [13:33:55]NVStorageSaveData done [13:33:55]ExternCall_PrintAddStr [13:33:55]wPrintStart [13:33:55]Write to MH i2c: 01 00 00 8A 08 92 [13:33:55]Write i2c OK [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: 01 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: 01 07 00 [13:33:55]MH_I2C_Read... [13:33:55]Read from MH i2c: 01 07 00 8A 08 00 00 00 00 00 FF 0F A7 [13:33:55]RasterBufferAndPrint [13:33:55]line Счет N : (3)129278 [13:33:55]line ИНН: 02508201610067 [13:33:55]line Контрольно-Кассовый Чек [13:33:55]line ПРОДАЖА [13:33:55]line Товар: 42069942 [13:33:55]line Жев Orbit White Fresh Mint [13:33:55]line 1.000 * 45.00 [13:33:55]line = 45.00 [13:33:55]line НДС 12% НСП 1% [13:33:55]line > о реализуемом товаре [13:33:55]line ИТОГО: 45.00 [13:33:55]line НСП 1% : 0.40 [13:33:55]line НДС 12% : 4.78 [13:33:55]line Наличными: 45.00 [13:33:55]line Безнал.: 0.00 [13:33:55]line Место: АЗС № 132 "Партнер Нефть" [13:33:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:33:55]line СНО: Общий режим [13:33:55]line Чек 52 12.07.2024 13:33 [13:33:55]line Смена: 494 ФФД: 1.0 [13:33:55]line ЗНМ: 0300000132 [13:33:55]line РНМ: 0000000000091208 [13:33:55]line Версия ККМ: 001 [13:33:55]line ФМ: 0000000000874857 [13:33:55]line ФД: 56784 [13:33:55]line ФПД: 165042571599035 [13:33:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T133355&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56784&fm=165042571599035&tin=02508201610067®Number=0000000000091208&sum=4500 [13:33:55]OFD Sender: Processing packet 56784 [packets to send 38, broken 37] [13:33:55]ProducePacketName [13:33:55]name=ofd_packets/00056784 [13:33:55]OFD Sender: To server: pG, [13:33:55]CommunicateWithHost lk.salyk.kg:30040 [13:33:55]ConnectInit lk.salyk.kg [13:33:55]line 0 [13:33:55]written 0, free lines is 4095 [13:33:55]Connected sock=10 [13:33: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 38 35 37 1E 01 00 00 87 67 16 01 5A 07 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 34 00 00 00 F4 03 04 00 C3 30 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D0 DD 00 00 35 04 06 00 96 1A F7 DA 5C BB B9 52 0E 5C D3 D2 CF 29 [13:33:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F8 4B 47 00 81 7E 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 38 35 37 10 04 04 00 D0 DD 00 00 F4 03 04 00 1B D7 90 66 B6 04 01 00 00 8F 6E 97 A7 54 AA 0F C1 [13:33:56]CommunicateWithHost err = 0 [13:33:56]CheckOFDResponse [13:33:56]1017 (14) - 77093643461234 [13:33:56]1041 (16) - 0000000000874857 [13:33:56]1040 (4) - 56784 [13:33:56]1012 (4) - 12.07.2024 07:11 [13:33:56]1206 (1) - 0 [13:33:56]OFD Sender: Remove packet 56784 [13:33:56]ProducePacketName [13:33:56]name=ofd_packets/00056784 [13:33:56]NVStorageDeleteData [13:33:56]Write to MH i2c: 01 00 00 B2 08 BA [13:33:56]Write i2c OK [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: 01 [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: 01 07 00 [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: 01 07 00 B2 08 00 00 00 00 00 10 0D DE [13:33:56]RasterBufferAndPrint [13:33:56]line [13:33:56]line [13:33:56]line [13:33:56]line [13:33:56]line [13:33:56]written 0, free lines is 3350 [13:33:56]MH_Cut [13:33:56]Write to MH i2c: D1 01 00 B9 08 01 93 [13:33:56]Write i2c OK [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: D1 [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: D1 01 00 [13:33:56]MH_I2C_Read... [13:33:56]Read from MH i2c: D1 01 00 B9 08 00 92 [13:33:56]Write to MH i2c: 01 00 00 BA 08 C2 [13:33:56]Write i2c OK [13:33:56]MH_I2C_Read... [13:33:56]OFD Sender: No OFD packet to send [13:33:57]*** Cut start [13:33:57]*** Partial cut [13:33:57]*** CUTSNS_PIN = 1 [13:33:57]*** CUTSNS_PIN = 0 [13:33:57]*** Brake cut motor [13:33:57]Read from MH i2c: 01 [13:33:57]MH_I2C_Read... [13:33:57]*** Stop cut motor [13:33:57]*** Cut end [13:33:57]Read from MH i2c: 01 07 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: 01 07 00 BA 08 00 00 00 00 00 FF 0F D7 [13:33:57]process_action close_receipt done [13:33:57]requested_data is exist [13:33:57]produce_requested_data [13:33:57]requested_item fm.sn is exist - process it [13:33:57]wFMCommunicate request_size=4 [13:33:57]MH_SAM_APDU [13:33:57]CAPDU: 80 11 00 00 [13:33:57]Write to MH i2c: E2 08 00 BB 08 80 11 00 00 00 00 00 00 3D [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:33:57]Read from MH i2c: E2 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 17 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 17 00 BB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 97 [13:33:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:33:57]wFMCommunicate OK [13:33:57]requested_item fd.num is exist - process it [13:33:57]SAM_PROTO_GetFieldsCounters [13:33:57]wFMCommunicate request_size=4 [13:33:57]MH_SAM_APDU [13:33:57]CAPDU: 80 13 00 00 [13:33:57]Write to MH i2c: E2 08 00 BC 08 80 13 00 00 00 00 00 00 40 [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:33:57]Read from MH i2c: E2 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 62 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 62 00 BC 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D0 DD 00 00 0E 04 04 00 EE 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 9B [13:33: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D0 DD 00 00 0E 04 04 00 EE 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 [13:33:57]wFMCommunicate OK [13:33:57]SAM_PROTO_GetFieldsCounters done [13:33:57]requested_item shift.num is exist - process it [13:33:57]requested_item shift.opened is exist - process it [13:33:57]req_shift_opened [13:33:57]FM_GetShiftState [13:33:57]SAM_PROTO_GetShiftState [13:33:57]wFMCommunicate request_size=4 [13:33:57]MH_SAM_APDU [13:33:57]CAPDU: 80 13 01 00 [13:33:57]Write to MH i2c: E2 08 00 BD 08 80 13 01 00 00 00 00 00 42 [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:33:57]Read from MH i2c: E2 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 0E 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 0E 00 BD 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 43 [13:33:57]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [13:33:57]wFMCommunicate OK [13:33:57]SAM_PROTO_GetShiftState done [13:33:57]FM_GetShiftState done [13:33:57]req_shift_opened done [13:33:57]requested_item shift.open_date is exist - process it [13:33:57]req_shift_open_date [13:33:57]req_shift_open_date done [13:33:57]requested_item shift.sale.total is exist - process it [13:33:57]SAM_PROTO_GetShiftData [13:33:57]wFMCommunicate request_size=4 [13:33:57]MH_SAM_APDU [13:33:57]CAPDU: 80 13 02 00 [13:33:57]Write to MH i2c: E2 08 00 BE 08 80 13 02 00 00 00 00 00 44 [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:33:58]Read from MH i2c: E2 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 BE 08 00 B6 04 AA 04 B2 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 BC 69 15 70 04 03 00 90 37 10 72 04 03 00 2C 32 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 31 46 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 81 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 C7 [13:33:58]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 BC 69 15 70 04 03 00 90 37 10 72 04 03 00 2C 32 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 31 46 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 81 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:33:58]wFMCommunicate OK [13:33:58]wFMCommunicate request_size=4 [13:33:58]MH_SAM_APDU [13:33:58]CAPDU: 80 17 00 00 [13:33:58]Write to MH i2c: E2 08 00 BF 08 80 17 00 00 00 00 00 00 47 [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:58]Read from MH i2c: E2 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 BF 08 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [13:33:58]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:33:58]wFMCommunicate OK [13:33:58]wFMCommunicate request_size=4 [13:33:58]MH_SAM_APDU [13:33:58]CAPDU: 80 17 00 00 [13:33:58]Write to MH i2c: E2 08 00 C0 08 80 17 00 00 00 00 00 00 48 [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:58]Read from MH i2c: E2 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 FD 00 C0 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 08 [13:33:58]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:33:58]wFMCommunicate OK [13:33:58]wFMCommunicate request_size=4 [13:33:58]MH_SAM_APDU [13:33:58]CAPDU: 80 17 00 00 [13:33:58]Write to MH i2c: E2 08 00 C1 08 80 17 00 00 00 00 00 00 49 [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 FD 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 FD 00 C1 08 00 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 90 00 B8 [13:33:59]RAPDU: 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 90 00 [13:33:59]wFMCommunicate OK [13:33:59]wFMCommunicate request_size=4 [13:33:59]MH_SAM_APDU [13:33:59]CAPDU: 80 17 00 00 [13:33:59]Write to MH i2c: E2 08 00 C2 08 80 17 00 00 00 00 00 00 4A [13:33:59]Write i2c OK [13:33:59]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 D3 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 D3 00 C2 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 37 [13:33:59]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:33:59]wFMCommunicate OK [13:33:59]SAM_PROTO_GetShiftData done [13:33:59]requested_item shift.sale.total_cash is exist - process it [13:33:59]requested_item shift.sale_refund.total is exist - process it [13:33:59]requested_item shift.sale_refund.total_cash is exist - process it [13:33:59]produce_requested_data done [13:33:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56784,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14033.24,"shift.sale.total_cash":10628.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [13:33:59]process_action_free close_receipt [13:33:59]json_value_free [13:33:59]json_value_free done [13:33:59]process_json_proto returns [13:33:59]Send response to host [13:33:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56784,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14033.24,"shift.sale.total_cash":10628.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [13:33:59]free response buf [13:33:59]execute_script done [13:33:59]execute_script returns [13:33:59]free content buf [13:33:59]Sock 7.Close socket [13:33:59]Sock 7.Thread stoped [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]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:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:21]accept exits with 9 [14:11:21]New connection [14:11:21]New thread 3066781028 created [14:11:21]Thread 3066637668 joined [14:11:21]Waiting for new connection... [14:11:21] Sock 9.Parse request [14:11:21]Sock 9.Check first char [14:11:21]Sock 9.First char is OK [14:11:21]request: POST /json_proto HTTP/1.0 [14:11:21]Method: POST [14:11:21]URL: /json_proto [14:11:21]Method is POST - this is cgi request [14:11:21]url: /json_proto [14:11:21]query_string will be loaded in cgi processing [14:11:21]execute_cgi json_proto POST (null) [14:11:21]execute_cgi path=json_proto method=POST [14:11:21]POST find Content-Length [14:11:21]Host: 172.17.39.4:8080 [14:11:21]Content-Length: 1157 [14:11:21]Content-Type: application/json [14:11:21] [14:11:21]POST finish read [14:11:21]Found Content-Length = 1157 [14:11:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129279", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036917266", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041B\u0418\u0427\u0418-\u0413\u0420\u0423\u0428\u0410", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:11:21]execute_script... [14:11: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)129279", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036917266", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041B\u0418\u0427\u0418-\u0413\u0420\u0423\u0428\u0410", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:11:21]POST & json_proto [14:11:21]process_json_proto [14:11:21]json parsed OK: [14:11:21]protocol is kg_v1.0 [14:11:21]action value=close_receipt [14:11:21]process_action close_receipt [14:11:21]cmd_close_receipt [14:11:21]MH_GetDate [14:11:21]Write to MH i2c: F0 00 00 C3 08 BA [14:11:21]Write i2c OK [14:11:21]MH_I2C_Read... [14:11:21]Read from MH i2c: F0 [14:11:21]MH_I2C_Read... [14:11:21]Read from MH i2c: F0 09 00 [14:11:21]MH_I2C_Read... [14:11:21]Read from MH i2c: F0 09 00 C3 08 00 8C 39 91 66 2D 25 5D 64 92 [14:11:21]GetLastDocTimeStamp 1720791235 [14:11:21]current date 1720793484 [14:11:21]FM_GetShiftState [14:11:21]SAM_PROTO_GetShiftState [14:11:21]wFMCommunicate request_size=4 [14:11:21]MH_SAM_APDU [14:11:21]CAPDU: 80 13 01 00 [14:11:21]Write to MH i2c: E2 08 00 C4 08 80 13 01 00 00 00 00 00 49 [14:11:21]Write i2c OK [14:11:21]MH_I2C_Read... [14:11:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:21]Read from MH i2c: E2 [14:11:21]MH_I2C_Read... [14:11:21]Read from MH i2c: E2 0E 00 [14:11:21]MH_I2C_Read... [14:11:21]Read from MH i2c: E2 0E 00 C4 08 00 09 00 01 86 79 90 66 00 00 00 00 90 00 4A [14:11:21]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:11:21]wFMCommunicate OK [14:11:21]SAM_PROTO_GetShiftState done [14:11:21]FM_GetShiftState done [14:11:21]opened in 1720744326 [14:11:21]opened+sec_in_day 1720830726 [14:11:21]quantity*price = 11000 [14:11:21]sum+1 = 11001 [14:11:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4680036917266 Напиток Gorilla ж/б 0,45л ЛИЧИ-ГРУША 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.94 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 53 12.07.2024 14:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56785 ФПД: 140199153773077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141124&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56785&fm=140199153773077&tin=02508201610067®Number=0000000000091208&sum=22000 0 [14:11:23]StoreToDocumentArchive [14:11:23]shift 494 fd 56785 [14:11:23]save to /storage/0494/doc_00056785 [14:11:23]save last doc name /storage/0494/doc_00056785 to /storage/kkm_last_doc_name [14:11:23]save OK [14:11:23]Clear old archive folders... [14:11:23]ProcessDocumentItem done err = 0, tmpTLVsize=439 [14:11:23]tlvbuf is 01A91490 [14:11:23]SAM_PROTO_ClearQueue [14:11:23]wFMCommunicate request_size=4 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 09 00 00 [14:11:23]Write to MH i2c: E2 08 00 D1 08 80 09 00 00 00 00 00 00 4B [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 D1 08 00 90 00 4D [14:11:23]RAPDU: 90 00 [14:11:23]wFMCommunicate OK [14:11:23]SAM_PROTO_ClearQueue done [14:11:23]KKMCreateOFDPacket [14:11:23]OFDProtocolAddRootSTLVToBuf [14:11:23]FM_MakeSignedData [14:11:23]FM_MakeSignedData [14:11:23]SAM_PROTO_SignData [14:11:23]wFMCommunicate request_size=4 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 0D 01 02 [14:11:23]Write to MH i2c: E2 08 00 D2 08 80 0D 01 02 00 00 00 00 53 [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 D2 08 00 90 00 4E [14:11:23]RAPDU: 90 00 [14:11:23]wFMCommunicate OK [14:11:23]wFMCommunicate request_size=255 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 0D 02 02 FA 03 00 B7 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 [14:11:23]Write to MH i2c: E2 02 01 D3 08 80 0D 02 02 FA 00 03 00 B7 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 91 [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 D3 08 00 90 00 4F [14:11:23]RAPDU: 90 00 [14:11:23]wFMCommunicate OK [14:11:23]wFMCommunicate request_size=198 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 0D 02 02 C1 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 8C 39 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DD 00 00 35 04 06 00 7F 82 A8 C2 2A 15 [14:11:23]Write to MH i2c: E2 C9 00 D4 08 80 0D 02 02 C1 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 8C 39 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DD 00 00 35 04 06 00 7F 82 A8 C2 2A 15 00 00 BC [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 03 00 D4 08 00 90 00 50 [14:11:23]RAPDU: 90 00 [14:11:23]wFMCommunicate OK [14:11:23]wFMCommunicate request_size=4 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 0D 03 02 [14:11:23]Write to MH i2c: E2 08 00 D5 08 80 0D 03 02 00 00 00 00 58 [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 0B 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 0B 00 D5 08 00 7B 3E 7B D8 1B F1 42 62 90 00 15 [14:11:23]RAPDU: 7B 3E 7B D8 1B F1 42 62 90 00 [14:11:23]wFMCommunicate OK [14:11:23]SAM_PROTO_SignData done [14:11:23]FM_MakeSignedData done [14:11:23]CreateOFDProtocolMessage [14:11:23]wFMCommunicate request_size=4 [14:11:23]MH_SAM_APDU [14:11:23]CAPDU: 80 11 00 00 [14:11:23]Write to MH i2c: E2 08 00 D6 08 80 11 00 00 00 00 00 00 58 [14:11:23]Write i2c OK [14:11:23]MH_I2C_Read... [14:11:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:23]Read from MH i2c: E2 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 17 00 [14:11:23]MH_I2C_Read... [14:11:23]Read from MH i2c: E2 17 00 D6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B2 [14:11:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:11:23]wFMCommunicate OK [14:11:23]CreateOFDProtocolMessage done [14:11:23]OFDSenderStorePacket 56785 [14:11:23]StoreOFDPacket docnum=56785 [14:11:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 CB 01 00 00 A6 D4 C3 01 B3 7D 5A 03 01 00 03 00 B7 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 8C 39 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DD 00 00 35 04 06 00 7F 82 A8 C2 2A 15 7B 3E 7B D8 1B F1 42 62 [14:11:23]CheckFolder [14:11:23]dirname=/storage/ofd_packets [14:11:23]CheckFolder done [14:11:24]ProducePacketName [14:11:24]name=ofd_packets/00056785 [14:11:24]NVStorageSaveData ofd_packets/00056785 [14:11:24]File name is /storage/ofd_packets/00056785 [14:11:24]Write 489 bytes [14:11:24]NVStorageSaveData done [14:11:24]OFDSenderStorePacket done [14:11:24]KKMCreateOFDPacket done [14:11:24]NVStorageSaveData kkm_last_timestamp [14:11:24]File name is /storage/kkm_last_timestamp [14:11:24]Write 4 bytes [14:11:24]NVStorageSaveData done [14:11:24]ExternCall_PrintAddStr [14:11:24]wPrintStart [14:11:24]Write to MH i2c: 01 00 00 D7 08 DF [14:11:24]OFD Sender: No OFD packet to send [14:11:24]Write i2c OK [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 07 00 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 07 00 D7 08 00 00 00 00 00 FF 0F F4 [14:11:24]RasterBufferAndPrint [14:11:24]line Счет N : (3)129279 [14:11:24]line ИНН: 02508201610067 [14:11:24]line Контрольно-Кассовый Чек [14:11:24]line ПРОДАЖА [14:11:24]line Товар: 4870202521254 [14:11:24]line Чай холодный MAXI черный со вкусом клубн [14:11:24]line 1.000 * 110.00 [14:11:24]line = 110.00 [14:11:24]line НДС 12% НСП 1% [14:11:24]line > о реализуемом товаре [14:11:24]line Товар: 4680036917266 [14:11:24]line Напиток Gorilla ж/б 0,45л ЛИЧИ-ГРУША [14:11:24]line 1.000 * 110.00 [14:11:24]line = 110.00 [14:11:24]line НДС 12% НСП 1% [14:11:24]line > о реализуемом товаре [14:11:24]line ИТОГО: 220.00 [14:11:24]line НСП 1% : 1.94 [14:11:24]line НДС 12% : 23.36 [14:11:24]line Наличными: 220.00 [14:11:24]line Безнал.: 0.00 [14:11:24]line Место: АЗС № 132 "Партнер Нефть" [14:11:24]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:11:24]line СНО: Общий режим [14:11:24]line Чек 53 12.07.2024 14:11 [14:11:24]line Смена: 494 ФФД: 1.0 [14:11:24]line ЗНМ: 0300000132 [14:11:24]line РНМ: 0000000000091208 [14:11:24]line Версия ККМ: 001 [14:11:24]line ФМ: 0000000000874857 [14:11:24]line ФД: 56785 [14:11:24]line ФПД: 140199153773077 [14:11:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141124&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56785&fm=140199153773077&tin=02508201610067®Number=0000000000091208&sum=22000 [14:11:24]line 0 [14:11:24]written 0, free lines is 4095 [14:11:24]OFD Sender: Processing packet 56785 [packets to send 38, broken 37] [14:11:24]ProducePacketName [14:11:24]name=ofd_packets/00056785 [14:11:24]OFD Sender: To server: pG, [14:11:24]CommunicateWithHost lk.salyk.kg:30040 [14:11:24]ConnectInit lk.salyk.kg [14:11:24]Connected sock=10 [14:11:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 CB 01 00 00 A6 D4 C3 01 B3 7D 5A 03 01 00 03 00 B7 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 23 04 7B 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 37 32 36 36 06 04 37 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9B D0 98 D0 A7 D0 98 2D D0 93 D0 A0 D0 A3 D0 A8 D0 90 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 8C 39 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DD 00 00 35 04 06 00 7F 82 A8 C2 2A 15 7B 3E 7B D8 1B F1 42 62 [14:11:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 13 65 47 00 78 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DD 00 00 F4 03 04 00 E3 DF 90 66 B6 04 01 00 00 01 49 C0 C2 03 BE 95 30 [14:11:24]CommunicateWithHost err = 0 [14:11:24]CheckOFDResponse [14:11:24]1017 (14) - 77093643461234 [14:11:24]1041 (16) - 0000000000874857 [14:11:24]1040 (4) - 56785 [14:11:24]1012 (4) - 12.07.2024 07:48 [14:11:24]1206 (1) - 0 [14:11:24]OFD Sender: Remove packet 56785 [14:11:24]ProducePacketName [14:11:24]name=ofd_packets/00056785 [14:11:24]NVStorageDeleteData [14:11:24]Write to MH i2c: 01 00 00 07 09 10 [14:11:24]Write i2c OK [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 07 00 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: 01 07 00 07 09 00 00 00 00 00 BB 0C DE [14:11:24]RasterBufferAndPrint [14:11:24]line [14:11:24]line [14:11:24]line [14:11:24]line [14:11:24]line [14:11:24]written 0, free lines is 3267 [14:11:24]MH_Cut [14:11:24]Write to MH i2c: D1 01 00 0E 09 01 E9 [14:11:24]Write i2c OK [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: D1 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: D1 01 00 [14:11:24]MH_I2C_Read... [14:11:24]Read from MH i2c: D1 01 00 0E 09 00 E8 [14:11:24]Write to MH i2c: 01 00 00 0F 09 18 [14:11:24]Write i2c OK [14:11:24]MH_I2C_Read... [14:11:25]OFD Sender: No OFD packet to send [14:11:25]*** Cut start [14:11:25]*** Partial cut [14:11:25]*** CUTSNS_PIN = 1 [14:11:25]*** CUTSNS_PIN = 0 [14:11:25]*** Brake cut motor [14:11:25]Read from MH i2c: 01 [14:11:26]MH_I2C_Read... [14:11:26]*** Stop cut motor [14:11:26]*** Cut end [14:11:26]Read from MH i2c: 01 07 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 FF 0F 2D [14:11:26]process_action close_receipt done [14:11:26]requested_data is exist [14:11:26]produce_requested_data [14:11:26]requested_item fm.sn is exist - process it [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 11 00 00 [14:11:26]Write to MH i2c: E2 08 00 10 09 80 11 00 00 00 00 00 00 93 [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 17 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 17 00 10 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 ED [14:11:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:11:26]wFMCommunicate OK [14:11:26]requested_item fd.num is exist - process it [14:11:26]SAM_PROTO_GetFieldsCounters [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 13 00 00 [14:11:26]Write to MH i2c: E2 08 00 11 09 80 13 00 00 00 00 00 00 96 [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 62 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 62 00 11 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D1 DD 00 00 0E 04 04 00 EE 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 F5 [14:11:26]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D1 DD 00 00 0E 04 04 00 EE 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 [14:11:26]wFMCommunicate OK [14:11:26]SAM_PROTO_GetFieldsCounters done [14:11:26]requested_item shift.num is exist - process it [14:11:26]requested_item shift.opened is exist - process it [14:11:26]req_shift_opened [14:11:26]FM_GetShiftState [14:11:26]SAM_PROTO_GetShiftState [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 13 01 00 [14:11:26]Write to MH i2c: E2 08 00 12 09 80 13 01 00 00 00 00 00 98 [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 0E 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 0E 00 12 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 99 [14:11:26]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:11:26]wFMCommunicate OK [14:11:26]SAM_PROTO_GetShiftState done [14:11:26]FM_GetShiftState done [14:11:26]req_shift_opened done [14:11:26]requested_item shift.open_date is exist - process it [14:11:26]req_shift_open_date [14:11:26]req_shift_open_date done [14:11:26]requested_item shift.sale.total is exist - process it [14:11:26]SAM_PROTO_GetShiftData [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 13 02 00 [14:11:26]Write to MH i2c: E2 08 00 13 09 80 13 02 00 00 00 00 00 9A [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 FD 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 FD 00 13 09 00 B6 04 AA 04 B2 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 AC BF 15 70 04 03 00 80 8D 10 72 04 03 00 2C 32 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 51 4F 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 43 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 97 [14:11:26]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 AC BF 15 70 04 03 00 80 8D 10 72 04 03 00 2C 32 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 51 4F 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 43 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:11:26]wFMCommunicate OK [14:11:26]wFMCommunicate request_size=4 [14:11:26]MH_SAM_APDU [14:11:26]CAPDU: 80 17 00 00 [14:11:26]Write to MH i2c: E2 08 00 14 09 80 17 00 00 00 00 00 00 9D [14:11:26]Write i2c OK [14:11:26]MH_I2C_Read... [14:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:11:26]Read from MH i2c: E2 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 FD 00 [14:11:26]MH_I2C_Read... [14:11:26]Read from MH i2c: E2 FD 00 14 09 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [14:11:27]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:11:27]wFMCommunicate OK [14:11:27]wFMCommunicate request_size=4 [14:11:27]MH_SAM_APDU [14:11:27]CAPDU: 80 17 00 00 [14:11:27]Write to MH i2c: E2 08 00 15 09 80 17 00 00 00 00 00 00 9E [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:11:27]Read from MH i2c: E2 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 FD 00 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 FD 00 15 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [14:11:27]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:11:27]wFMCommunicate OK [14:11:27]wFMCommunicate request_size=4 [14:11:27]MH_SAM_APDU [14:11:27]CAPDU: 80 17 00 00 [14:11:27]Write to MH i2c: E2 08 00 16 09 80 17 00 00 00 00 00 00 9F [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:11:27]Read from MH i2c: E2 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 FD 00 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 FD 00 16 09 00 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 90 00 0E [14:11:27]RAPDU: 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 90 00 [14:11:27]wFMCommunicate OK [14:11:27]wFMCommunicate request_size=4 [14:11:27]MH_SAM_APDU [14:11:27]CAPDU: 80 17 00 00 [14:11:27]Write to MH i2c: E2 08 00 17 09 80 17 00 00 00 00 00 00 A0 [14:11:27]Write i2c OK [14:11:27]MH_I2C_Read... [14:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:11:27]Read from MH i2c: E2 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 D3 00 [14:11:27]MH_I2C_Read... [14:11:27]Read from MH i2c: E2 D3 00 17 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [14:11:27]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:27]wFMCommunicate OK [14:11:27]SAM_PROTO_GetShiftData done [14:11:27]requested_item shift.sale.total_cash is exist - process it [14:11:27]requested_item shift.sale_refund.total is exist - process it [14:11:27]requested_item shift.sale_refund.total_cash is exist - process it [14:11:27]produce_requested_data done [14:11:27]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56785,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14253.24,"shift.sale.total_cash":10848.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:11:27]process_action_free close_receipt [14:11:27]json_value_free [14:11:27]json_value_free done [14:11:27]process_json_proto returns [14:11:27]Send response to host [14:11:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56785,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14253.24,"shift.sale.total_cash":10848.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:11:27]free response buf [14:11:27]execute_script done [14:11:27]execute_script returns [14:11:27]free content buf [14:11:27]Sock 9.Close socket [14:11:27]Sock 9.Thread stoped [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:50]OFD Sender: No OFD packet to send [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:54]accept exits with 7 [14:16:54]New connection [14:16:54]New thread 3066637668 created [14:16:54]Thread 3066781028 joined [14:16:54]Waiting for new connection... [14:16:54] Sock 7.Parse request [14:16:54]Sock 7.Check first char [14:16:54]Sock 7.First char is OK [14:16:54]request: POST /json_proto HTTP/1.0 [14:16:54]Method: POST [14:16:54]URL: /json_proto [14:16:54]Method is POST - this is cgi request [14:16:54]url: /json_proto [14:16:54]query_string will be loaded in cgi processing [14:16:54]execute_cgi json_proto POST (null) [14:16:54]execute_cgi path=json_proto method=POST [14:16:54]POST find Content-Length [14:16:54]Host: 172.17.39.4:8080 [14:16:54]Content-Length: 1138 [14:16:54]Content-Type: application/json [14:16:54] [14:16:54]POST finish read [14:16:54]Found Content-Length = 1138 [14:16:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129280", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:16:54]execute_script... [14:16: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)129280", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:16:54]POST & json_proto [14:16:54]process_json_proto [14:16:54]json parsed OK: [14:16:54]protocol is kg_v1.0 [14:16:54]action value=close_receipt [14:16:54]process_action close_receipt [14:16:54]cmd_close_receipt [14:16:54]MH_GetDate [14:16:54]Write to MH i2c: F0 00 00 18 09 10 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: F0 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: F0 09 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: F0 09 00 18 09 00 D9 3A 91 66 2D 25 5D 64 36 [14:16:54]GetLastDocTimeStamp 1720793484 [14:16:54]current date 1720793817 [14:16:54]FM_GetShiftState [14:16:54]SAM_PROTO_GetShiftState [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 13 01 00 [14:16:54]Write to MH i2c: E2 08 00 19 09 80 13 01 00 00 00 00 00 9F [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 19 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 A0 [14:16:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:16:54]wFMCommunicate OK [14:16:54]SAM_PROTO_GetShiftState done [14:16:54]FM_GetShiftState done [14:16:54]opened in 1720744326 [14:16:54]opened+sec_in_day 1720830726 [14:16:54]quantity*price = 11000 [14:16:54]sum+1 = 11001 [14:16:54]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700007110066 Сэндвич с майонезом Талас Даамы 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 54 12.07.2024 14:16 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56786 ФПД: 105415776196732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141657&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56786&fm=105415776196732&tin=02508201610067®Number=0000000000091208&sum=18000 0 [14:16:56]StoreToDocumentArchive [14:16:56]shift 494 fd 56786 [14:16:56]save to /storage/0494/doc_00056786 [14:16:56]save last doc name /storage/0494/doc_00056786 to /storage/kkm_last_doc_name [14:16:56]save OK [14:16:56]Clear old archive folders... [14:16:56]ProcessDocumentItem done err = 0, tmpTLVsize=426 [14:16:56]tlvbuf is 01AE53A0 [14:16:56]SAM_PROTO_ClearQueue [14:16:56]wFMCommunicate request_size=4 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 09 00 00 [14:16:56]Write to MH i2c: E2 08 00 26 09 80 09 00 00 00 00 00 00 A1 [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 26 09 00 90 00 A3 [14:16:56]RAPDU: 90 00 [14:16:56]wFMCommunicate OK [14:16:56]SAM_PROTO_ClearQueue done [14:16:56]KKMCreateOFDPacket [14:16:56]OFDProtocolAddRootSTLVToBuf [14:16:56]FM_MakeSignedData [14:16:56]FM_MakeSignedData [14:16:56]SAM_PROTO_SignData [14:16:56]wFMCommunicate request_size=4 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 0D 01 02 [14:16:56]Write to MH i2c: E2 08 00 27 09 80 0D 01 02 00 00 00 00 A9 [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 27 09 00 90 00 A4 [14:16:56]RAPDU: 90 00 [14:16:56]wFMCommunicate OK [14:16:56]wFMCommunicate request_size=255 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 0D 02 02 FA 03 00 AA 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 [14:16:56]Write to MH i2c: E2 02 01 28 09 80 0D 02 02 FA 00 03 00 AA 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 00 00 F8 [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 28 09 00 90 00 A5 [14:16:56]RAPDU: 90 00 [14:16:56]wFMCommunicate OK [14:16:56]wFMCommunicate request_size=185 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 0D 02 02 B4 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 36 00 00 00 F4 03 04 00 D9 3A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DD 00 00 35 04 06 00 5F E0 05 E4 D8 7C [14:16:56]Write to MH i2c: E2 BC 00 29 09 80 0D 02 02 B4 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 36 00 00 00 F4 03 04 00 D9 3A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DD 00 00 35 04 06 00 5F E0 05 E4 D8 7C 00 00 AF [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 03 00 29 09 00 90 00 A6 [14:16:56]RAPDU: 90 00 [14:16:56]wFMCommunicate OK [14:16:56]wFMCommunicate request_size=4 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 0D 03 02 [14:16:56]Write to MH i2c: E2 08 00 2A 09 80 0D 03 02 00 00 00 00 AE [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 0B 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 0B 00 2A 09 00 BD 0C 86 9B 4B 2B 92 3D 90 00 DE [14:16:56]RAPDU: BD 0C 86 9B 4B 2B 92 3D 90 00 [14:16:56]wFMCommunicate OK [14:16:56]SAM_PROTO_SignData done [14:16:56]FM_MakeSignedData done [14:16:56]CreateOFDProtocolMessage [14:16:56]wFMCommunicate request_size=4 [14:16:56]MH_SAM_APDU [14:16:56]CAPDU: 80 11 00 00 [14:16:56]Write to MH i2c: E2 08 00 2B 09 80 11 00 00 00 00 00 00 AE [14:16:56]Write i2c OK [14:16:56]MH_I2C_Read... [14:16:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:56]Read from MH i2c: E2 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 17 00 [14:16:56]MH_I2C_Read... [14:16:56]Read from MH i2c: E2 17 00 2B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 08 [14:16:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:16:56]wFMCommunicate OK [14:16:56]CreateOFDProtocolMessage done [14:16:56]OFDSenderStorePacket 56786 [14:16:56]StoreOFDPacket docnum=56786 [14:16:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 BE 01 00 00 C5 37 B6 01 BE 62 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 D9 3A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DD 00 00 35 04 06 00 5F E0 05 E4 D8 7C BD 0C 86 9B 4B 2B 92 3D [14:16:56]CheckFolder [14:16:56]dirname=/storage/ofd_packets [14:16:56]CheckFolder done [14:16:56]ProducePacketName [14:16:56]name=ofd_packets/00056786 [14:16:56]NVStorageSaveData ofd_packets/00056786 [14:16:56]File name is /storage/ofd_packets/00056786 [14:16:57]Write 476 bytes [14:16:57]NVStorageSaveData done [14:16:57]OFDSenderStorePacket done [14:16:57]KKMCreateOFDPacket done [14:16:57]NVStorageSaveData kkm_last_timestamp [14:16:57]File name is /storage/kkm_last_timestamp [14:16:57]Write 4 bytes [14:16:57]NVStorageSaveData done [14:16:57]ExternCall_PrintAddStr [14:16:57]wPrintStart [14:16:57]Write to MH i2c: 01 00 00 2C 09 35 [14:16:57]Write i2c OK [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 07 00 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 07 00 2C 09 00 00 00 00 00 FF 0F 4A [14:16:57]RasterBufferAndPrint [14:16:57]line Счет N : (3)129280 [14:16:57]line ИНН: 02508201610067 [14:16:57]line Контрольно-Кассовый Чек [14:16:57]line ПРОДАЖА [14:16:57]line Товар: 4870202521261 [14:16:57]line Напиток MAXI чай 1,2 лесные ягоды [14:16:57]line 1.000 * 110.00 [14:16:57]line = 110.00 [14:16:57]line НДС 12% НСП 1% [14:16:57]line > о реализуемом товаре [14:16:57]line Товар: 4700007110066 [14:16:57]line Сэндвич с майонезом Талас Даамы [14:16:57]line 1.000 * 70.00 [14:16:57]line = 70.00 [14:16:57]line НДС 12% НСП 1% [14:16:57]line > о реализуемом товаре [14:16:57]line ИТОГО: 180.00 [14:16:57]line НСП 1% : 1.59 [14:16:57]line НДС 12% : 19.11 [14:16:57]line Наличными: 180.00 [14:16:57]line Безнал.: 0.00 [14:16:57]line Место: АЗС № 132 "Партнер Нефть" [14:16:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:16:57]line СНО: Общий режим [14:16:57]line Чек 54 12.07.2024 14:16 [14:16:57]line Смена: 494 ФФД: 1.0 [14:16:57]line ЗНМ: 0300000132 [14:16:57]line РНМ: 0000000000091208 [14:16:57]line Версия ККМ: 001 [14:16:57]line ФМ: 0000000000874857 [14:16:57]line ФД: 56786 [14:16:57]line ФПД: 105415776196732 [14:16:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141657&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56786&fm=105415776196732&tin=02508201610067®Number=0000000000091208&sum=18000 [14:16:57]line 0 [14:16:57]written 0, free lines is 4095 [14:16:57]OFD Sender: Processing packet 56786 [packets to send 38, broken 37] [14:16:57]ProducePacketName [14:16:57]name=ofd_packets/00056786 [14:16:57]OFD Sender: To server: pG, [14:16:57]CommunicateWithHost lk.salyk.kg:30040 [14:16:57]ConnectInit lk.salyk.kg [14:16:57]Connected sock=10 [14:16:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 BE 01 00 00 C5 37 B6 01 BE 62 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 D9 3A 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DD 00 00 35 04 06 00 5F E0 05 E4 D8 7C BD 0C 86 9B 4B 2B 92 3D [14:16:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 64 AC 47 00 8D B4 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 38 35 37 10 04 04 00 D2 DD 00 00 F4 03 04 00 30 E1 90 66 B6 04 01 00 00 CE DE 9B FF 3C 1A 2C 4C [14:16:57]CommunicateWithHost err = 0 [14:16:57]CheckOFDResponse [14:16:57]1017 (14) - 77093643461234 [14:16:57]1041 (16) - 0000000000874857 [14:16:57]1040 (4) - 56786 [14:16:57]1012 (4) - 12.07.2024 07:54 [14:16:57]1206 (1) - 0 [14:16:57]OFD Sender: Remove packet 56786 [14:16:57]ProducePacketName [14:16:57]name=ofd_packets/00056786 [14:16:57]NVStorageDeleteData [14:16:57]Write to MH i2c: 01 00 00 5C 09 65 [14:16:57]Write i2c OK [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 07 00 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: 01 07 00 5C 09 00 00 00 00 00 88 0C 00 [14:16:57]RasterBufferAndPrint [14:16:57]line [14:16:57]line [14:16:57]line [14:16:57]line [14:16:57]line [14:16:57]written 0, free lines is 3214 [14:16:57]MH_Cut [14:16:57]Write to MH i2c: D1 01 00 63 09 01 3E [14:16:57]Write i2c OK [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: D1 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: D1 01 00 [14:16:57]MH_I2C_Read... [14:16:57]Read from MH i2c: D1 01 00 63 09 00 3D [14:16:57]Write to MH i2c: 01 00 00 64 09 6D [14:16:57]Write i2c OK [14:16:57]MH_I2C_Read... [14:16:58]OFD Sender: No OFD packet to send [14:16:58]*** Cut start [14:16:58]*** Partial cut [14:16:58]*** CUTSNS_PIN = 1 [14:16:58]*** CUTSNS_PIN = 0 [14:16:58]*** Brake cut motor [14:16:59]Read from MH i2c: 01 [14:16:59]MH_I2C_Read... [14:16:59]*** Stop cut motor [14:16:59]*** Cut end [14:16:59]Read from MH i2c: 01 07 00 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: 01 07 00 64 09 00 00 00 00 00 FF 0F 82 [14:16:59]process_action close_receipt done [14:16:59]requested_data is exist [14:16:59]produce_requested_data [14:16:59]requested_item fm.sn is exist - process it [14:16:59]wFMCommunicate request_size=4 [14:16:59]MH_SAM_APDU [14:16:59]CAPDU: 80 11 00 00 [14:16:59]Write to MH i2c: E2 08 00 65 09 80 11 00 00 00 00 00 00 E8 [14:16:59]Write i2c OK [14:16:59]MH_I2C_Read... [14:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:59]Read from MH i2c: E2 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 17 00 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 17 00 65 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 42 [14:16:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:16:59]wFMCommunicate OK [14:16:59]requested_item fd.num is exist - process it [14:16:59]SAM_PROTO_GetFieldsCounters [14:16:59]wFMCommunicate request_size=4 [14:16:59]MH_SAM_APDU [14:16:59]CAPDU: 80 13 00 00 [14:16:59]Write to MH i2c: E2 08 00 66 09 80 13 00 00 00 00 00 00 EB [14:16:59]Write i2c OK [14:16:59]MH_I2C_Read... [14:16:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:16:59]Read from MH i2c: E2 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 62 00 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 62 00 66 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D2 DD 00 00 0E 04 04 00 EE 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 4E [14:16:59]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D2 DD 00 00 0E 04 04 00 EE 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 [14:16:59]wFMCommunicate OK [14:16:59]SAM_PROTO_GetFieldsCounters done [14:16:59]requested_item shift.num is exist - process it [14:16:59]requested_item shift.opened is exist - process it [14:16:59]req_shift_opened [14:16:59]FM_GetShiftState [14:16:59]SAM_PROTO_GetShiftState [14:16:59]wFMCommunicate request_size=4 [14:16:59]MH_SAM_APDU [14:16:59]CAPDU: 80 13 01 00 [14:16:59]Write to MH i2c: E2 08 00 67 09 80 13 01 00 00 00 00 00 ED [14:16:59]Write i2c OK [14:16:59]MH_I2C_Read... [14:16:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:59]Read from MH i2c: E2 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 0E 00 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 0E 00 67 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 EE [14:16:59]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:16:59]wFMCommunicate OK [14:16:59]SAM_PROTO_GetShiftState done [14:16:59]FM_GetShiftState done [14:16:59]req_shift_opened done [14:16:59]requested_item shift.open_date is exist - process it [14:16:59]req_shift_open_date [14:16:59]req_shift_open_date done [14:16:59]requested_item shift.sale.total is exist - process it [14:16:59]SAM_PROTO_GetShiftData [14:16:59]wFMCommunicate request_size=4 [14:16:59]MH_SAM_APDU [14:16:59]CAPDU: 80 13 02 00 [14:16:59]Write to MH i2c: E2 08 00 68 09 80 13 02 00 00 00 00 00 EF [14:16:59]Write i2c OK [14:16:59]MH_I2C_Read... [14:16:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:16:59]Read from MH i2c: E2 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 FD 00 [14:16:59]MH_I2C_Read... [14:16:59]Read from MH i2c: E2 FD 00 68 09 00 B6 04 AA 04 B2 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 FC 05 16 70 04 03 00 D0 D3 10 72 04 03 00 2C 32 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 C8 56 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 E2 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 38 [14:16:59]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 FC 05 16 70 04 03 00 D0 D3 10 72 04 03 00 2C 32 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 C8 56 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 E2 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:16:59]wFMCommunicate OK [14:16:59]wFMCommunicate request_size=4 [14:16:59]MH_SAM_APDU [14:16:59]CAPDU: 80 17 00 00 [14:16:59]Write to MH i2c: E2 08 00 69 09 80 17 00 00 00 00 00 00 F2 [14:16:59]Write i2c OK [14:16:59]MH_I2C_Read... [14:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:00]Read from MH i2c: E2 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 69 09 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [14:17:00]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:00]wFMCommunicate OK [14:17:00]wFMCommunicate request_size=4 [14:17:00]MH_SAM_APDU [14:17:00]CAPDU: 80 17 00 00 [14:17:00]Write to MH i2c: E2 08 00 6A 09 80 17 00 00 00 00 00 00 F3 [14:17:00]Write i2c OK [14:17:00]MH_I2C_Read... [14:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:00]Read from MH i2c: E2 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 6A 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B3 [14:17:00]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:00]wFMCommunicate OK [14:17:00]wFMCommunicate request_size=4 [14:17:00]MH_SAM_APDU [14:17:00]CAPDU: 80 17 00 00 [14:17:00]Write to MH i2c: E2 08 00 6B 09 80 17 00 00 00 00 00 00 F4 [14:17:00]Write i2c OK [14:17:00]MH_I2C_Read... [14:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:00]Read from MH i2c: E2 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 FD 00 6B 09 00 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 90 00 63 [14:17:00]RAPDU: 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 90 00 [14:17:00]wFMCommunicate OK [14:17:00]wFMCommunicate request_size=4 [14:17:00]MH_SAM_APDU [14:17:00]CAPDU: 80 17 00 00 [14:17:00]Write to MH i2c: E2 08 00 6C 09 80 17 00 00 00 00 00 00 F5 [14:17:00]Write i2c OK [14:17:00]MH_I2C_Read... [14:17:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:17:00]Read from MH i2c: E2 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 D3 00 [14:17:00]MH_I2C_Read... [14:17:00]Read from MH i2c: E2 D3 00 6C 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E2 [14:17:00]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17:00]wFMCommunicate OK [14:17:00]SAM_PROTO_GetShiftData done [14:17:00]requested_item shift.sale.total_cash is exist - process it [14:17:00]requested_item shift.sale_refund.total is exist - process it [14:17:00]requested_item shift.sale_refund.total_cash is exist - process it [14:17:00]produce_requested_data done [14:17:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56786,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14433.24,"shift.sale.total_cash":11028.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:17:00]process_action_free close_receipt [14:17:00]json_value_free [14:17:00]json_value_free done [14:17:00]process_json_proto returns [14:17:00]Send response to host [14:17:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56786,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14433.24,"shift.sale.total_cash":11028.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:17:00]free response buf [14:17:00]execute_script done [14:17:00]execute_script returns [14:17:00]free content buf [14:17:00]Sock 7.Close socket [14:17:00]Sock 7.Thread stoped [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:29]accept exits with 9 [14:18:29]New connection [14:18:29]New thread 3066781028 created [14:18:29]Thread 3066637668 joined [14:18:29]Waiting for new connection... [14:18:29] Sock 9.Parse request [14:18:29]Sock 9.Check first char [14:18:29]Sock 9.First char is OK [14:18:29]request: POST /json_proto HTTP/1.0 [14:18:29]Method: POST [14:18:29]URL: /json_proto [14:18:29]Method is POST - this is cgi request [14:18:29]url: /json_proto [14:18:29]query_string will be loaded in cgi processing [14:18:29]execute_cgi json_proto POST (null) [14:18:29]execute_cgi path=json_proto method=POST [14:18:29]POST find Content-Length [14:18:29]Host: 172.17.39.4:8080 [14:18:29]Content-Length: 925 [14:18:29]Content-Type: application/json [14:18:29] [14:18:29]POST finish read [14:18:29]Found Content-Length = 925 [14:18:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129281", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:18:29]execute_script... [14:18: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)129281", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:18:29]POST & json_proto [14:18:29]process_json_proto [14:18:29]json parsed OK: [14:18:29]protocol is kg_v1.0 [14:18:29]action value=close_receipt [14:18:29]process_action close_receipt [14:18:29]cmd_close_receipt [14:18:29]MH_GetDate [14:18:29]Write to MH i2c: F0 00 00 6D 09 65 [14:18:29]Write i2c OK [14:18:29]MH_I2C_Read... [14:18:29]Read from MH i2c: F0 [14:18:29]MH_I2C_Read... [14:18:29]Read from MH i2c: F0 09 00 [14:18:29]MH_I2C_Read... [14:18:29]Read from MH i2c: F0 09 00 6D 09 00 38 3B 91 66 2D 25 5D 64 EB [14:18:29]GetLastDocTimeStamp 1720793817 [14:18:29]current date 1720793912 [14:18:29]FM_GetShiftState [14:18:29]SAM_PROTO_GetShiftState [14:18:29]wFMCommunicate request_size=4 [14:18:29]MH_SAM_APDU [14:18:29]CAPDU: 80 13 01 00 [14:18:29]Write to MH i2c: E2 08 00 6E 09 80 13 01 00 00 00 00 00 F4 [14:18:29]Write i2c OK [14:18:29]MH_I2C_Read... [14:18:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:18:29]Read from MH i2c: E2 [14:18:29]MH_I2C_Read... [14:18:29]Read from MH i2c: E2 0E 00 [14:18:29]MH_I2C_Read... [14:18:29]Read from MH i2c: E2 0E 00 6E 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F5 [14:18:29]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:18:29]wFMCommunicate OK [14:18:29]SAM_PROTO_GetShiftState done [14:18:29]FM_GetShiftState done [14:18:29]opened in 1720744326 [14:18:29]opened+sec_in_day 1720830726 [14:18:29]quantity*price = 40500 [14:18:29]sum+1 = 40501 [14:18:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 0.00 Безнал.: 405.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 55 12.07.2024 14:18 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56787 ФПД: 219087330536177 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141832&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56787&fm=219087330536177&tin=02508201610067®Number=0000000000091208&sum=40500 0 [14:18:30]StoreToDocumentArchive [14:18:30]shift 494 fd 56787 [14:18:30]save to /storage/0494/doc_00056787 [14:18:30]save last doc name /storage/0494/doc_00056787 to /storage/kkm_last_doc_name [14:18:30]save OK [14:18:30]Clear old archive folders... [14:18:31]ProcessDocumentItem done err = 0, tmpTLVsize=280 [14:18:31]tlvbuf is 01B08720 [14:18:31]SAM_PROTO_ClearQueue [14:18:31]wFMCommunicate request_size=4 [14:18:31]MH_SAM_APDU [14:18:31]CAPDU: 80 09 00 00 [14:18:31]Write to MH i2c: E2 08 00 7B 09 80 09 00 00 00 00 00 00 F6 [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 7B 09 00 90 00 F8 [14:18:31]RAPDU: 90 00 [14:18:31]wFMCommunicate OK [14:18:31]SAM_PROTO_ClearQueue done [14:18:31]KKMCreateOFDPacket [14:18:31]OFDProtocolAddRootSTLVToBuf [14:18:31]FM_MakeSignedData [14:18:31]FM_MakeSignedData [14:18:31]SAM_PROTO_SignData [14:18:31]wFMCommunicate request_size=4 [14:18:31]MH_SAM_APDU [14:18:31]CAPDU: 80 0D 01 02 [14:18:31]Write to MH i2c: E2 08 00 7C 09 80 0D 01 02 00 00 00 00 FE [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 7C 09 00 90 00 F9 [14:18:31]RAPDU: 90 00 [14:18:31]wFMCommunicate OK [14:18:31]wFMCommunicate request_size=255 [14:18:31]MH_SAM_APDU [14:18:31]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 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 38 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [14:18:31]Write to MH i2c: E2 02 01 7D 09 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 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 38 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 84 [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 7D 09 00 90 00 FA [14:18:31]RAPDU: 90 00 [14:18:31]wFMCommunicate OK [14:18:31]wFMCommunicate request_size=39 [14:18:31]MH_SAM_APDU [14:18:31]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DD 00 00 35 04 06 00 C7 42 3E 82 EA F1 [14:18:31]Write to MH i2c: E2 2A 00 7E 09 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DD 00 00 35 04 06 00 C7 42 3E 82 EA F1 00 00 17 [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 03 00 7E 09 00 90 00 FB [14:18:31]RAPDU: 90 00 [14:18:31]wFMCommunicate OK [14:18:31]wFMCommunicate request_size=4 [14:18:31]MH_SAM_APDU [14:18:31]CAPDU: 80 0D 03 02 [14:18:31]Write to MH i2c: E2 08 00 7F 09 80 0D 03 02 00 00 00 00 03 [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 0B 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 0B 00 7F 09 00 AA 32 E7 B4 FE 2F 4D 0D 90 00 02 [14:18:31]RAPDU: AA 32 E7 B4 FE 2F 4D 0D 90 00 [14:18:31]wFMCommunicate OK [14:18:31]SAM_PROTO_SignData done [14:18:31]FM_MakeSignedData done [14:18:31]CreateOFDProtocolMessage [14:18:31]wFMCommunicate request_size=4 [14:18:31]MH_SAM_APDU [14:18:31]CAPDU: 80 11 00 00 [14:18:31]Write to MH i2c: E2 08 00 80 09 80 11 00 00 00 00 00 00 03 [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:18:31]Read from MH i2c: E2 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 17 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: E2 17 00 80 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5D [14:18:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:18:31]wFMCommunicate OK [14:18:31]CreateOFDProtocolMessage done [14:18:31]OFDSenderStorePacket 56787 [14:18:31]StoreOFDPacket docnum=56787 [14:18:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 64 79 24 01 7F 0C 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 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 38 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DD 00 00 35 04 06 00 C7 42 3E 82 EA F1 AA 32 E7 B4 FE 2F 4D 0D [14:18:31]CheckFolder [14:18:31]dirname=/storage/ofd_packets [14:18:31]CheckFolder done [14:18:31]ProducePacketName [14:18:31]name=ofd_packets/00056787 [14:18:31]NVStorageSaveData ofd_packets/00056787 [14:18:31]File name is /storage/ofd_packets/00056787 [14:18:31]Write 330 bytes [14:18:31]NVStorageSaveData done [14:18:31]OFDSenderStorePacket done [14:18:31]KKMCreateOFDPacket done [14:18:31]NVStorageSaveData kkm_last_timestamp [14:18:31]File name is /storage/kkm_last_timestamp [14:18:31]Write 4 bytes [14:18:31]NVStorageSaveData done [14:18:31]ExternCall_PrintAddStr [14:18:31]wPrintStart [14:18:31]Write to MH i2c: 01 00 00 81 09 8A [14:18:31]Write i2c OK [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: 01 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: 01 07 00 [14:18:31]MH_I2C_Read... [14:18:31]Read from MH i2c: 01 07 00 81 09 00 00 00 00 00 FF 0F 9F [14:18:31]RasterBufferAndPrint [14:18:31]line Счет N : (3)129281 [14:18:31]line ИНН: 02508201610067 [14:18:31]line Контрольно-Кассовый Чек [14:18:31]line ПРОДАЖА [14:18:31]line Товар: 4650063110756 [14:18:31]line Масло Gazpromneft Super 10w40 1л [14:18:31]line 1.000 * 405.00 [14:18:31]line = 405.00 [14:18:31]line НДС 12% НСП 1% [14:18:31]line > о реализуемом товаре [14:18:31]line ИТОГО: 405.00 [14:18:31]line НСП 1% : 3.58 [14:18:31]line НДС 12% : 43.01 [14:18:31]line Наличными: 0.00 [14:18:31]line Безнал.: 405.00 [14:18:31]line Место: АЗС № 132 "Партнер Нефть" [14:18:31]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:18:31]line СНО: Общий режим [14:18:31]line Чек 55 12.07.2024 14:18 [14:18:31]line Смена: 494 ФФД: 1.0 [14:18:31]line ЗНМ: 0300000132 [14:18:31]line РНМ: 0000000000091208 [14:18:31]line Версия ККМ: 001 [14:18:31]line Платежная система: АКБ Кыргызстан [14:18:31]line ФМ: 0000000000874857 [14:18:31]line ФД: 56787 [14:18:31]line ФПД: 219087330536177 [14:18:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T141832&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56787&fm=219087330536177&tin=02508201610067®Number=0000000000091208&sum=40500 [14:18:31]line 0 [14:18:31]written 0, free lines is 4095 [14:18:31]OFD Sender: Processing packet 56787 [packets to send 38, broken 37] [14:18:31]ProducePacketName [14:18:31]name=ofd_packets/00056787 [14:18:31]OFD Sender: To server: pG, [14:18:31]CommunicateWithHost lk.salyk.kg:30040 [14:18:31]ConnectInit lk.salyk.kg [14:18:32]Connected sock=10 [14:18: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 38 35 37 2C 01 00 00 64 79 24 01 7F 0C 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 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 38 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DD 00 00 35 04 06 00 C7 42 3E 82 EA F1 AA 32 E7 B4 FE 2F 4D 0D [14:18:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B6 36 47 00 31 86 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 38 35 37 10 04 04 00 D3 DD 00 00 F4 03 04 00 8F E1 90 66 B6 04 01 00 00 C3 70 C5 F1 D1 88 63 86 [14:18:32]CommunicateWithHost err = 0 [14:18:32]CheckOFDResponse [14:18:32]1017 (14) - 77093643461234 [14:18:32]1041 (16) - 0000000000874857 [14:18:32]1040 (4) - 56787 [14:18:32]1012 (4) - 12.07.2024 07:55 [14:18:32]1206 (1) - 0 [14:18:32]OFD Sender: Remove packet 56787 [14:18:32]ProducePacketName [14:18:32]name=ofd_packets/00056787 [14:18:32]NVStorageDeleteData [14:18:32]Write to MH i2c: 01 00 00 AC 09 B5 [14:18:32]Write i2c OK [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: 01 [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: 01 07 00 [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: 01 07 00 AC 09 00 00 00 00 00 D8 0C A0 [14:18:32]RasterBufferAndPrint [14:18:32]line [14:18:32]line [14:18:32]line [14:18:32]line [14:18:32]line [14:18:32]written 0, free lines is 3294 [14:18:32]MH_Cut [14:18:32]Write to MH i2c: D1 01 00 B3 09 01 8E [14:18:32]Write i2c OK [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: D1 [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: D1 01 00 [14:18:32]MH_I2C_Read... [14:18:32]Read from MH i2c: D1 01 00 B3 09 00 8D [14:18:32]Write to MH i2c: 01 00 00 B4 09 BD [14:18:32]Write i2c OK [14:18:32]MH_I2C_Read... [14:18:32]OFD Sender: No OFD packet to send [14:18:33]*** Cut start [14:18:33]*** Partial cut [14:18:33]*** CUTSNS_PIN = 1 [14:18:33]*** CUTSNS_PIN = 0 [14:18:33]*** Brake cut motor [14:18:33]Read from MH i2c: 01 [14:18:33]MH_I2C_Read... [14:18:33]*** Stop cut motor [14:18:33]*** Cut end [14:18:33]Read from MH i2c: 01 07 00 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: 01 07 00 B4 09 00 00 00 00 00 FF 0F D2 [14:18:33]process_action close_receipt done [14:18:33]requested_data is exist [14:18:33]produce_requested_data [14:18:33]requested_item fm.sn is exist - process it [14:18:33]wFMCommunicate request_size=4 [14:18:33]MH_SAM_APDU [14:18:33]CAPDU: 80 11 00 00 [14:18:33]Write to MH i2c: E2 08 00 B5 09 80 11 00 00 00 00 00 00 38 [14:18:33]Write i2c OK [14:18:33]MH_I2C_Read... [14:18:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:18:33]Read from MH i2c: E2 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 17 00 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 17 00 B5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 92 [14:18:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:18:33]wFMCommunicate OK [14:18:33]requested_item fd.num is exist - process it [14:18:33]SAM_PROTO_GetFieldsCounters [14:18:33]wFMCommunicate request_size=4 [14:18:33]MH_SAM_APDU [14:18:33]CAPDU: 80 13 00 00 [14:18:33]Write to MH i2c: E2 08 00 B6 09 80 13 00 00 00 00 00 00 3B [14:18:33]Write i2c OK [14:18:33]MH_I2C_Read... [14:18:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:18:33]Read from MH i2c: E2 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 62 00 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 62 00 B6 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D3 DD 00 00 0E 04 04 00 EE 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 A2 [14:18: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D3 DD 00 00 0E 04 04 00 EE 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 [14:18:33]wFMCommunicate OK [14:18:33]SAM_PROTO_GetFieldsCounters done [14:18:33]requested_item shift.num is exist - process it [14:18:33]requested_item shift.opened is exist - process it [14:18:33]req_shift_opened [14:18:33]FM_GetShiftState [14:18:33]SAM_PROTO_GetShiftState [14:18:33]wFMCommunicate request_size=4 [14:18:33]MH_SAM_APDU [14:18:33]CAPDU: 80 13 01 00 [14:18:33]Write to MH i2c: E2 08 00 B7 09 80 13 01 00 00 00 00 00 3D [14:18:33]Write i2c OK [14:18:33]MH_I2C_Read... [14:18:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:18:33]Read from MH i2c: E2 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 0E 00 [14:18:33]MH_I2C_Read... [14:18:33]Read from MH i2c: E2 0E 00 B7 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 3E [14:18:33]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:18:33]wFMCommunicate OK [14:18:33]SAM_PROTO_GetShiftState done [14:18:33]FM_GetShiftState done [14:18:33]req_shift_opened done [14:18:33]requested_item shift.open_date is exist - process it [14:18:33]req_shift_open_date [14:18:33]req_shift_open_date done [14:18:33]requested_item shift.sale.total is exist - process it [14:18:33]SAM_PROTO_GetShiftData [14:18:33]wFMCommunicate request_size=4 [14:18:33]MH_SAM_APDU [14:18:33]CAPDU: 80 13 02 00 [14:18:33]Write to MH i2c: E2 08 00 B8 09 80 13 02 00 00 00 00 00 3F [14:18:33]Write i2c OK [14:18:33]MH_I2C_Read... [14:18:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:18:34]Read from MH i2c: E2 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 B8 09 00 B6 04 AA 04 B2 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 30 A4 16 70 04 03 00 D0 D3 10 72 04 03 00 60 D0 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 95 67 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 48 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 75 [14:18:34]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 30 A4 16 70 04 03 00 D0 D3 10 72 04 03 00 60 D0 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 95 67 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 48 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:18:34]wFMCommunicate OK [14:18:34]wFMCommunicate request_size=4 [14:18:34]MH_SAM_APDU [14:18:34]CAPDU: 80 17 00 00 [14:18:34]Write to MH i2c: E2 08 00 B9 09 80 17 00 00 00 00 00 00 42 [14:18:34]Write i2c OK [14:18:34]MH_I2C_Read... [14:18:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:18:34]Read from MH i2c: E2 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 B9 09 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [14:18:34]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:18:34]wFMCommunicate OK [14:18:34]wFMCommunicate request_size=4 [14:18:34]MH_SAM_APDU [14:18:34]CAPDU: 80 17 00 00 [14:18:34]Write to MH i2c: E2 08 00 BA 09 80 17 00 00 00 00 00 00 43 [14:18:34]Write i2c OK [14:18:34]MH_I2C_Read... [14:18:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:18:34]Read from MH i2c: E2 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 [14:18:34]MH_I2C_Read... [14:18:34]Read from MH i2c: E2 FD 00 BA 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [14:18:35]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:18:35]wFMCommunicate OK [14:18:35]wFMCommunicate request_size=4 [14:18:35]MH_SAM_APDU [14:18:35]CAPDU: 80 17 00 00 [14:18:35]Write to MH i2c: E2 08 00 BB 09 80 17 00 00 00 00 00 00 44 [14:18:35]Write i2c OK [14:18:35]MH_I2C_Read... [14:18:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:18:35]Read from MH i2c: E2 [14:18:35]MH_I2C_Read... [14:18:35]Read from MH i2c: E2 FD 00 [14:18:35]MH_I2C_Read... [14:18:35]Read from MH i2c: E2 FD 00 BB 09 00 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 90 00 B3 [14:18:35]RAPDU: 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 90 00 [14:18:35]wFMCommunicate OK [14:18:35]wFMCommunicate request_size=4 [14:18:35]MH_SAM_APDU [14:18:35]CAPDU: 80 17 00 00 [14:18:35]Write to MH i2c: E2 08 00 BC 09 80 17 00 00 00 00 00 00 45 [14:18:35]Write i2c OK [14:18:35]MH_I2C_Read... [14:18:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:18:35]Read from MH i2c: E2 [14:18:35]MH_I2C_Read... [14:18:35]Read from MH i2c: E2 D3 00 [14:18:35]MH_I2C_Read... [14:18:35]Read from MH i2c: E2 D3 00 BC 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 32 [14:18:35]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:18:35]wFMCommunicate OK [14:18:35]SAM_PROTO_GetShiftData done [14:18:35]requested_item shift.sale.total_cash is exist - process it [14:18:35]requested_item shift.sale_refund.total is exist - process it [14:18:35]requested_item shift.sale_refund.total_cash is exist - process it [14:18:35]produce_requested_data done [14:18:35]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56787,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14838.24,"shift.sale.total_cash":11028.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:18:35]process_action_free close_receipt [14:18:35]json_value_free [14:18:35]json_value_free done [14:18:35]process_json_proto returns [14:18:35]Send response to host [14:18:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56787,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":14838.24,"shift.sale.total_cash":11028.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:18:35]free response buf [14:18:35]execute_script done [14:18:35]execute_script returns [14:18:35]free content buf [14:18:35]Sock 9.Close socket [14:18:35]Sock 9.Thread stoped [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]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:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:44]accept exits with 7 [14:21:44]New connection [14:21:44]New thread 3066637668 created [14:21:44]Thread 3066781028 joined [14:21:44]Waiting for new connection... [14:21:44] Sock 7.Parse request [14:21:44]Sock 7.Check first char [14:21:44]Sock 7.First char is OK [14:21:44]request: POST /json_proto HTTP/1.0 [14:21:44]Method: POST [14:21:44]URL: /json_proto [14:21:44]Method is POST - this is cgi request [14:21:44]url: /json_proto [14:21:44]query_string will be loaded in cgi processing [14:21:44]execute_cgi json_proto POST (null) [14:21:44]execute_cgi path=json_proto method=POST [14:21:44]POST find Content-Length [14:21:44]Host: 172.17.39.4:8080 [14:21:44]Content-Length: 781 [14:21:44]Content-Type: application/json [14:21:44] [14:21:44]POST finish read [14:21:44]Found Content-Length = 781 [14:21:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854218", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:21:44]execute_script... [14:21: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 : (1)854218", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:21:44]POST & json_proto [14:21:44]process_json_proto [14:21:44]json parsed OK: [14:21:44]protocol is kg_v1.0 [14:21:44]action value=close_receipt [14:21:44]process_action close_receipt [14:21:44]cmd_close_receipt [14:21:44]MH_GetDate [14:21:44]Write to MH i2c: F0 00 00 BD 09 B5 [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 09 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 09 00 BD 09 00 FB 3B 91 66 2D 25 5D 64 FE [14:21:44]GetLastDocTimeStamp 1720793912 [14:21:44]current date 1720794107 [14:21:44]FM_GetShiftState [14:21:44]SAM_PROTO_GetShiftState [14:21:44]wFMCommunicate request_size=4 [14:21:44]MH_SAM_APDU [14:21:44]CAPDU: 80 13 01 00 [14:21:44]Write to MH i2c: E2 08 00 BE 09 80 13 01 00 00 00 00 00 44 [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:44]Read from MH i2c: E2 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 0E 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 0E 00 BE 09 00 09 00 01 86 79 90 66 00 00 00 00 90 00 45 [14:21:44]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:21:44]wFMCommunicate OK [14:21:44]SAM_PROTO_GetShiftState done [14:21:44]FM_GetShiftState done [14:21:44]opened in 1720744326 [14:21:44]opened+sec_in_day 1720830726 [14:21:44]quantity*price = 30033 [14:21:44]sum+1 = 30035 [14:21:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.34 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 56 12.07.2024 14:21 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56788 ФПД: 47101865778191 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142147&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56788&fm=47101865778191&tin=02508201610067®Number=0000000000091208&sum=30000 [14:21:46]StoreToDocumentArchive [14:21:46]shift 494 fd 56788 [14:21:46]save to /storage/0494/doc_00056788 [14:21:46]save last doc name /storage/0494/doc_00056788 to /storage/kkm_last_doc_name [14:21:46]save OK [14:21:46]Clear old archive folders... [14:21:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:21:46]tlvbuf is 01AF13A0 [14:21:46]SAM_PROTO_ClearQueue [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 09 00 00 [14:21:46]Write to MH i2c: E2 08 00 CB 09 80 09 00 00 00 00 00 00 46 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 CB 09 00 90 00 48 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]SAM_PROTO_ClearQueue done [14:21:46]KKMCreateOFDPacket [14:21:46]OFDProtocolAddRootSTLVToBuf [14:21:46]FM_MakeSignedData [14:21:46]FM_MakeSignedData [14:21:46]SAM_PROTO_SignData [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 01 02 [14:21:46]Write to MH i2c: E2 08 00 CC 09 80 0D 01 02 00 00 00 00 4E [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 CC 09 00 90 00 49 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=255 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 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 FB 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DD 00 00 35 04 06 00 2A [14:21:46]Write to MH i2c: E2 02 01 CD 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 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 FB 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DD 00 00 35 04 06 00 2A 00 00 E8 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 CD 09 00 90 00 4A [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=10 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 02 02 05 D6 C1 FA 5C 0F [14:21:46]Write to MH i2c: E2 0D 00 CE 09 80 0D 02 02 05 00 D6 C1 FA 5C 0F 00 00 57 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 CE 09 00 90 00 4B [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 03 02 [14:21:46]Write to MH i2c: E2 08 00 CF 09 80 0D 03 02 00 00 00 00 53 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 0B 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 0B 00 CF 09 00 7F 6D 99 DD 23 66 F6 81 90 00 B6 [14:21:46]RAPDU: 7F 6D 99 DD 23 66 F6 81 90 00 [14:21:46]wFMCommunicate OK [14:21:46]SAM_PROTO_SignData done [14:21:46]FM_MakeSignedData done [14:21:46]CreateOFDProtocolMessage [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 11 00 00 [14:21:46]Write to MH i2c: E2 08 00 D0 09 80 11 00 00 00 00 00 00 53 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 17 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 17 00 D0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AD [14:21:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:21:46]wFMCommunicate OK [14:21:46]CreateOFDProtocolMessage done [14:21:46]OFDSenderStorePacket 56788 [14:21:46]StoreOFDPacket docnum=56788 [14:21:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 1A 3A 07 01 19 1D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 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 FB 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DD 00 00 35 04 06 00 2A D6 C1 FA 5C 0F 7F 6D 99 DD 23 66 F6 81 [14:21:46]CheckFolder [14:21:46]dirname=/storage/ofd_packets [14:21:46]CheckFolder done [14:21:46]ProducePacketName [14:21:46]name=ofd_packets/00056788 [14:21:46]NVStorageSaveData ofd_packets/00056788 [14:21:46]File name is /storage/ofd_packets/00056788 [14:21:46]Write 301 bytes [14:21:46]NVStorageSaveData done [14:21:46]OFDSenderStorePacket done [14:21:46]KKMCreateOFDPacket done [14:21:46]NVStorageSaveData kkm_last_timestamp [14:21:46]File name is /storage/kkm_last_timestamp [14:21:46]Write 4 bytes [14:21:46]NVStorageSaveData done [14:21:46]ExternCall_PrintAddStr [14:21:46]wPrintStart [14:21:46]Write to MH i2c: 01 00 00 D1 09 DA [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 07 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 07 00 D1 09 00 00 00 00 00 FF 0F EF [14:21:46]RasterBufferAndPrint [14:21:46]line Счет N : (1)854218 [14:21:46]line ИНН: 02508201610067 [14:21:46]line Контрольно-Кассовый Чек [14:21:46]line ПРОДАЖА [14:21:46]line ТРК (МРК, ГНК) : 63 [14:21:46]line Товар: 2710124130 [14:21:46]line Аи-92-К-5 [14:21:46]line 4.530 * 66.30 [14:21:46]line = 300.34 [14:21:46]line НДС 12% НСП 1% [14:21:46]line > о реализуемом товаре [14:21:46]line ОКРУГЛЕНИЕ: -0.34 [14:21:46]line ИТОГО: 300.00 [14:21:46]line Внесено: 300.00 [14:21:46]line СДАЧА: 0.00 [14:21:46]line НСП 1% : 2.66 [14:21:46]line НДС 12% : 31.89 [14:21:46]line Наличными: 300.00 [14:21:46]line Безнал.: 0.00 [14:21:46]line Место: АЗС № 132 "Партнер Нефть" [14:21:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:21:46]line СНО: Общий режим [14:21:46]line Чек 56 12.07.2024 14:21 [14:21:46]line Смена: 494 ФФД: 1.0 [14:21:46]line ЗНМ: 0300000132 [14:21:46]line РНМ: 0000000000091208 [14:21:46]line Версия ККМ: 001 [14:21:46]line ФМ: 0000000000874857 [14:21:46]line ФД: 56788 [14:21:46]line ФПД: 47101865778191 [14:21:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142147&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56788&fm=47101865778191&tin=02508201610067®Number=0000000000091208&sum=30000 [14:21:46]OFD Sender: Processing packet 56788 [packets to send 38, broken 37] [14:21:46]ProducePacketName [14:21:46]name=ofd_packets/00056788 [14:21:46]OFD Sender: To server: pG, [14:21:46]CommunicateWithHost lk.salyk.kg:30040 [14:21:46]ConnectInit lk.salyk.kg [14:21:46]written 0, free lines is 4095 [14:21:47]Connected sock=10 [14:21: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 38 35 37 0F 01 00 00 1A 3A 07 01 19 1D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 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 FB 3B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DD 00 00 35 04 06 00 2A D6 C1 FA 5C 0F 7F 6D 99 DD 23 66 F6 81 [14:21:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D0 E7 47 00 45 86 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 38 35 37 10 04 04 00 D4 DD 00 00 F4 03 04 00 52 E2 90 66 B6 04 01 00 00 C6 E4 DD C4 D2 23 7D C9 [14:21:47]CommunicateWithHost err = 0 [14:21:47]CheckOFDResponse [14:21:47]1017 (14) - 77093643461234 [14:21:47]1041 (16) - 0000000000874857 [14:21:47]1040 (4) - 56788 [14:21:47]1012 (4) - 12.07.2024 07:59 [14:21:47]1206 (1) - 0 [14:21:47]OFD Sender: Remove packet 56788 [14:21:47]ProducePacketName [14:21:47]name=ofd_packets/00056788 [14:21:47]NVStorageDeleteData [14:21:47]Write to MH i2c: 01 00 00 FC 09 05 [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 07 00 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 07 00 FC 09 00 00 00 00 00 EA 0C 02 [14:21:47]RasterBufferAndPrint [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]written 0, free lines is 3312 [14:21:47]MH_Cut [14:21:47]Write to MH i2c: D1 01 00 03 0A 01 DF [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 01 00 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 01 00 03 0A 00 DE [14:21:47]Write to MH i2c: 01 00 00 04 0A 0E [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]OFD Sender: No OFD packet to send [14:21:48]*** Cut start [14:21:48]*** Partial cut [14:21:48]*** CUTSNS_PIN = 1 [14:21:48]*** CUTSNS_PIN = 0 [14:21:48]*** Brake cut motor [14:21:48]Read from MH i2c: 01 [14:21:48]MH_I2C_Read... [14:21:48]*** Stop cut motor [14:21:48]*** Cut end [14:21:48]Read from MH i2c: 01 07 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: 01 07 00 04 0A 00 00 00 00 00 FF 0F 23 [14:21:48]process_action close_receipt done [14:21:48]requested_data is exist [14:21:48]produce_requested_data [14:21:48]requested_item fm.sn is exist - process it [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 11 00 00 [14:21:48]Write to MH i2c: E2 08 00 05 0A 80 11 00 00 00 00 00 00 89 [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 17 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 17 00 05 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E3 [14:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:21:48]wFMCommunicate OK [14:21:48]requested_item fd.num is exist - process it [14:21:48]SAM_PROTO_GetFieldsCounters [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 13 00 00 [14:21:48]Write to MH i2c: E2 08 00 06 0A 80 13 00 00 00 00 00 00 8C [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 62 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 62 00 06 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D4 DD 00 00 0E 04 04 00 EE 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 F7 [14:21:48]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D4 DD 00 00 0E 04 04 00 EE 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 [14:21:48]wFMCommunicate OK [14:21:48]SAM_PROTO_GetFieldsCounters done [14:21:48]requested_item shift.num is exist - process it [14:21:48]requested_item shift.opened is exist - process it [14:21:48]req_shift_opened [14:21:48]FM_GetShiftState [14:21:48]SAM_PROTO_GetShiftState [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 13 01 00 [14:21:48]Write to MH i2c: E2 08 00 07 0A 80 13 01 00 00 00 00 00 8E [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 0E 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 0E 00 07 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 8F [14:21:48]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:21:48]wFMCommunicate OK [14:21:48]SAM_PROTO_GetShiftState done [14:21:48]FM_GetShiftState done [14:21:48]req_shift_opened done [14:21:48]requested_item shift.open_date is exist - process it [14:21:48]req_shift_open_date [14:21:48]req_shift_open_date done [14:21:48]requested_item shift.sale.total is exist - process it [14:21:48]SAM_PROTO_GetShiftData [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 13 02 00 [14:21:48]Write to MH i2c: E2 08 00 08 0A 80 13 02 00 00 00 00 00 90 [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:21:49]Read from MH i2c: E2 [14:21:49]MH_I2C_Read... [14:21:49]Read from MH i2c: E2 FD 00 [14:21:49]MH_I2C_Read... [14:21:49]Read from MH i2c: E2 FD 00 08 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 60 19 17 70 04 03 00 00 49 11 72 04 03 00 60 D0 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 0A 74 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 52 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 A2 [14:21:49]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 60 19 17 70 04 03 00 00 49 11 72 04 03 00 60 D0 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 0A 74 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 52 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:21:49]wFMCommunicate OK [14:21:49]wFMCommunicate request_size=4 [14:21:49]MH_SAM_APDU [14:21:49]CAPDU: 80 17 00 00 [14:21:49]Write to MH i2c: E2 08 00 09 0A 80 17 00 00 00 00 00 00 93 [14:21:49]Write i2c OK [14:21:49]MH_I2C_Read... [14:21:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:21:49]Read from MH i2c: E2 [14:21:49]MH_I2C_Read... [14:21:49]Read from MH i2c: E2 FD 00 [14:21:49]MH_I2C_Read... [14:21:49]Read from MH i2c: E2 FD 00 09 0A 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [14:21:49]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:21:49]wFMCommunicate OK [14:21:49]wFMCommunicate request_size=4 [14:21:49]MH_SAM_APDU [14:21:49]CAPDU: 80 17 00 00 [14:21:49]Write to MH i2c: E2 08 00 0A 0A 80 17 00 00 00 00 00 00 94 [14:21:49]Write i2c OK [14:21:49]MH_I2C_Read... [14:21:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:21:49]Read from MH i2c: E2 [14:21:49]MH_I2C_Read... [14:21:49]Read from MH i2c: E2 FD 00 [14:21:49]MH_I2C_Read... [14:21:50]Read from MH i2c: E2 FD 00 0A 0A 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [14:21:50]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:21:50]wFMCommunicate OK [14:21:50]wFMCommunicate request_size=4 [14:21:50]MH_SAM_APDU [14:21:50]CAPDU: 80 17 00 00 [14:21:50]Write to MH i2c: E2 08 00 0B 0A 80 17 00 00 00 00 00 00 95 [14:21:50]Write i2c OK [14:21:50]MH_I2C_Read... [14:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:21:50]Read from MH i2c: E2 [14:21:50]MH_I2C_Read... [14:21:50]Read from MH i2c: E2 FD 00 [14:21:50]MH_I2C_Read... [14:21:50]Read from MH i2c: E2 FD 00 0B 0A 00 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 90 00 04 [14:21:50]RAPDU: 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 90 00 [14:21:50]wFMCommunicate OK [14:21:50]wFMCommunicate request_size=4 [14:21:50]MH_SAM_APDU [14:21:50]CAPDU: 80 17 00 00 [14:21:50]Write to MH i2c: E2 08 00 0C 0A 80 17 00 00 00 00 00 00 96 [14:21:50]Write i2c OK [14:21:50]MH_I2C_Read... [14:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:21:50]Read from MH i2c: E2 [14:21:50]MH_I2C_Read... [14:21:50]Read from MH i2c: E2 D3 00 [14:21:50]MH_I2C_Read... [14:21:50]Read from MH i2c: E2 D3 00 0C 0A 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [14:21:50]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:21:50]wFMCommunicate OK [14:21:50]SAM_PROTO_GetShiftData done [14:21:50]requested_item shift.sale.total_cash is exist - process it [14:21:50]requested_item shift.sale_refund.total is exist - process it [14:21:50]requested_item shift.sale_refund.total_cash is exist - process it [14:21:50]produce_requested_data done [14:21:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56788,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15138.24,"shift.sale.total_cash":11328.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:21:50]process_action_free close_receipt [14:21:50]json_value_free [14:21:50]json_value_free done [14:21:50]process_json_proto returns [14:21:50]Send response to host [14:21:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56788,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15138.24,"shift.sale.total_cash":11328.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:21:50]free response buf [14:21:50]execute_script done [14:21:50]execute_script returns [14:21:50]free content buf [14:21:50]Sock 7.Close socket [14:21:50]Sock 7.Thread stoped [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:21]accept exits with 9 [14:22:21]New connection [14:22:21]New thread 3066781028 created [14:22:21]Thread 3066637668 joined [14:22:21]Waiting for new connection... [14:22:21] Sock 9.Parse request [14:22:21]Sock 9.Check first char [14:22:21]Sock 9.First char is OK [14:22:21]request: POST /json_proto HTTP/1.0 [14:22:21]Method: POST [14:22:21]URL: /json_proto [14:22:21]Method is POST - this is cgi request [14:22:21]url: /json_proto [14:22:21]query_string will be loaded in cgi processing [14:22:21]execute_cgi json_proto POST (null) [14:22:21]execute_cgi path=json_proto method=POST [14:22:21]POST find Content-Length [14:22:21]Host: 172.17.39.4:8080 [14:22:21]Content-Length: 1022 [14:22:21]Content-Type: application/json [14:22:21] [14:22:21]POST finish read [14:22:21]Found Content-Length = 1022 [14:22:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129282", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:22:21]execute_script... [14:22: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)129282", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:22:21]POST & json_proto [14:22:21]process_json_proto [14:22:21]json parsed OK: [14:22:21]protocol is kg_v1.0 [14:22:21]action value=close_receipt [14:22:21]process_action close_receipt [14:22:21]cmd_close_receipt [14:22:21]MH_GetDate [14:22:21]Write to MH i2c: F0 00 00 0D 0A 06 [14:22:21]Write i2c OK [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: F0 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: F0 09 00 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: F0 09 00 0D 0A 00 20 3C 91 66 2D 25 5D 64 75 [14:22:21]GetLastDocTimeStamp 1720794107 [14:22:21]current date 1720794144 [14:22:21]FM_GetShiftState [14:22:21]SAM_PROTO_GetShiftState [14:22:21]wFMCommunicate request_size=4 [14:22:21]MH_SAM_APDU [14:22:21]CAPDU: 80 13 01 00 [14:22:21]Write to MH i2c: E2 08 00 0E 0A 80 13 01 00 00 00 00 00 95 [14:22:21]Write i2c OK [14:22:21]MH_I2C_Read... [14:22:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:21]Read from MH i2c: E2 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: E2 0E 00 [14:22:21]MH_I2C_Read... [14:22:21]Read from MH i2c: E2 0E 00 0E 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 96 [14:22:21]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:22:21]wFMCommunicate OK [14:22:21]SAM_PROTO_GetShiftState done [14:22:21]FM_GetShiftState done [14:22:21]opened in 1720744326 [14:22:21]opened+sec_in_day 1720830726 [14:22:21]quantity*price = 14800 [14:22:21]sum+1 = 14801 [14:22:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400655 Семечки ДЖИНН 70г синий 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 218.00 НСП 1% : 1.93 НДС 12% : 23.15 Наличными: 218.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 57 12.07.2024 14:22 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56789 ФПД: 190852401947148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142224&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56789&fm=190852401947148&tin=02508201610067®Number=0000000000091208&sum=21800 0 [14:22:23]StoreToDocumentArchive [14:22:23]shift 494 fd 56789 [14:22:23]save to /storage/0494/doc_00056789 [14:22:23]save last doc name /storage/0494/doc_00056789 to /storage/kkm_last_doc_name [14:22:23]save OK [14:22:23]Clear old archive folders... [14:22:23]ProcessDocumentItem done err = 0, tmpTLVsize=390 [14:22:23]tlvbuf is 01AE7BF0 [14:22:23]SAM_PROTO_ClearQueue [14:22:23]wFMCommunicate request_size=4 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 09 00 00 [14:22:23]Write to MH i2c: E2 08 00 1B 0A 80 09 00 00 00 00 00 00 97 [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 1B 0A 00 90 00 99 [14:22:23]RAPDU: 90 00 [14:22:23]wFMCommunicate OK [14:22:23]SAM_PROTO_ClearQueue done [14:22:23]KKMCreateOFDPacket [14:22:23]OFDProtocolAddRootSTLVToBuf [14:22:23]FM_MakeSignedData [14:22:23]FM_MakeSignedData [14:22:23]SAM_PROTO_SignData [14:22:23]wFMCommunicate request_size=4 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 0D 01 02 [14:22:23]Write to MH i2c: E2 08 00 1C 0A 80 0D 01 02 00 00 00 00 9F [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 1C 0A 00 90 00 9A [14:22:23]RAPDU: 90 00 [14:22:23]wFMCommunicate OK [14:22:23]wFMCommunicate request_size=255 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 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 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [14:22:23]Write to MH i2c: E2 02 01 1D 0A 80 0D 02 02 FA 00 03 00 86 01 1E 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 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 B8 [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 1D 0A 00 90 00 9B [14:22:23]RAPDU: 90 00 [14:22:23]wFMCommunicate OK [14:22:23]wFMCommunicate request_size=149 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 20 3C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DD 00 00 35 04 06 00 AD 94 49 9F 62 0C [14:22:23]Write to MH i2c: E2 98 00 1E 0A 80 0D 02 02 90 00 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 20 3C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DD 00 00 35 04 06 00 AD 94 49 9F 62 0C 00 00 08 [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [14:22:23]RAPDU: 90 00 [14:22:23]wFMCommunicate OK [14:22:23]wFMCommunicate request_size=4 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 0D 03 02 [14:22:23]Write to MH i2c: E2 08 00 1F 0A 80 0D 03 02 00 00 00 00 A4 [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 0B 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 0B 00 1F 0A 00 5C 76 C3 81 3B 5B B6 96 90 00 9D [14:22:23]RAPDU: 5C 76 C3 81 3B 5B B6 96 90 00 [14:22:23]wFMCommunicate OK [14:22:23]SAM_PROTO_SignData done [14:22:23]FM_MakeSignedData done [14:22:23]CreateOFDProtocolMessage [14:22:23]wFMCommunicate request_size=4 [14:22:23]MH_SAM_APDU [14:22:23]CAPDU: 80 11 00 00 [14:22:23]Write to MH i2c: E2 08 00 20 0A 80 11 00 00 00 00 00 00 A4 [14:22:23]Write i2c OK [14:22:23]MH_I2C_Read... [14:22:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:23]Read from MH i2c: E2 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 17 00 [14:22:23]MH_I2C_Read... [14:22:23]Read from MH i2c: E2 17 00 20 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [14:22:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:22:23]wFMCommunicate OK [14:22:23]CreateOFDProtocolMessage done [14:22:23]OFDSenderStorePacket 56789 [14:22:23]StoreOFDPacket docnum=56789 [14:22:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 9A 01 00 00 35 73 92 01 AD EA 5A 03 01 00 03 00 86 01 1E 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 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 20 3C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DD 00 00 35 04 06 00 AD 94 49 9F 62 0C 5C 76 C3 81 3B 5B B6 96 [14:22:23]CheckFolder [14:22:23]dirname=/storage/ofd_packets [14:22:23]CheckFolder done [14:22:23]ProducePacketName [14:22:23]name=ofd_packets/00056789 [14:22:23]NVStorageSaveData ofd_packets/00056789 [14:22:23]File name is /storage/ofd_packets/00056789 [14:22:23]Write 440 bytes [14:22:23]NVStorageSaveData done [14:22:23]OFDSenderStorePacket done [14:22:23]KKMCreateOFDPacket done [14:22:23]NVStorageSaveData kkm_last_timestamp [14:22:23]File name is /storage/kkm_last_timestamp [14:22:23]Write 4 bytes [14:22:23]NVStorageSaveData done [14:22:23]ExternCall_PrintAddStr [14:22:23]wPrintStart [14:22:23]Write to MH i2c: 01 00 00 21 0A 2B [14:22:23]Write i2c OK [14:22:24]MH_I2C_Read... [14:22:24]OFD Sender: Processing packet 56789 [packets to send 38, broken 37] [14:22:24]Read from MH i2c: ProducePacketName [14:22:24]01 name=ofd_packets/00056789 [14:22:24] [14:22:24]MH_I2C_Read... [14:22:24]OFD Sender: To server: pG, [14:22:24]CommunicateWithHost lk.salyk.kg:30040 [14:22:24]Read from MH i2c: ConnectInit lk.salyk.kg [14:22:24]01 07 00 [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: 01 07 00 21 0A 00 00 00 00 00 FF 0F 40 [14:22:24]RasterBufferAndPrint [14:22:24]line Счет N : (3)129282 [14:22:24]line ИНН: 02508201610067 [14:22:24]line Контрольно-Кассовый Чек [14:22:24]line ПРОДАЖА [14:22:24]line Товар: 4780022460292 [14:22:24]line Антифриз Yumiko green 1кг [14:22:24]line 1.000 * 148.00 [14:22:24]line = 148.00 [14:22:24]line НДС 12% НСП 1% [14:22:24]line > о реализуемом товаре [14:22:24]line Товар: 4630007400655 [14:22:24]line Семечки ДЖИНН 70г синий [14:22:24]line 1.000 * 70.00 [14:22:24]line = 70.00 [14:22:24]line НДС 12% НСП 1% [14:22:24]line > о реализуемом товаре [14:22:24]line ИТОГО: 218.00 [14:22:24]line НСП 1% : 1.93 [14:22:24]line НДС 12% : 23.15 [14:22:24]line Наличными: 218.00 [14:22:24]line Безнал.: 0.00 [14:22:24]line Место: АЗС № 132 "Партнер Нефть" [14:22:24]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:22:24]line СНО: Общий режим [14:22:24]line Чек 57 12.07.2024 14:22 [14:22:24]line Смена: 494 ФФД: 1.0 [14:22:24]line ЗНМ: 0300000132 [14:22:24]line РНМ: 0000000000091208 [14:22:24]line Версия ККМ: 001 [14:22:24]line ФМ: 0000000000874857 [14:22:24]line ФД: 56789 [14:22:24]line ФПД: 190852401947148 [14:22:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142224&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56789&fm=190852401947148&tin=02508201610067®Number=0000000000091208&sum=21800 [14:22:24]line 0 [14:22:24]written 0, free lines is 4095 [14:22:24]Write to MH i2c: 01 00 00 4F 0A 59 [14:22:24]Write i2c OK [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: 01 [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: 01 07 00 [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: 01 07 00 4F 0A 00 00 00 00 00 B1 0C 1D [14:22:24]RasterBufferAndPrint [14:22:24]line [14:22:24]line [14:22:24]line [14:22:24]line [14:22:24]line [14:22:24]written 0, free lines is 3254 [14:22:24]MH_Cut [14:22:24]Write to MH i2c: D1 01 00 56 0A 01 32 [14:22:24]Write i2c OK [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: D1 [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: D1 01 00 [14:22:24]MH_I2C_Read... [14:22:24]Read from MH i2c: D1 01 00 56 0A 00 31 [14:22:24]Write to MH i2c: 01 00 00 57 0A 61 [14:22:24]Write i2c OK [14:22:24]MH_I2C_Read... [14:22:25]*** Cut start [14:22:25]*** Partial cut [14:22:25]*** CUTSNS_PIN = 1 [14:22:25]*** CUTSNS_PIN = 0 [14:22:25]*** Brake cut motor [14:22:25]Read from MH i2c: 01 [14:22:25]MH_I2C_Read... [14:22:25]*** Stop cut motor [14:22:25]*** Cut end [14:22:25]Read from MH i2c: 01 07 00 [14:22:25]MH_I2C_Read... [14:22:25]Read from MH i2c: 01 07 00 57 0A 00 00 00 00 00 FF 0F 76 [14:22:25]process_action close_receipt done [14:22:25]requested_data is exist [14:22:25]produce_requested_data [14:22:25]requested_item fm.sn is exist - process it [14:22:25]wFMCommunicate request_size=4 [14:22:25]MH_SAM_APDU [14:22:25]CAPDU: 80 11 00 00 [14:22:25]Write to MH i2c: E2 08 00 58 0A 80 11 00 00 00 00 00 00 DC [14:22:25]Write i2c OK [14:22:25]MH_I2C_Read... [14:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:25]Read from MH i2c: E2 [14:22:25]MH_I2C_Read... [14:22:25]Read from MH i2c: E2 17 00 [14:22:25]MH_I2C_Read... [14:22:25]Read from MH i2c: E2 17 00 58 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 36 [14:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:22:25]wFMCommunicate OK [14:22:25]requested_item fd.num is exist - process it [14:22:25]SAM_PROTO_GetFieldsCounters [14:22:25]wFMCommunicate request_size=4 [14:22:25]MH_SAM_APDU [14:22:25]CAPDU: 80 13 00 00 [14:22:25]Write to MH i2c: E2 08 00 59 0A 80 13 00 00 00 00 00 00 DF [14:22:25]Write i2c OK [14:22:25]MH_I2C_Read... [14:22:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:22:26]Read from MH i2c: E2 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 62 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 62 00 59 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D5 DD 00 00 0E 04 04 00 EE 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 4E [14:22:26]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D5 DD 00 00 0E 04 04 00 EE 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 [14:22:26]wFMCommunicate OK [14:22:26]SAM_PROTO_GetFieldsCounters done [14:22:26]requested_item shift.num is exist - process it [14:22:26]requested_item shift.opened is exist - process it [14:22:26]req_shift_opened [14:22:26]FM_GetShiftState [14:22:26]SAM_PROTO_GetShiftState [14:22:26]wFMCommunicate request_size=4 [14:22:26]MH_SAM_APDU [14:22:26]CAPDU: 80 13 01 00 [14:22:26]Write to MH i2c: E2 08 00 5A 0A 80 13 01 00 00 00 00 00 E1 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:26]Read from MH i2c: E2 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 0E 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 0E 00 5A 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E2 [14:22:26]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:22:26]wFMCommunicate OK [14:22:26]SAM_PROTO_GetShiftState done [14:22:26]FM_GetShiftState done [14:22:26]req_shift_opened done [14:22:26]requested_item shift.open_date is exist - process it [14:22:26]req_shift_open_date [14:22:26]req_shift_open_date done [14:22:26]requested_item shift.sale.total is exist - process it [14:22:26]SAM_PROTO_GetShiftData [14:22:26]wFMCommunicate request_size=4 [14:22:26]MH_SAM_APDU [14:22:26]CAPDU: 80 13 02 00 [14:22:26]Write to MH i2c: E2 08 00 5B 0A 80 13 02 00 00 00 00 00 E3 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:22:26]Read from MH i2c: E2 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 FD 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 FD 00 5B 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 88 6E 17 70 04 03 00 28 9E 11 72 04 03 00 60 D0 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 15 7D 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 13 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 C7 [14:22:26]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 88 6E 17 70 04 03 00 28 9E 11 72 04 03 00 60 D0 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 15 7D 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 13 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:22:26]wFMCommunicate OK [14:22:26]wFMCommunicate request_size=4 [14:22:26]MH_SAM_APDU [14:22:26]CAPDU: 80 17 00 00 [14:22:26]Write to MH i2c: E2 08 00 5C 0A 80 17 00 00 00 00 00 00 E6 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:22:26]Read from MH i2c: E2 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 FD 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 FD 00 5C 0A 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 25 [14:22:26]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:22:26]wFMCommunicate OK [14:22:26]wFMCommunicate request_size=4 [14:22:26]MH_SAM_APDU [14:22:26]CAPDU: 80 17 00 00 [14:22:26]Write to MH i2c: E2 08 00 5D 0A 80 17 00 00 00 00 00 00 E7 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 FD 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 FD 00 5D 0A 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A7 [14:22:27]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:22:27]wFMCommunicate OK [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 17 00 00 [14:22:27]Write to MH i2c: E2 08 00 5E 0A 80 17 00 00 00 00 00 00 E8 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 FD 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 FD 00 5E 0A 00 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 90 00 57 [14:22:27]RAPDU: 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 90 00 [14:22:27]wFMCommunicate OK [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 17 00 00 [14:22:27]Write to MH i2c: E2 08 00 5F 0A 80 17 00 00 00 00 00 00 E9 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 D3 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 D3 00 5F 0A 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D6 [14:22:27]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:22:27]wFMCommunicate OK [14:22:27]SAM_PROTO_GetShiftData done [14:22:27]requested_item shift.sale.total_cash is exist - process it [14:22:27]requested_item shift.sale_refund.total is exist - process it [14:22:27]requested_item shift.sale_refund.total_cash is exist - process it [14:22:27]produce_requested_data done [14:22:27]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56789,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15356.24,"shift.sale.total_cash":11546.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:22:27]process_action_free close_receipt [14:22:27]json_value_free [14:22:27]json_value_free done [14:22:27]process_json_proto returns [14:22:27]Send response to host [14:22:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56789,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15356.24,"shift.sale.total_cash":11546.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:22:27]free response buf [14:22:27]execute_script done [14:22:27]execute_script returns [14:22:27]free content buf [14:22:27]Sock 9.Close socket [14:22:27]Sock 9.Thread stoped [14:24:34]ConnectInit Can't connect to host [14:24:34]CommunicateWithHost connect error [14:24:34]CommunicateWithHost err = -1 [14:24:34]OFD Sender: Server communicate error [14:24:39]OFD Sender: Processing packet 56789 [packets to send 38, broken 37] [14:24:39]ProducePacketName [14:24:39]name=ofd_packets/00056789 [14:24:39]OFD Sender: To server: pG, [14:24:39]CommunicateWithHost lk.salyk.kg:30040 [14:24:39]ConnectInit lk.salyk.kg [14:24:39]Connected sock=9 [14:24: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 38 35 37 9A 01 00 00 35 73 92 01 AD EA 5A 03 01 00 03 00 86 01 1E 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 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 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 20 3C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DD 00 00 35 04 06 00 AD 94 49 9F 62 0C 5C 76 C3 81 3B 5B B6 96 [14:24:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 38 5C 47 00 00 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 38 35 37 10 04 04 00 D5 DD 00 00 F4 03 04 00 FF E2 90 66 B6 04 01 00 00 84 B3 73 2E ED C3 72 66 [14:24:40]CommunicateWithHost err = 0 [14:24:40]CheckOFDResponse [14:24:40]1017 (14) - 77093643461234 [14:24:40]1041 (16) - 0000000000874857 [14:24:40]1040 (4) - 56789 [14:24:40]1012 (4) - 12.07.2024 08:02 [14:24:40]1206 (1) - 0 [14:24:40]OFD Sender: Remove packet 56789 [14:24:40]ProducePacketName [14:24:40]name=ofd_packets/00056789 [14:24:40]NVStorageDeleteData [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:15]accept exits with 7 [14:34:15]New connection [14:34:15]New thread 3066637668 created [14:34:15]Thread 3066781028 joined [14:34:15]Waiting for new connection... [14:34:15] Sock 7.Parse request [14:34:15]Sock 7.Check first char [14:34:15]Sock 7.First char is OK [14:34:15]request: POST /json_proto HTTP/1.0 [14:34:15]Method: POST [14:34:15]URL: /json_proto [14:34:15]Method is POST - this is cgi request [14:34:15]url: /json_proto [14:34:15]query_string will be loaded in cgi processing [14:34:15]execute_cgi json_proto POST (null) [14:34:15]execute_cgi path=json_proto method=POST [14:34:15]POST find Content-Length [14:34:15]Host: 172.17.39.4:8080 [14:34:15]Content-Length: 799 [14:34:15]Content-Type: application/json [14:34:15] [14:34:15]POST finish read [14:34:15]Found Content-Length = 799 [14:34:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129283", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:34:15]execute_script... [14:34:15]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)129283", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:34:15]POST & json_proto [14:34:15]process_json_proto [14:34:15]json parsed OK: [14:34:15]protocol is kg_v1.0 [14:34:15]action value=close_receipt [14:34:15]process_action close_receipt [14:34:15]cmd_close_receipt [14:34:15]MH_GetDate [14:34:15]Write to MH i2c: F0 00 00 60 0A 59 [14:34:15]Write i2c OK [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 09 00 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: F0 09 00 60 0A 00 EA 3E 91 66 2D 25 5D 64 94 [14:34:15]GetLastDocTimeStamp 1720794144 [14:34:15]current date 1720794858 [14:34:15]FM_GetShiftState [14:34:15]SAM_PROTO_GetShiftState [14:34:15]wFMCommunicate request_size=4 [14:34:15]MH_SAM_APDU [14:34:15]CAPDU: 80 13 01 00 [14:34:15]Write to MH i2c: E2 08 00 61 0A 80 13 01 00 00 00 00 00 E8 [14:34:15]Write i2c OK [14:34:15]MH_I2C_Read... [14:34:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:15]Read from MH i2c: E2 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: E2 0E 00 [14:34:15]MH_I2C_Read... [14:34:15]Read from MH i2c: E2 0E 00 61 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E9 [14:34:15]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:34:15]wFMCommunicate OK [14:34:15]SAM_PROTO_GetShiftState done [14:34:15]FM_GetShiftState done [14:34:15]opened in 1720744326 [14:34:15]opened+sec_in_day 1720830726 [14:34:15]quantity*price = 9500 [14:34:15]sum+1 = 9501 [14:34:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 58 12.07.2024 14:34 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56790 ФПД: 118652432438078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T143418&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56790&fm=118652432438078&tin=02508201610067®Number=0000000000091208&sum=9500 0 [14:34:16]StoreToDocumentArchive [14:34:16]shift 494 fd 56790 [14:34:16]save to /storage/0494/doc_00056790 [14:34:16]save last doc name /storage/0494/doc_00056790 to /storage/kkm_last_doc_name [14:34:16]save OK [14:34:16]Clear old archive folders... [14:34:16]ProcessDocumentItem done err = 0, tmpTLVsize=302 [14:34:16]tlvbuf is 01ADF360 [14:34:16]SAM_PROTO_ClearQueue [14:34:16]wFMCommunicate request_size=4 [14:34:16]MH_SAM_APDU [14:34:16]CAPDU: 80 09 00 00 [14:34:16]Write to MH i2c: E2 08 00 6E 0A 80 09 00 00 00 00 00 00 EA [14:34:16]Write i2c OK [14:34:16]MH_I2C_Read... [14:34:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 6E 0A 00 90 00 EC [14:34:17]RAPDU: 90 00 [14:34:17]wFMCommunicate OK [14:34:17]SAM_PROTO_ClearQueue done [14:34:17]KKMCreateOFDPacket [14:34:17]OFDProtocolAddRootSTLVToBuf [14:34:17]FM_MakeSignedData [14:34:17]FM_MakeSignedData [14:34:17]SAM_PROTO_SignData [14:34:17]wFMCommunicate request_size=4 [14:34:17]MH_SAM_APDU [14:34:17]CAPDU: 80 0D 01 02 [14:34:17]Write to MH i2c: E2 08 00 6F 0A 80 0D 01 02 00 00 00 00 F2 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 6F 0A 00 90 00 ED [14:34:17]RAPDU: 90 00 [14:34:17]wFMCommunicate OK [14:34:17]wFMCommunicate request_size=255 [14:34:17]MH_SAM_APDU [14:34:17]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 3A 00 00 00 F4 03 04 00 EA 3E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 [14:34:17]Write to MH i2c: E2 02 01 70 0A 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 3A 00 00 00 F4 03 04 00 EA 3E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 00 00 19 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 70 0A 00 90 00 EE [14:34:17]RAPDU: 90 00 [14:34:17]wFMCommunicate OK [14:34:17]wFMCommunicate request_size=61 [14:34:17]MH_SAM_APDU [14:34:17]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DD 00 00 35 04 06 00 6B E9 EC 16 53 3E [14:34:17]Write to MH i2c: E2 40 00 71 0A 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DD 00 00 35 04 06 00 6B E9 EC 16 53 3E 00 00 C6 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 03 00 71 0A 00 90 00 EF [14:34:17]RAPDU: 90 00 [14:34:17]wFMCommunicate OK [14:34:17]wFMCommunicate request_size=4 [14:34:17]MH_SAM_APDU [14:34:17]CAPDU: 80 0D 03 02 [14:34:17]Write to MH i2c: E2 08 00 72 0A 80 0D 03 02 00 00 00 00 F7 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 0B 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 0B 00 72 0A 00 C7 33 18 D0 6A BF 40 44 90 00 87 [14:34:17]RAPDU: C7 33 18 D0 6A BF 40 44 90 00 [14:34:17]wFMCommunicate OK [14:34:17]SAM_PROTO_SignData done [14:34:17]FM_MakeSignedData done [14:34:17]CreateOFDProtocolMessage [14:34:17]wFMCommunicate request_size=4 [14:34:17]MH_SAM_APDU [14:34:17]CAPDU: 80 11 00 00 [14:34:17]Write to MH i2c: E2 08 00 73 0A 80 11 00 00 00 00 00 00 F7 [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:17]Read from MH i2c: E2 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 17 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: E2 17 00 73 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 51 [14:34:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:34:17]wFMCommunicate OK [14:34:17]CreateOFDProtocolMessage done [14:34:17]OFDSenderStorePacket 56790 [14:34:17]StoreOFDPacket docnum=56790 [14:34:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 42 01 00 00 48 34 3A 01 AF 0A 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 3A 00 00 00 F4 03 04 00 EA 3E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DD 00 00 35 04 06 00 6B E9 EC 16 53 3E C7 33 18 D0 6A BF 40 44 [14:34:17]CheckFolder [14:34:17]dirname=/storage/ofd_packets [14:34:17]CheckFolder done [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00056790 [14:34:17]NVStorageSaveData ofd_packets/00056790 [14:34:17]File name is /storage/ofd_packets/00056790 [14:34:17]Write 352 bytes [14:34:17]NVStorageSaveData done [14:34:17]OFDSenderStorePacket done [14:34:17]KKMCreateOFDPacket done [14:34:17]NVStorageSaveData kkm_last_timestamp [14:34:17]File name is /storage/kkm_last_timestamp [14:34:17]Write 4 bytes [14:34:17]NVStorageSaveData done [14:34:17]ExternCall_PrintAddStr [14:34:17]wPrintStart [14:34:17]Write to MH i2c: 01 00 00 74 0A 7E [14:34:17]Write i2c OK [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 07 00 [14:34:17]MH_I2C_Read... [14:34:17]Read from MH i2c: 01 07 00 74 0A 00 00 00 00 00 FF 0F 93 [14:34:17]RasterBufferAndPrint [14:34:17]line Счет N : (3)129283 [14:34:17]line ИНН: 02508201610067 [14:34:17]line Контрольно-Кассовый Чек [14:34:17]line ПРОДАЖА [14:34:17]line Товар: 4631162227163 [14:34:17]line Напиток газированный Mojito LEMON LIME ж [14:34:17]line 1.000 * 95.00 [14:34:17]line = 95.00 [14:34:17]line НДС 12% НСП 1% [14:34:17]line > о реализуемом товаре [14:34:17]line ИТОГО: 95.00 [14:34:17]line НСП 1% : 0.84 [14:34:17]line НДС 12% : 10.09 [14:34:17]line Наличными: 95.00 [14:34:17]line Безнал.: 0.00 [14:34:17]line Место: АЗС № 132 "Партнер Нефть" [14:34:17]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:34:17]line СНО: Общий режим [14:34:17]line Чек 58 12.07.2024 14:34 [14:34:17]line Смена: 494 ФФД: 1.0 [14:34:17]line ЗНМ: 0300000132 [14:34:17]line РНМ: 0000000000091208 [14:34:17]line Версия ККМ: 001 [14:34:17]line ФМ: 0000000000874857 [14:34:17]line ФД: 56790 [14:34:17]line ФПД: 118652432438078 [14:34:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T143418&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56790&fm=118652432438078&tin=02508201610067®Number=0000000000091208&sum=9500 [14:34:17]line 0 [14:34:17]OFD Sender: Processing packet 56790 [packets to send 38, broken 37] [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00056790 [14:34:17]OFD Sender: To server: pG, [14:34:17]CommunicateWithHost lk.salyk.kg:30040 [14:34:17]ConnectInit lk.salyk.kg [14:34:17]written 0, free lines is 4095 [14:34:17]Connected sock=11 [14:34: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 38 35 37 42 01 00 00 48 34 3A 01 AF 0A 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 3A 00 00 00 F4 03 04 00 EA 3E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DD 00 00 35 04 06 00 6B E9 EC 16 53 3E C7 33 18 D0 6A BF 40 44 [14:34:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 DC EE 47 00 D3 04 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 38 35 37 10 04 04 00 D6 DD 00 00 F4 03 04 00 41 E5 90 66 B6 04 01 00 00 CE 87 A9 02 DD 3B E9 20 [14:34:18]CommunicateWithHost err = 0 [14:34:18]CheckOFDResponse [14:34:18]1017 (14) - 77093643461234 [14:34:18]1041 (16) - 0000000000874857 [14:34:18]1040 (4) - 56790 [14:34:18]1012 (4) - 12.07.2024 08:11 [14:34:18]1206 (1) - 0 [14:34:18]OFD Sender: Remove packet 56790 [14:34:18]ProducePacketName [14:34:18]name=ofd_packets/00056790 [14:34:18]NVStorageDeleteData [14:34:18]Write to MH i2c: 01 00 00 9D 0A A7 [14:34:18]Write i2c OK [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: 01 [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: 01 07 00 [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: 01 07 00 9D 0A 00 00 00 00 00 EF 0C A9 [14:34:18]RasterBufferAndPrint [14:34:18]line [14:34:18]line [14:34:18]line [14:34:18]line [14:34:18]line [14:34:18]written 0, free lines is 3317 [14:34:18]MH_Cut [14:34:18]Write to MH i2c: D1 01 00 A4 0A 01 80 [14:34:18]Write i2c OK [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: D1 [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: D1 01 00 [14:34:18]MH_I2C_Read... [14:34:18]Read from MH i2c: D1 01 00 A4 0A 00 7F [14:34:18]Write to MH i2c: 01 00 00 A5 0A AF [14:34:18]Write i2c OK [14:34:18]MH_I2C_Read... [14:34:18]OFD Sender: No OFD packet to send [14:34:19]*** Cut start [14:34:19]*** Partial cut [14:34:19]*** CUTSNS_PIN = 1 [14:34:19]*** CUTSNS_PIN = 0 [14:34:19]*** Brake cut motor [14:34:19]Read from MH i2c: 01 [14:34:19]MH_I2C_Read... [14:34:19]*** Stop cut motor [14:34:19]*** Cut end [14:34:19]Read from MH i2c: 01 07 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: 01 07 00 A5 0A 00 00 00 00 00 FF 0F C4 [14:34:19]process_action close_receipt done [14:34:19]requested_data is exist [14:34:19]produce_requested_data [14:34:19]requested_item fm.sn is exist - process it [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 11 00 00 [14:34:19]Write to MH i2c: E2 08 00 A6 0A 80 11 00 00 00 00 00 00 2A [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 17 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 17 00 A6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [14:34:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:34:19]wFMCommunicate OK [14:34:19]requested_item fd.num is exist - process it [14:34:19]SAM_PROTO_GetFieldsCounters [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 00 00 [14:34:19]Write to MH i2c: E2 08 00 A7 0A 80 13 00 00 00 00 00 00 2D [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 62 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 62 00 A7 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D6 DD 00 00 0E 04 04 00 EE 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 A0 [14:34: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D6 DD 00 00 0E 04 04 00 EE 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 [14:34:19]wFMCommunicate OK [14:34:19]SAM_PROTO_GetFieldsCounters done [14:34:19]requested_item shift.num is exist - process it [14:34:19]requested_item shift.opened is exist - process it [14:34:19]req_shift_opened [14:34:19]FM_GetShiftState [14:34:19]SAM_PROTO_GetShiftState [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 01 00 [14:34:19]Write to MH i2c: E2 08 00 A8 0A 80 13 01 00 00 00 00 00 2F [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:19]Read from MH i2c: E2 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 0E 00 [14:34:19]MH_I2C_Read... [14:34:19]Read from MH i2c: E2 0E 00 A8 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 30 [14:34:19]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:34:19]wFMCommunicate OK [14:34:19]SAM_PROTO_GetShiftState done [14:34:19]FM_GetShiftState done [14:34:19]req_shift_opened done [14:34:19]requested_item shift.open_date is exist - process it [14:34:19]req_shift_open_date [14:34:19]req_shift_open_date done [14:34:19]requested_item shift.sale.total is exist - process it [14:34:19]SAM_PROTO_GetShiftData [14:34:19]wFMCommunicate request_size=4 [14:34:19]MH_SAM_APDU [14:34:19]CAPDU: 80 13 02 00 [14:34:19]Write to MH i2c: E2 08 00 A9 0A 80 13 02 00 00 00 00 00 31 [14:34:19]Write i2c OK [14:34:19]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 A9 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 A4 93 17 70 04 03 00 44 C3 11 72 04 03 00 60 D0 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 06 81 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 67 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E2 [14:34:20]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 A4 93 17 70 04 03 00 44 C3 11 72 04 03 00 60 D0 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 06 81 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 67 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 AA 0A 80 17 00 00 00 00 00 00 34 [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 AA 0A 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [14:34:20]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 AB 0A 80 17 00 00 00 00 00 00 35 [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:20]Read from MH i2c: E2 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 [14:34:20]MH_I2C_Read... [14:34:20]Read from MH i2c: E2 FD 00 AB 0A 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F5 [14:34:20]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:34:20]wFMCommunicate OK [14:34:20]wFMCommunicate request_size=4 [14:34:20]MH_SAM_APDU [14:34:20]CAPDU: 80 17 00 00 [14:34:20]Write to MH i2c: E2 08 00 AC 0A 80 17 00 00 00 00 00 00 36 [14:34:20]Write i2c OK [14:34:20]MH_I2C_Read... [14:34:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:34:21]Read from MH i2c: E2 [14:34:21]MH_I2C_Read... [14:34:21]Read from MH i2c: E2 FD 00 [14:34:21]MH_I2C_Read... [14:34:21]Read from MH i2c: E2 FD 00 AC 0A 00 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 90 00 A5 [14:34:21]RAPDU: 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 90 00 [14:34:21]wFMCommunicate OK [14:34:21]wFMCommunicate request_size=4 [14:34:21]MH_SAM_APDU [14:34:21]CAPDU: 80 17 00 00 [14:34:21]Write to MH i2c: E2 08 00 AD 0A 80 17 00 00 00 00 00 00 37 [14:34:21]Write i2c OK [14:34:21]MH_I2C_Read... [14:34:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:34:21]Read from MH i2c: E2 [14:34:21]MH_I2C_Read... [14:34:21]Read from MH i2c: E2 D3 00 [14:34:21]MH_I2C_Read... [14:34:21]Read from MH i2c: E2 D3 00 AD 0A 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 24 [14:34:21]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:34:21]wFMCommunicate OK [14:34:21]SAM_PROTO_GetShiftData done [14:34:21]requested_item shift.sale.total_cash is exist - process it [14:34:21]requested_item shift.sale_refund.total is exist - process it [14:34:21]requested_item shift.sale_refund.total_cash is exist - process it [14:34:21]produce_requested_data done [14:34:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56790,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15451.24,"shift.sale.total_cash":11641.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:34:21]process_action_free close_receipt [14:34:21]json_value_free [14:34:21]json_value_free done [14:34:21]process_json_proto returns [14:34:21]Send response to host [14:34:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56790,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15451.24,"shift.sale.total_cash":11641.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:34:21]free response buf [14:34:21]execute_script done [14:34:21]execute_script returns [14:34:21]free content buf [14:34:21]Sock 7.Close socket [14:34:21]Sock 7.Thread stoped [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [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:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:44]OFD Sender: No OFD packet to send [14:45:49]OFD Sender: No OFD packet to send [14:45:54]OFD Sender: No OFD packet to send [14:45:59]OFD Sender: No OFD packet to send [14:46:04]OFD Sender: No OFD packet to send [14:46:09]OFD Sender: No OFD packet to send [14:46:14]OFD Sender: No OFD packet to send [14:46:19]OFD Sender: No OFD packet to send [14:46:24]OFD Sender: No OFD packet to send [14:46:29]OFD Sender: No OFD packet to send [14:46:34]OFD Sender: No OFD packet to send [14:46:39]OFD Sender: No OFD packet to send [14:46:44]OFD Sender: No OFD packet to send [14:46:49]OFD Sender: No OFD packet to send [14:46:54]OFD Sender: No OFD packet to send [14:46:59]OFD Sender: No OFD packet to send [14:47:04]OFD Sender: No OFD packet to send [14:47:09]OFD Sender: No OFD packet to send [14:47:14]OFD Sender: No OFD packet to send [14:47:19]OFD Sender: No OFD packet to send [14:47:24]OFD Sender: No OFD packet to send [14:47:29]OFD Sender: No OFD packet to send [14:47:34]OFD Sender: No OFD packet to send [14:47:39]OFD Sender: No OFD packet to send [14:47:44]OFD Sender: No OFD packet to send [14:47:49]OFD Sender: No OFD packet to send [14:47:54]OFD Sender: No OFD packet to send [14:47:59]OFD Sender: No OFD packet to send [14:48:04]OFD Sender: No OFD packet to send [14:48:09]OFD Sender: No OFD packet to send [14:48:14]OFD Sender: No OFD packet to send [14:48:19]OFD Sender: No OFD packet to send [14:48:24]OFD Sender: No OFD packet to send [14:48:29]OFD Sender: No OFD packet to send [14:48:34]OFD Sender: No OFD packet to send [14:48:39]OFD Sender: No OFD packet to send [14:48:44]OFD Sender: No OFD packet to send [14:48:49]OFD Sender: No OFD packet to send [14:48:54]OFD Sender: No OFD packet to send [14:48:59]OFD Sender: No OFD packet to send [14:49:04]OFD Sender: No OFD packet to send [14:49:09]OFD Sender: No OFD packet to send [14:49:14]OFD Sender: No OFD packet to send [14:49:19]OFD Sender: No OFD packet to send [14:49:24]OFD Sender: No OFD packet to send [14:49:29]OFD Sender: No OFD packet to send [14:49:34]OFD Sender: No OFD packet to send [14:49:39]OFD Sender: No OFD packet to send [14:49:44]OFD Sender: No OFD packet to send [14:49:49]OFD Sender: No OFD packet to send [14:49:54]OFD Sender: No OFD packet to send [14:49:59]OFD Sender: No OFD packet to send [14:50:04]OFD Sender: No OFD packet to send [14:50:09]OFD Sender: No OFD packet to send [14:50:14]OFD Sender: No OFD packet to send [14:50:19]OFD Sender: No OFD packet to send [14:50:24]OFD Sender: No OFD packet to send [14:50:29]OFD Sender: No OFD packet to send [14:50:34]OFD Sender: No OFD packet to send [14:50:39]OFD Sender: No OFD packet to send [14:50:44]OFD Sender: No OFD packet to send [14:50:49]OFD Sender: No OFD packet to send [14:50:54]OFD Sender: No OFD packet to send [14:50:59]OFD Sender: No OFD packet to send [14:51:04]OFD Sender: No OFD packet to send [14:51:09]OFD Sender: No OFD packet to send [14:51:14]OFD Sender: No OFD packet to send [14:51:19]OFD Sender: No OFD packet to send [14:51:24]OFD Sender: No OFD packet to send [14:51:29]OFD Sender: No OFD packet to send [14:51:34]OFD Sender: No OFD packet to send [14:51:39]OFD Sender: No OFD packet to send [14:51:44]OFD Sender: No OFD packet to send [14:51:49]OFD Sender: No OFD packet to send [14:51:54]OFD Sender: No OFD packet to send [14:51:59]OFD Sender: No OFD packet to send [14:52:04]OFD Sender: No OFD packet to send [14:52:09]OFD Sender: No OFD packet to send [14:52:14]OFD Sender: No OFD packet to send [14:52:19]OFD Sender: No OFD packet to send [14:52:24]OFD Sender: No OFD packet to send [14:52:29]OFD Sender: No OFD packet to send [14:52:34]OFD Sender: No OFD packet to send [14:52:39]OFD Sender: No OFD packet to send [14:52:44]OFD Sender: No OFD packet to send [14:52:49]OFD Sender: No OFD packet to send [14:52:54]OFD Sender: No OFD packet to send [14:52:59]OFD Sender: No OFD packet to send [14:53:04]OFD Sender: No OFD packet to send [14:53:09]OFD Sender: No OFD packet to send [14:53:14]OFD Sender: No OFD packet to send [14:53:19]OFD Sender: No OFD packet to send [14:53:24]OFD Sender: No OFD packet to send [14:53:29]OFD Sender: No OFD packet to send [14:53:34]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:40]accept exits with 9 [14:53:40]New connection [14:53:40]New thread 3066781028 created [14:53:40]Thread 3066637668 joined [14:53:40]Waiting for new connection... [14:53:40] Sock 9.Parse request [14:53:40]Sock 9.Check first char [14:53:40]Sock 9.First char is OK [14:53:40]request: POST /json_proto HTTP/1.0 [14:53:40]Method: POST [14:53:40]URL: /json_proto [14:53:40]Method is POST - this is cgi request [14:53:40]url: /json_proto [14:53:40]query_string will be loaded in cgi processing [14:53:40]execute_cgi json_proto POST (null) [14:53:40]execute_cgi path=json_proto method=POST [14:53:40]POST find Content-Length [14:53:40]Host: 172.17.39.4:8080 [14:53:40]Content-Length: 720 [14:53:40]Content-Type: application/json [14:53:40] [14:53:40]POST finish read [14:53:40]Found Content-Length = 720 [14:53:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129284", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:53:40]execute_script... [14: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)129284", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:53:40]POST & json_proto [14:53:40]process_json_proto [14:53:40]json parsed OK: [14:53:40]protocol is kg_v1.0 [14:53:40]action value=close_receipt [14:53:40]process_action close_receipt [14:53:40]cmd_close_receipt [14:53:40]MH_GetDate [14:53:40]Write to MH i2c: F0 00 00 AE 0A A7 [14:53:40]Write i2c OK [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: F0 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: F0 09 00 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: F0 09 00 AE 0A 00 76 43 91 66 2D 25 5D 64 73 [14:53:40]GetLastDocTimeStamp 1720794858 [14:53:40]current date 1720796022 [14:53:40]FM_GetShiftState [14:53:40]SAM_PROTO_GetShiftState [14:53:40]wFMCommunicate request_size=4 [14:53:40]MH_SAM_APDU [14:53:40]CAPDU: 80 13 01 00 [14:53:40]Write to MH i2c: E2 08 00 AF 0A 80 13 01 00 00 00 00 00 36 [14:53:40]Write i2c OK [14:53:40]MH_I2C_Read... [14:53:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:53:40]Read from MH i2c: E2 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: E2 0E 00 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: E2 0E 00 AF 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 37 [14:53:40]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:53:40]wFMCommunicate OK [14:53:40]SAM_PROTO_GetShiftState done [14:53:40]FM_GetShiftState done [14:53:40]opened in 1720744326 [14:53:40]opened+sec_in_day 1720830726 [14:53:40]quantity*price = 14300 [14:53:40]sum+1 = 14301 [14:53:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 59 12.07.2024 14:53 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56791 ФПД: 10299635300020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56791&fm=10299635300020&tin=02508201610067®Number=0000000000091208&sum=14300 0 [14:53:41]StoreToDocumentArchive [14:53:41]shift 494 fd 56791 [14:53:41]save to /storage/0494/doc_00056791 [14:53:41]save last doc name /storage/0494/doc_00056791 to /storage/kkm_last_doc_name [14:53:41]save OK [14:53:41]Clear old archive folders... [14:53:41]ProcessDocumentItem done err = 0, tmpTLVsize=268 [14:53:41]tlvbuf is 01AFE550 [14:53:41]SAM_PROTO_ClearQueue [14:53:41]wFMCommunicate request_size=4 [14:53:41]MH_SAM_APDU [14:53:41]CAPDU: 80 09 00 00 [14:53:41]Write to MH i2c: E2 08 00 BC 0A 80 09 00 00 00 00 00 00 38 [14:53:41]Write i2c OK [14:53:41]MH_I2C_Read... [14:53:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:53:41]Read from MH i2c: E2 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 03 00 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 03 00 BC 0A 00 90 00 3A [14:53:41]RAPDU: 90 00 [14:53:41]wFMCommunicate OK [14:53:41]SAM_PROTO_ClearQueue done [14:53:41]KKMCreateOFDPacket [14:53:41]OFDProtocolAddRootSTLVToBuf [14:53:41]FM_MakeSignedData [14:53:41]FM_MakeSignedData [14:53:41]SAM_PROTO_SignData [14:53:41]wFMCommunicate request_size=4 [14:53:41]MH_SAM_APDU [14:53:41]CAPDU: 80 0D 01 02 [14:53:41]Write to MH i2c: E2 08 00 BD 0A 80 0D 01 02 00 00 00 00 40 [14:53:41]Write i2c OK [14:53:41]MH_I2C_Read... [14:53:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:53:41]Read from MH i2c: E2 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 03 00 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 03 00 BD 0A 00 90 00 3B [14:53:41]RAPDU: 90 00 [14:53:41]wFMCommunicate OK [14:53:41]wFMCommunicate request_size=255 [14:53:41]MH_SAM_APDU [14:53:41]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 3B 00 00 00 F4 03 04 00 76 43 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [14:53:41]Write to MH i2c: E2 02 01 BE 0A 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 3B 00 00 00 F4 03 04 00 76 43 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 D9 [14:53:41]Write i2c OK [14:53:41]MH_I2C_Read... [14:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 03 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 03 00 BE 0A 00 90 00 3C [14:53:42]RAPDU: 90 00 [14:53:42]wFMCommunicate OK [14:53:42]wFMCommunicate request_size=27 [14:53:42]MH_SAM_APDU [14:53:42]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 D7 DD 00 00 35 04 06 00 09 5E 12 1A 76 B4 [14:53:42]Write to MH i2c: E2 1E 00 BF 0A 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 D7 DD 00 00 35 04 06 00 09 5E 12 1A 76 B4 00 00 0F [14:53:42]Write i2c OK [14:53:42]MH_I2C_Read... [14:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 03 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 03 00 BF 0A 00 90 00 3D [14:53:42]RAPDU: 90 00 [14:53:42]wFMCommunicate OK [14:53:42]wFMCommunicate request_size=4 [14:53:42]MH_SAM_APDU [14:53:42]CAPDU: 80 0D 03 02 [14:53:42]Write to MH i2c: E2 08 00 C0 0A 80 0D 03 02 00 00 00 00 45 [14:53:42]Write i2c OK [14:53:42]MH_I2C_Read... [14:53:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 0B 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 0B 00 C0 0A 00 B4 2C 10 2A 3E 01 08 5B 90 00 02 [14:53:42]RAPDU: B4 2C 10 2A 3E 01 08 5B 90 00 [14:53:42]wFMCommunicate OK [14:53:42]SAM_PROTO_SignData done [14:53:42]FM_MakeSignedData done [14:53:42]CreateOFDProtocolMessage [14:53:42]wFMCommunicate request_size=4 [14:53:42]MH_SAM_APDU [14:53:42]CAPDU: 80 11 00 00 [14:53:42]Write to MH i2c: E2 08 00 C1 0A 80 11 00 00 00 00 00 00 45 [14:53:42]Write i2c OK [14:53:42]MH_I2C_Read... [14:53:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 17 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 17 00 C1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9F [14:53:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:53:42]wFMCommunicate OK [14:53:42]CreateOFDProtocolMessage done [14:53:42]OFDSenderStorePacket 56791 [14:53:42]StoreOFDPacket docnum=56791 [14:53:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 20 01 00 00 0F 95 18 01 5A A0 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 3B 00 00 00 F4 03 04 00 76 43 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DD 00 00 35 04 06 00 09 5E 12 1A 76 B4 B4 2C 10 2A 3E 01 08 5B [14:53:42]CheckFolder [14:53:42]dirname=/storage/ofd_packets [14:53:42]CheckFolder done [14:53:42]ProducePacketName [14:53:42]name=ofd_packets/00056791 [14:53:42]NVStorageSaveData ofd_packets/00056791 [14:53:42]File name is /storage/ofd_packets/00056791 [14:53:42]Write 318 bytes [14:53:42]NVStorageSaveData done [14:53:42]OFDSenderStorePacket done [14:53:42]KKMCreateOFDPacket done [14:53:42]NVStorageSaveData kkm_last_timestamp [14:53:42]File name is /storage/kkm_last_timestamp [14:53:42]Write 4 bytes [14:53:42]NVStorageSaveData done [14:53:42]ExternCall_PrintAddStr [14:53:42]wPrintStart [14:53:42]Write to MH i2c: 01 00 00 C2 0A CC [14:53:42]Write i2c OK [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: 01 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: 01 07 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: 01 07 00 C2 0A 00 00 00 00 00 FF 0F E1 [14:53:42]RasterBufferAndPrint [14:53:42]line Счет N : (3)129284 [14:53:42]line ИНН: 02508201610067 [14:53:42]line Контрольно-Кассовый Чек [14:53:42]line ПРОДАЖА [14:53:42]line Товар: 4640030091584 [14:53:42]line Сигареты Esse Gold [14:53:42]line 1.000 * 143.00 [14:53:42]line = 143.00 [14:53:42]line НДС 12% НСП 1% [14:53:42]line > о реализуемом товаре [14:53:42]line ИТОГО: 143.00 [14:53:42]line НСП 1% : 1.26 [14:53:42]line НДС 12% : 15.19 [14:53:42]line Наличными: 143.00 [14:53:42]line Безнал.: 0.00 [14:53:42]line Место: АЗС № 132 "Партнер Нефть" [14:53:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:53:42]line СНО: Общий режим [14:53:42]line Чек 59 12.07.2024 14:53 [14:53:42]line Смена: 494 ФФД: 1.0 [14:53:42]line ЗНМ: 0300000132 [14:53:42]line РНМ: 0000000000091208 [14:53:42]line Версия ККМ: 001 [14:53:42]line ФМ: 0000000000874857 [14:53:42]line ФД: 56791 [14:53:42]line ФПД: 10299635300020 [14:53:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56791&fm=10299635300020&tin=02508201610067®Number=0000000000091208&sum=14300 [14:53:42]OFD Sender: Processing packet 56791 [packets to send 38, broken 37] [14:53:42]ProducePacketName [14:53:42]name=ofd_packets/00056791 [14:53:42]OFD Sender: To server: pG, [14:53:42]CommunicateWithHost lk.salyk.kg:30040 [14:53:42]ConnectInit lk.salyk.kg [14:53:42]line 0 [14:53:42]written 0, free lines is 4095 [14:53:42]Connected sock=11 [14: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 38 35 37 20 01 00 00 0F 95 18 01 5A A0 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 3B 00 00 00 F4 03 04 00 76 43 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DD 00 00 35 04 06 00 09 5E 12 1A 76 B4 B4 2C 10 2A 3E 01 08 5B [14: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 38 35 37 4F 00 00 00 57 81 47 00 31 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DD 00 00 F4 03 04 00 CE E9 90 66 B6 04 01 00 00 24 FB A7 E1 19 8E B3 E7 [14:53:42]CommunicateWithHost err = 0 [14:53:42]CheckOFDResponse [14:53:42]1017 (14) - 77093643461234 [14:53:42]1041 (16) - 0000000000874857 [14:53:42]1040 (4) - 56791 [14:53:42]1012 (4) - 12.07.2024 08:31 [14:53:42]1206 (1) - 0 [14:53:42]OFD Sender: Remove packet 56791 [14:53:42]ProducePacketName [14:53:42]name=ofd_packets/00056791 [14:53:42]NVStorageDeleteData [14:53:43]Write to MH i2c: 01 00 00 EA 0A F4 [14:53:43]Write i2c OK [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: 01 [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: 01 07 00 [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: 01 07 00 EA 0A 00 00 00 00 00 15 0D 1D [14:53:43]RasterBufferAndPrint [14:53:43]line [14:53:43]line [14:53:43]line [14:53:43]line [14:53:43]line [14:53:43]written 0, free lines is 3357 [14:53:43]MH_Cut [14:53:43]Write to MH i2c: D1 01 00 F1 0A 01 CD [14:53:43]Write i2c OK [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: D1 [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: D1 01 00 [14:53:43]MH_I2C_Read... [14:53:43]Read from MH i2c: D1 01 00 F1 0A 00 CC [14:53:43]Write to MH i2c: 01 00 00 F2 0A FC [14:53:43]Write i2c OK [14:53:43]MH_I2C_Read... [14:53:43]OFD Sender: No OFD packet to send [14:53:43]*** Cut start [14:53:43]*** Partial cut [14:53:43]*** CUTSNS_PIN = 1 [14:53:43]*** CUTSNS_PIN = 0 [14:53:44]*** Brake cut motor [14:53:44]Read from MH i2c: 01 [14:53:44]MH_I2C_Read... [14:53:44]*** Stop cut motor [14:53:44]*** Cut end [14:53:44]Read from MH i2c: 01 07 00 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: 01 07 00 F2 0A 00 00 00 00 00 FF 0F 11 [14:53:44]process_action close_receipt done [14:53:44]requested_data is exist [14:53:44]produce_requested_data [14:53:44]requested_item fm.sn is exist - process it [14:53:44]wFMCommunicate request_size=4 [14:53:44]MH_SAM_APDU [14:53:44]CAPDU: 80 11 00 00 [14:53:44]Write to MH i2c: E2 08 00 F3 0A 80 11 00 00 00 00 00 00 77 [14:53:44]Write i2c OK [14:53:44]MH_I2C_Read... [14:53:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:53:44]Read from MH i2c: E2 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 17 00 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 17 00 F3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D1 [14:53:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:53:44]wFMCommunicate OK [14:53:44]requested_item fd.num is exist - process it [14:53:44]SAM_PROTO_GetFieldsCounters [14:53:44]wFMCommunicate request_size=4 [14:53:44]MH_SAM_APDU [14:53:44]CAPDU: 80 13 00 00 [14:53:44]Write to MH i2c: E2 08 00 F4 0A 80 13 00 00 00 00 00 00 7A [14:53:44]Write i2c OK [14:53:44]MH_I2C_Read... [14:53:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:53:44]Read from MH i2c: E2 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 62 00 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 62 00 F4 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D7 DD 00 00 0E 04 04 00 EE 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 F1 [14: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D7 DD 00 00 0E 04 04 00 EE 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 [14:53:44]wFMCommunicate OK [14:53:44]SAM_PROTO_GetFieldsCounters done [14:53:44]requested_item shift.num is exist - process it [14:53:44]requested_item shift.opened is exist - process it [14:53:44]req_shift_opened [14:53:44]FM_GetShiftState [14:53:44]SAM_PROTO_GetShiftState [14:53:44]wFMCommunicate request_size=4 [14:53:44]MH_SAM_APDU [14:53:44]CAPDU: 80 13 01 00 [14:53:44]Write to MH i2c: E2 08 00 F5 0A 80 13 01 00 00 00 00 00 7C [14:53:44]Write i2c OK [14:53:44]MH_I2C_Read... [14:53:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:53:44]Read from MH i2c: E2 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 0E 00 [14:53:44]MH_I2C_Read... [14:53:44]Read from MH i2c: E2 0E 00 F5 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 7D [14:53:44]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:53:44]wFMCommunicate OK [14:53:44]SAM_PROTO_GetShiftState done [14:53:44]FM_GetShiftState done [14:53:44]req_shift_opened done [14:53:44]requested_item shift.open_date is exist - process it [14:53:44]req_shift_open_date [14:53:44]req_shift_open_date done [14:53:44]requested_item shift.sale.total is exist - process it [14:53:44]SAM_PROTO_GetShiftData [14:53:44]wFMCommunicate request_size=4 [14:53:44]MH_SAM_APDU [14:53:44]CAPDU: 80 13 02 00 [14:53:44]Write to MH i2c: E2 08 00 F6 0A 80 13 02 00 00 00 00 00 7E [14:53:44]Write i2c OK [14:53:44]MH_I2C_Read... [14:53:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:53:45]Read from MH i2c: E2 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 F6 0A 00 B6 04 AA 04 B2 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 80 CB 17 70 04 03 00 20 FB 11 72 04 03 00 60 D0 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 F5 86 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 E5 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 CB [14:53:45]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 80 CB 17 70 04 03 00 20 FB 11 72 04 03 00 60 D0 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 F5 86 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 E5 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:53:45]wFMCommunicate OK [14:53:45]wFMCommunicate request_size=4 [14:53:45]MH_SAM_APDU [14:53:45]CAPDU: 80 17 00 00 [14:53:45]Write to MH i2c: E2 08 00 F7 0A 80 17 00 00 00 00 00 00 81 [14:53:45]Write i2c OK [14:53:45]MH_I2C_Read... [14:53:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:53:45]Read from MH i2c: E2 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 F7 0A 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [14:53:45]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:53:45]wFMCommunicate OK [14:53:45]wFMCommunicate request_size=4 [14:53:45]MH_SAM_APDU [14:53:45]CAPDU: 80 17 00 00 [14:53:45]Write to MH i2c: E2 08 00 F8 0A 80 17 00 00 00 00 00 00 82 [14:53:45]Write i2c OK [14:53:45]MH_I2C_Read... [14:53:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:53:45]Read from MH i2c: E2 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 F8 0A 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [14:53:45]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:53:45]wFMCommunicate OK [14:53:45]wFMCommunicate request_size=4 [14:53:45]MH_SAM_APDU [14:53:45]CAPDU: 80 17 00 00 [14:53:45]Write to MH i2c: E2 08 00 F9 0A 80 17 00 00 00 00 00 00 83 [14:53:45]Write i2c OK [14:53:45]MH_I2C_Read... [14:53:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:53:45]Read from MH i2c: E2 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 [14:53:45]MH_I2C_Read... [14:53:45]Read from MH i2c: E2 FD 00 F9 0A 00 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 90 00 F2 [14:53:45]RAPDU: 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 90 00 [14:53:45]wFMCommunicate OK [14:53:45]wFMCommunicate request_size=4 [14:53:45]MH_SAM_APDU [14:53:45]CAPDU: 80 17 00 00 [14:53:45]Write to MH i2c: E2 08 00 FA 0A 80 17 00 00 00 00 00 00 84 [14:53:45]Write i2c OK [14:53:45]MH_I2C_Read... [14:53:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:53:46]Read from MH i2c: E2 [14:53:46]MH_I2C_Read... [14:53:46]Read from MH i2c: E2 D3 00 [14:53:46]MH_I2C_Read... [14:53:46]Read from MH i2c: E2 D3 00 FA 0A 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [14:53:46]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:53:46]wFMCommunicate OK [14:53:46]SAM_PROTO_GetShiftData done [14:53:46]requested_item shift.sale.total_cash is exist - process it [14:53:46]requested_item shift.sale_refund.total is exist - process it [14:53:46]requested_item shift.sale_refund.total_cash is exist - process it [14:53:46]produce_requested_data done [14:53:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56791,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15594.24,"shift.sale.total_cash":11784.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:53:46]process_action_free close_receipt [14:53:46]json_value_free [14:53:46]json_value_free done [14:53:46]process_json_proto returns [14:53:46]Send response to host [14:53:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56791,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":15594.24,"shift.sale.total_cash":11784.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:53:46]free response buf [14:53:46]execute_script done [14:53:46]execute_script returns [14:53:46]free content buf [14:53:46]Sock 9.Close socket [14:53:46]Sock 9.Thread stoped [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:29]accept exits with 7 [14:56:29]New connection [14:56:29]New thread 3066637668 created [14:56:29]Thread 3066781028 joined [14:56:29]Waiting for new connection... [14:56:29] Sock 7.Parse request [14:56:29]Sock 7.Check first char [14:56:29]Sock 7.First char is OK [14:56:29]request: POST /json_proto HTTP/1.0 [14:56:29]Method: POST [14:56:29]URL: /json_proto [14:56:29]Method is POST - this is cgi request [14:56:29]url: /json_proto [14:56:29]query_string will be loaded in cgi processing [14:56:29]execute_cgi json_proto POST (null) [14:56:29]execute_cgi path=json_proto method=POST [14:56:29]POST find Content-Length [14:56:29]Host: 172.17.39.4:8080 [14:56:29]Content-Length: 786 [14:56:29]Content-Type: application/json [14:56:29] [14:56:29]POST finish read [14:56:29]Found Content-Length = 786 [14:56:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854238", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 18.100, "sum" : 1200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:56:29]execute_script... [14:56: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 : (1)854238", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 18.100, "sum" : 1200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:56:29]POST & json_proto [14:56:29]process_json_proto [14:56:29]json parsed OK: [14:56:29]protocol is kg_v1.0 [14:56:29]action value=close_receipt [14:56:29]process_action close_receipt [14:56:29]cmd_close_receipt [14:56:29]MH_GetDate [14:56:29]Write to MH i2c: F0 00 00 FB 0A F4 [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: F0 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: F0 09 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: F0 09 00 FB 0A 00 1F 44 91 66 2D 25 5D 64 6A [14:56:29]GetLastDocTimeStamp 1720796022 [14:56:29]current date 1720796191 [14:56:29]FM_GetShiftState [14:56:29]SAM_PROTO_GetShiftState [14:56:29]wFMCommunicate request_size=4 [14:56:29]MH_SAM_APDU [14:56:29]CAPDU: 80 13 01 00 [14:56:29]Write to MH i2c: E2 08 00 FC 0A 80 13 01 00 00 00 00 00 83 [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:29]Read from MH i2c: E2 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 0E 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 0E 00 FC 0A 00 09 00 01 86 79 90 66 00 00 00 00 90 00 84 [14:56:29]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:56:29]wFMCommunicate OK [14:56:29]SAM_PROTO_GetShiftState done [14:56:29]FM_GetShiftState done [14:56:29]opened in 1720744326 [14:56:29]opened+sec_in_day 1720830726 [14:56:29]quantity*price = 120003 [14:56:29]sum+1 = 120004 [14:56:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 1200.00 Внесено: 1200.00 СДАЧА: 0.00 НСП 1% : 10.62 НДС 12% : 127.44 Наличными: 1200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 60 12.07.2024 14:56 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56792 ФПД: 68264883204018 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145631&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56792&fm=68264883204018&tin=02508201610067®Number=0000000000091208&sum=120000 [14:56:30]StoreToDocumentArchive [14:56:30]shift 494 fd 56792 [14:56:30]save to /storage/0494/doc_00056792 [14:56:30]save last doc name /storage/0494/doc_00056792 to /storage/kkm_last_doc_name [14:56:30]save OK [14:56:30]Clear old archive folders... [14:56:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:56:30]tlvbuf is 01AD2920 [14:56:30]SAM_PROTO_ClearQueue [14:56:30]wFMCommunicate request_size=4 [14:56:30]MH_SAM_APDU [14:56:30]CAPDU: 80 09 00 00 [14:56:30]Write to MH i2c: E2 08 00 09 0B 80 09 00 00 00 00 00 00 86 [14:56:30]Write i2c OK [14:56:30]MH_I2C_Read... [14:56:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:30]Read from MH i2c: E2 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 09 0B 00 90 00 88 [14:56:30]RAPDU: 90 00 [14:56:30]wFMCommunicate OK [14:56:30]SAM_PROTO_ClearQueue done [14:56:30]KKMCreateOFDPacket [14:56:30]OFDProtocolAddRootSTLVToBuf [14:56:30]FM_MakeSignedData [14:56:30]FM_MakeSignedData [14:56:30]SAM_PROTO_SignData [14:56:30]wFMCommunicate request_size=4 [14:56:30]MH_SAM_APDU [14:56:30]CAPDU: 80 0D 01 02 [14:56:30]Write to MH i2c: E2 08 00 0A 0B 80 0D 01 02 00 00 00 00 8E [14:56:30]Write i2c OK [14:56:30]MH_I2C_Read... [14:56:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:30]Read from MH i2c: E2 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 0A 0B 00 90 00 89 [14:56:30]RAPDU: 90 00 [14:56:30]wFMCommunicate OK [14:56:30]wFMCommunicate request_size=255 [14:56:30]MH_SAM_APDU [14:56:30]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 46 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 C3 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 C0 D4 01 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 1F 44 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DD 00 00 35 04 06 00 3E [14:56:30]Write to MH i2c: E2 02 01 0B 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 46 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 C3 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 C0 D4 01 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 1F 44 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DD 00 00 35 04 06 00 3E 00 00 F0 [14:56:30]Write i2c OK [14:56:30]MH_I2C_Read... [14:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:30]Read from MH i2c: E2 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 [14:56:30]MH_I2C_Read... [14:56:30]Read from MH i2c: E2 03 00 0B 0B 00 90 00 8A [14:56:30]RAPDU: 90 00 [14:56:30]wFMCommunicate OK [14:56:30]wFMCommunicate request_size=10 [14:56:30]MH_SAM_APDU [14:56:30]CAPDU: 80 0D 02 02 05 16 28 1D 2F B2 [14:56:30]Write to MH i2c: E2 0D 00 0C 0B 80 0D 02 02 05 00 16 28 1D 2F B2 00 00 D7 [14:56:30]Write i2c OK [14:56:30]MH_I2C_Read... [14:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:31]Read from MH i2c: E2 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 03 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 03 00 0C 0B 00 90 00 8B [14:56:31]RAPDU: 90 00 [14:56:31]wFMCommunicate OK [14:56:31]wFMCommunicate request_size=4 [14:56:31]MH_SAM_APDU [14:56:31]CAPDU: 80 0D 03 02 [14:56:31]Write to MH i2c: E2 08 00 0D 0B 80 0D 03 02 00 00 00 00 93 [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:31]Read from MH i2c: E2 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 0B 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 0B 00 0D 0B 00 8D C7 11 75 27 F7 54 05 90 00 E5 [14:56:31]RAPDU: 8D C7 11 75 27 F7 54 05 90 00 [14:56:31]wFMCommunicate OK [14:56:31]SAM_PROTO_SignData done [14:56:31]FM_MakeSignedData done [14:56:31]CreateOFDProtocolMessage [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 0E 0B 80 11 00 00 00 00 00 00 93 [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 0E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 ED [14:56:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:56:31]wFMCommunicate OK [14:56:31]CreateOFDProtocolMessage done [14:56:31]OFDSenderStorePacket 56792 [14:56:31]StoreOFDPacket docnum=56792 [14:56:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 53 FB 07 01 0B 0E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 46 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 C3 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 C0 D4 01 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 1F 44 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DD 00 00 35 04 06 00 3E 16 28 1D 2F B2 8D C7 11 75 27 F7 54 05 [14:56:31]CheckFolder [14:56:31]dirname=/storage/ofd_packets [14:56:31]CheckFolder done [14:56:31]ProducePacketName [14:56:31]name=ofd_packets/00056792 [14:56:31]NVStorageSaveData ofd_packets/00056792 [14:56:31]File name is /storage/ofd_packets/00056792 [14:56:31]Write 301 bytes [14:56:31]NVStorageSaveData done [14:56:31]OFDSenderStorePacket done [14:56:31]KKMCreateOFDPacket done [14:56:31]NVStorageSaveData kkm_last_timestamp [14:56:31]File name is /storage/kkm_last_timestamp [14:56:31]Write 4 bytes [14:56:31]NVStorageSaveData done [14:56:31]ExternCall_PrintAddStr [14:56:31]wPrintStart [14:56:31]Write to MH i2c: 01 00 00 0F 0B 1A [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: 01 [14:56:31]MH_I2C_Read... [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 0F 0B 00 00 00 00 00 FF 0F 2F [14:56:31]RasterBufferAndPrint [14:56:31]line Счет N : (1)854238 [14:56:31]line ИНН: 02508201610067 [14:56:31]line Контрольно-Кассовый Чек [14:56:31]line ПРОДАЖА [14:56:31]line ТРК (МРК, ГНК) : 53 [14:56:31]line Товар: 2710124130 [14:56:31]line Аи-92-К-5 [14:56:31]line 18.100 * 66.30 [14:56:31]line = 1200.03 [14:56:31]line НДС 12% НСП 1% [14:56:31]line > о реализуемом товаре [14:56:31]line ОКРУГЛЕНИЕ: -0.03 [14:56:31]line ИТОГО: 1200.00 [14:56:31]line Внесено: 1200.00 [14:56:31]line СДАЧА: 0.00 [14:56:31]line НСП 1% : 10.62 [14:56:31]line НДС 12% : 127.44 [14:56:31]line Наличными: 1200.00 [14:56:31]line Безнал.: 0.00 [14:56:31]line Место: АЗС № 132 "Партнер Нефть" [14:56:31]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:56:31]line СНО: Общий режим [14:56:31]line Чек 60 12.07.2024 14:56 [14:56:31]line Смена: 494 ФФД: 1.0 [14:56:31]line ЗНМ: 0300000132 [14:56:31]line РНМ: 0000000000091208 [14:56:31]line Версия ККМ: 001 [14:56:31]line ФМ: 0000000000874857 [14:56:31]line ФД: 56792 [14:56:31]line ФПД: 68264883204018 [14:56:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145631&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56792&fm=68264883204018&tin=02508201610067®Number=0000000000091208&sum=120000 [14:56:31]written 0, free lines is 4095 [14:56:31]OFD Sender: Processing packet 56792 [packets to send 38, broken 37] [14:56:31]ProducePacketName [14:56:31]name=ofd_packets/00056792 [14:56:31]OFD Sender: To server: pG, [14:56:31]CommunicateWithHost lk.salyk.kg:30040 [14:56:31]ConnectInit lk.salyk.kg [14:56:31]Connected sock=10 [14:56: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 38 35 37 0F 01 00 00 53 FB 07 01 0B 0E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 46 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 C3 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 31 00 00 00 00 07 04 06 00 C0 D4 01 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 1F 44 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DD 00 00 35 04 06 00 3E 16 28 1D 2F B2 8D C7 11 75 27 F7 54 05 [14:56:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F1 3F 47 00 2A 0C 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 38 35 37 10 04 04 00 D8 DD 00 00 F4 03 04 00 76 EA 90 66 B6 04 01 00 00 5D B7 4F 42 94 CD E8 65 [14:56:31]CommunicateWithHost err = 0 [14:56:31]CheckOFDResponse [14:56:31]1017 (14) - 77093643461234 [14:56:31]1041 (16) - 0000000000874857 [14:56:31]1040 (4) - 56792 [14:56:31]1012 (4) - 12.07.2024 08:33 [14:56:31]1206 (1) - 0 [14:56:31]OFD Sender: Remove packet 56792 [14:56:31]ProducePacketName [14:56:31]name=ofd_packets/00056792 [14:56:31]NVStorageDeleteData [14:56:31]Write to MH i2c: 01 00 00 3A 0B 45 [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: 01 [14:56:31]MH_I2C_Read... [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 3A 0B 00 00 00 00 00 FE 0C 56 [14:56:31]RasterBufferAndPrint [14:56:31]line [14:56:31]line [14:56:31]line [14:56:31]line [14:56:31]line [14:56:31]written 0, free lines is 3331 [14:56:31]MH_Cut [14:56:31]Write to MH i2c: D1 01 00 41 0B 01 1E [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: D1 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: D1 01 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: D1 01 00 41 0B 00 1D [14:56:31]Write to MH i2c: 01 00 00 42 0B 4D [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:32]OFD Sender: No OFD packet to send [14:56:32]*** Cut start [14:56:32]*** Partial cut [14:56:32]*** CUTSNS_PIN = 1 [14:56:32]*** CUTSNS_PIN = 0 [14:56:32]*** Brake cut motor [14:56:33]Read from MH i2c: 01 [14:56:33]MH_I2C_Read... [14:56:33]*** Stop cut motor [14:56:33]*** Cut end [14:56:33]Read from MH i2c: 01 07 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: 01 07 00 42 0B 00 00 00 00 00 FF 0F 62 [14:56:33]process_action close_receipt done [14:56:33]requested_data is exist [14:56:33]produce_requested_data [14:56:33]requested_item fm.sn is exist - process it [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 11 00 00 [14:56:33]Write to MH i2c: E2 08 00 43 0B 80 11 00 00 00 00 00 00 C8 [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:33]Read from MH i2c: E2 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 17 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 17 00 43 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 22 [14:56:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:56:33]wFMCommunicate OK [14:56:33]requested_item fd.num is exist - process it [14:56:33]SAM_PROTO_GetFieldsCounters [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 13 00 00 [14:56:33]Write to MH i2c: E2 08 00 44 0B 80 13 00 00 00 00 00 00 CB [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:33]Read from MH i2c: E2 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 62 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 62 00 44 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D8 DD 00 00 0E 04 04 00 EE 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 46 [14:56: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D8 DD 00 00 0E 04 04 00 EE 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 [14:56:33]wFMCommunicate OK [14:56:33]SAM_PROTO_GetFieldsCounters done [14:56:33]requested_item shift.num is exist - process it [14:56:33]requested_item shift.opened is exist - process it [14:56:33]req_shift_opened [14:56:33]FM_GetShiftState [14:56:33]SAM_PROTO_GetShiftState [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 13 01 00 [14:56:33]Write to MH i2c: E2 08 00 45 0B 80 13 01 00 00 00 00 00 CD [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:33]Read from MH i2c: E2 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 0E 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 0E 00 45 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CE [14:56:33]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [14:56:33]wFMCommunicate OK [14:56:33]SAM_PROTO_GetShiftState done [14:56:33]FM_GetShiftState done [14:56:33]req_shift_opened done [14:56:33]requested_item shift.open_date is exist - process it [14:56:33]req_shift_open_date [14:56:33]req_shift_open_date done [14:56:33]requested_item shift.sale.total is exist - process it [14:56:33]SAM_PROTO_GetShiftData [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 13 02 00 [14:56:33]Write to MH i2c: E2 08 00 46 0B 80 13 02 00 00 00 00 00 CF [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:56:33]Read from MH i2c: E2 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 FD 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 FD 00 46 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 40 A0 19 70 04 03 00 E0 CF 13 72 04 03 00 60 D0 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 BD B8 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 0B 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 70 [14:56:33]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 40 A0 19 70 04 03 00 E0 CF 13 72 04 03 00 60 D0 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 BD B8 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 0B 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [14:56:33]wFMCommunicate OK [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 17 00 00 [14:56:33]Write to MH i2c: E2 08 00 47 0B 80 17 00 00 00 00 00 00 D2 [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 47 0B 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [14:56:34]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 17 00 00 [14:56:34]Write to MH i2c: E2 08 00 48 0B 80 17 00 00 00 00 00 00 D3 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 48 0B 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 93 [14:56:34]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 17 00 00 [14:56:34]Write to MH i2c: E2 08 00 49 0B 80 17 00 00 00 00 00 00 D4 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 FD 00 49 0B 00 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 90 00 43 [14:56:34]RAPDU: 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 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 17 00 00 [14:56:34]Write to MH i2c: E2 08 00 4A 0B 80 17 00 00 00 00 00 00 D5 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [14:56:35]Read from MH i2c: E2 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 D3 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 D3 00 4A 0B 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C2 [14:56:35]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56:35]wFMCommunicate OK [14:56:35]SAM_PROTO_GetShiftData done [14:56:35]requested_item shift.sale.total_cash is exist - process it [14:56:35]requested_item shift.sale_refund.total is exist - process it [14:56:35]requested_item shift.sale_refund.total_cash is exist - process it [14:56:35]produce_requested_data done [14:56:35]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56792,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":16794.24,"shift.sale.total_cash":12984.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [14:56:35]process_action_free close_receipt [14:56:35]json_value_free [14:56:35]json_value_free done [14:56:35]process_json_proto returns [14:56:35]Send response to host [14:56:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56792,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":16794.24,"shift.sale.total_cash":12984.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [14:56:35]free response buf [14:56:35]execute_script done [14:56:35]execute_script returns [14:56:35]free content buf [14:56:35]Sock 7.Close socket [14:56:35]Sock 7.Thread stoped [14:56:37]OFD Sender: No OFD packet to send [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:46]accept exits with 9 [15:01:46]New connection [15:01:46]New thread 3066781028 created [15:01:46] Sock 9.Parse request [15:01:46]Thread 3066637668 joined [15:01:46]Sock 9.Check first char [15:01:46]Waiting for new connection... [15:01:46]Sock 9.First char is OK [15:01:46]request: POST /json_proto HTTP/1.0 [15:01:46]Method: POST [15:01:46]URL: /json_proto [15:01:46]Method is POST - this is cgi request [15:01:46]url: /json_proto [15:01:46]query_string will be loaded in cgi processing [15:01:46]execute_cgi json_proto POST (null) [15:01:46]execute_cgi path=json_proto method=POST [15:01:46]POST find Content-Length [15:01:46]Host: 172.17.39.4:8080 [15:01:46]Content-Length: 1042 [15:01:46]Content-Type: application/json [15:01:46] [15:01:46]POST finish read [15:01:46]Found Content-Length = 1042 [15:01:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129285", "tax_sys" : 0, "items" : [ { "code": "4870227273824", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041C\u043E\u0445\u0438\u0442\u043E 0,5\u043B", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 217.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:01:46]execute_script... [15:01: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)129285", "tax_sys" : 0, "items" : [ { "code": "4870227273824", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041C\u043E\u0445\u0438\u0442\u043E 0,5\u043B", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 217.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:01:46]POST & json_proto [15:01:46]process_json_proto [15:01:46]json parsed OK: [15:01:46]protocol is kg_v1.0 [15:01:46]action value=close_receipt [15:01:46]process_action close_receipt [15:01:46]cmd_close_receipt [15:01:46]MH_GetDate [15:01:46]Write to MH i2c: F0 00 00 4B 0B 45 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: F0 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: F0 09 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: F0 09 00 4B 0B 00 5D 45 91 66 2D 25 5D 64 FA [15:01:46]GetLastDocTimeStamp 1720796191 [15:01:46]current date 1720796509 [15:01:46]FM_GetShiftState [15:01:46]SAM_PROTO_GetShiftState [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 13 01 00 [15:01:46]Write to MH i2c: E2 08 00 4C 0B 80 13 01 00 00 00 00 00 D4 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 0E 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 0E 00 4C 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D5 [15:01:46]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:01:46]wFMCommunicate OK [15:01:46]SAM_PROTO_GetShiftState done [15:01:46]FM_GetShiftState done [15:01:46]opened in 1720744326 [15:01:46]opened+sec_in_day 1720830726 [15:01:46]quantity*price = 11000 [15:01:46]sum+1 = 11001 [15:01:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 217.00 НСП 1% : 1.92 НДС 12% : 23.04 Наличными: 217.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 61 12.07.2024 15:01 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56793 ФПД: 189448232883370 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150149&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56793&fm=189448232883370&tin=02508201610067®Number=0000000000091208&sum=21700 0 [15:01:48]StoreToDocumentArchive [15:01:48]shift 494 fd 56793 [15:01:48]save to /storage/0494/doc_00056793 [15:01:48]save last doc name /storage/0494/doc_00056793 to /storage/kkm_last_doc_name [15:01:48]save OK [15:01:48]Clear old archive folders... [15:01:48]ProcessDocumentItem done err = 0, tmpTLVsize=397 [15:01:48]tlvbuf is 01AF2950 [15:01:48]SAM_PROTO_ClearQueue [15:01:48]wFMCommunicate request_size=4 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 09 00 00 [15:01:48]Write to MH i2c: E2 08 00 59 0B 80 09 00 00 00 00 00 00 D6 [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 59 0B 00 90 00 D8 [15:01:48]RAPDU: 90 00 [15:01:48]wFMCommunicate OK [15:01:48]SAM_PROTO_ClearQueue done [15:01:48]KKMCreateOFDPacket [15:01:48]OFDProtocolAddRootSTLVToBuf [15:01:48]FM_MakeSignedData [15:01:48]FM_MakeSignedData [15:01:48]SAM_PROTO_SignData [15:01:48]wFMCommunicate request_size=4 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 0D 01 02 [15:01:48]Write to MH i2c: E2 08 00 5A 0B 80 0D 01 02 00 00 00 00 DE [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 5A 0B 00 90 00 D9 [15:01:48]RAPDU: 90 00 [15:01:48]wFMCommunicate OK [15:01:48]wFMCommunicate request_size=255 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 32 34 06 04 28 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 54 00 00 00 00 EB 03 26 00 [15:01:48]Write to MH i2c: E2 02 01 5B 0B 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 32 34 06 04 28 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 54 00 00 00 00 EB 03 26 00 00 00 A2 [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 5B 0B 00 90 00 DA [15:01:48]RAPDU: 90 00 [15:01:48]wFMCommunicate OK [15:01:48]wFMCommunicate request_size=156 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 5D 45 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DD 00 00 35 04 06 00 AC 4D 5A 9F D4 AA [15:01:48]Write to MH i2c: E2 9F 00 5C 0B 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 5D 45 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DD 00 00 35 04 06 00 AC 4D 5A 9F D4 AA 00 00 06 [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 03 00 5C 0B 00 90 00 DB [15:01:48]RAPDU: 90 00 [15:01:48]wFMCommunicate OK [15:01:48]wFMCommunicate request_size=4 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 0D 03 02 [15:01:48]Write to MH i2c: E2 08 00 5D 0B 80 0D 03 02 00 00 00 00 E3 [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 0B 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 0B 00 5D 0B 00 96 14 20 89 B9 D2 CE D4 90 00 64 [15:01:48]RAPDU: 96 14 20 89 B9 D2 CE D4 90 00 [15:01:48]wFMCommunicate OK [15:01:48]SAM_PROTO_SignData done [15:01:48]FM_MakeSignedData done [15:01:48]CreateOFDProtocolMessage [15:01:48]wFMCommunicate request_size=4 [15:01:48]MH_SAM_APDU [15:01:48]CAPDU: 80 11 00 00 [15:01:48]Write to MH i2c: E2 08 00 5E 0B 80 11 00 00 00 00 00 00 E3 [15:01:48]Write i2c OK [15:01:48]MH_I2C_Read... [15:01:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:48]Read from MH i2c: E2 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 17 00 [15:01:48]MH_I2C_Read... [15:01:48]Read from MH i2c: E2 17 00 5E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3D [15:01:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:01:48]wFMCommunicate OK [15:01:48]CreateOFDProtocolMessage done [15:01:48]OFDSenderStorePacket 56793 [15:01:48]StoreOFDPacket docnum=56793 [15:01:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A1 01 00 00 56 7E 99 01 62 57 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 32 34 06 04 28 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 5D 45 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DD 00 00 35 04 06 00 AC 4D 5A 9F D4 AA 96 14 20 89 B9 D2 CE D4 [15:01:48]CheckFolder [15:01:48]dirname=/storage/ofd_packets [15:01:48]CheckFolder done [15:01:48]ProducePacketName [15:01:48]name=ofd_packets/00056793 [15:01:48]NVStorageSaveData ofd_packets/00056793 [15:01:48]File name is /storage/ofd_packets/00056793 [15:01:48]Write 447 bytes [15:01:48]NVStorageSaveData done [15:01:48]OFDSenderStorePacket done [15:01:48]KKMCreateOFDPacket done [15:01:48]NVStorageSaveData kkm_last_timestamp [15:01:48]File name is /storage/kkm_last_timestamp [15:01:48]Write 4 bytes [15:01:49]NVStorageSaveData done [15:01:49]ExternCall_PrintAddStr [15:01:49]wPrintStart [15:01:49]Write to MH i2c: 01 00 00 5F 0B 6A [15:01:49]OFD Sender: Processing packet 56793 [packets to send 38, broken 37] [15:01:49]ProducePacketName [15:01:49]name=ofd_packets/00056793 [15:01:49]OFD Sender: To server: pG, [15:01:49]CommunicateWithHost lk.salyk.kg:30040 [15:01:49]ConnectInit lk.salyk.kg [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 07 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 07 00 5F 0B 00 00 00 00 00 FF 0F 7F [15:01:49]RasterBufferAndPrint [15:01:49]line Счет N : (3)129285 [15:01:49]line ИНН: 02508201610067 [15:01:49]line Контрольно-Кассовый Чек [15:01:49]line ПРОДАЖА [15:01:49]line Товар: 4870227273824 [15:01:49]line Лимонад Sunbel Мохито 0,5л [15:01:49]line 2.000 * 55.00 [15:01:49]line = 110.00 [15:01:49]line НДС 12% НСП 1% [15:01:49]line > о реализуемом товаре [15:01:49]line Товар: 5449000189318 [15:01:49]line Холодный чай Fuse лимон 1л [15:01:49]line 1.000 * 107.00 [15:01:49]line = 107.00 [15:01:49]line НДС 12% НСП 1% [15:01:49]line > о реализуемом товаре [15:01:49]line ИТОГО: 217.00 [15:01:49]line НСП 1% : 1.92 [15:01:49]line НДС 12% : 23.04 [15:01:49]line Наличными: 217.00 [15:01:49]line Безнал.: 0.00 [15:01:49]line Место: АЗС № 132 "Партнер Нефть" [15:01:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:01:49]line СНО: Общий режим [15:01:49]line Чек 61 12.07.2024 15:01 [15:01:49]line Смена: 494 ФФД: 1.0 [15:01:49]line ЗНМ: 0300000132 [15:01:49]line РНМ: 0000000000091208 [15:01:49]line Версия ККМ: 001 [15:01:49]line ФМ: 0000000000874857 [15:01:49]line ФД: 56793 [15:01:49]line ФПД: 189448232883370 [15:01:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150149&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56793&fm=189448232883370&tin=02508201610067®Number=0000000000091208&sum=21700 [15:01:49]line 0 [15:01:49]written 0, free lines is 4095 [15:01:49]Connected sock=11 [15:01: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 38 35 37 A1 01 00 00 56 7E 99 01 62 57 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 32 34 06 04 28 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 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 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 5D 45 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DD 00 00 35 04 06 00 AC 4D 5A 9F D4 AA 96 14 20 89 B9 D2 CE D4 [15:01:49]Write to MH i2c: 01 00 00 8D 0B 98 [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 07 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 07 00 8D 0B 00 00 00 00 00 B9 0C 64 [15:01:49]RasterBufferAndPrint [15:01:49]line [15:01:49]line [15:01:49]line [15:01:49]line [15:01:49]line [15:01:49]written 0, free lines is 3262 [15:01:49]MH_Cut [15:01:49]Write to MH i2c: D1 01 00 94 0B 01 71 [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: D1 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: D1 01 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: D1 01 00 94 0B 00 70 [15:01:49]Write to MH i2c: 01 00 00 95 0B A0 [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 69 A8 47 00 30 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DD 00 00 F4 03 04 00 B4 EB 90 66 B6 04 01 00 00 9B FC E6 2A 59 49 11 8A [15:01:49]CommunicateWithHost err = 0 [15:01:49]CheckOFDResponse [15:01:49]1017 (14) - 77093643461234 [15:01:49]1041 (16) - 0000000000874857 [15:01:49]1040 (4) - 56793 [15:01:49]1012 (4) - 12.07.2024 08:39 [15:01:49]1206 (1) - 0 [15:01:49]OFD Sender: Remove packet 56793 [15:01:49]ProducePacketName [15:01:49]name=ofd_packets/00056793 [15:01:49]NVStorageDeleteData [15:01:50]OFD Sender: No OFD packet to send [15:01:50]*** Cut start [15:01:50]*** Partial cut [15:01:50]*** CUTSNS_PIN = 1 [15:01:50]*** CUTSNS_PIN = 0 [15:01:50]*** Brake cut motor [15:01:50]Read from MH i2c: 01 [15:01:50]MH_I2C_Read... [15:01:50]*** Stop cut motor [15:01:50]*** Cut end [15:01:50]Read from MH i2c: 01 07 00 [15:01:50]MH_I2C_Read... [15:01:50]Read from MH i2c: 01 07 00 95 0B 00 00 00 00 00 FF 0F B5 [15:01:50]process_action close_receipt done [15:01:50]requested_data is exist [15:01:50]produce_requested_data [15:01:50]requested_item fm.sn is exist - process it [15:01:50]wFMCommunicate request_size=4 [15:01:50]MH_SAM_APDU [15:01:50]CAPDU: 80 11 00 00 [15:01:50]Write to MH i2c: E2 08 00 96 0B 80 11 00 00 00 00 00 00 1B [15:01:50]Write i2c OK [15:01:50]MH_I2C_Read... [15:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:51]Read from MH i2c: E2 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 17 00 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 17 00 96 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 75 [15:01:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:01:51]wFMCommunicate OK [15:01:51]requested_item fd.num is exist - process it [15:01:51]SAM_PROTO_GetFieldsCounters [15:01:51]wFMCommunicate request_size=4 [15:01:51]MH_SAM_APDU [15:01:51]CAPDU: 80 13 00 00 [15:01:51]Write to MH i2c: E2 08 00 97 0B 80 13 00 00 00 00 00 00 1E [15:01:51]Write i2c OK [15:01:51]MH_I2C_Read... [15:01:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:01:51]Read from MH i2c: E2 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 62 00 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 62 00 97 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D9 DD 00 00 0E 04 04 00 EE 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 9D [15:01:51]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D9 DD 00 00 0E 04 04 00 EE 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 [15:01:51]wFMCommunicate OK [15:01:51]SAM_PROTO_GetFieldsCounters done [15:01:51]requested_item shift.num is exist - process it [15:01:51]requested_item shift.opened is exist - process it [15:01:51]req_shift_opened [15:01:51]FM_GetShiftState [15:01:51]SAM_PROTO_GetShiftState [15:01:51]wFMCommunicate request_size=4 [15:01:51]MH_SAM_APDU [15:01:51]CAPDU: 80 13 01 00 [15:01:51]Write to MH i2c: E2 08 00 98 0B 80 13 01 00 00 00 00 00 20 [15:01:51]Write i2c OK [15:01:51]MH_I2C_Read... [15:01:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:51]Read from MH i2c: E2 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 0E 00 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 0E 00 98 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 21 [15:01:51]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:01:51]wFMCommunicate OK [15:01:51]SAM_PROTO_GetShiftState done [15:01:51]FM_GetShiftState done [15:01:51]req_shift_opened done [15:01:51]requested_item shift.open_date is exist - process it [15:01:51]req_shift_open_date [15:01:51]req_shift_open_date done [15:01:51]requested_item shift.sale.total is exist - process it [15:01:51]SAM_PROTO_GetShiftData [15:01:51]wFMCommunicate request_size=4 [15:01:51]MH_SAM_APDU [15:01:51]CAPDU: 80 13 02 00 [15:01:51]Write to MH i2c: E2 08 00 99 0B 80 13 02 00 00 00 00 00 22 [15:01:51]Write i2c OK [15:01:51]MH_I2C_Read... [15:01:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:01:51]Read from MH i2c: E2 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 FD 00 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 FD 00 99 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 04 F5 19 70 04 03 00 A4 24 14 72 04 03 00 60 D0 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 BD C1 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 CB 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 C1 [15:01:51]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 04 F5 19 70 04 03 00 A4 24 14 72 04 03 00 60 D0 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 BD C1 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 CB 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:01:51]wFMCommunicate OK [15:01:51]wFMCommunicate request_size=4 [15:01:51]MH_SAM_APDU [15:01:51]CAPDU: 80 17 00 00 [15:01:51]Write to MH i2c: E2 08 00 9A 0B 80 17 00 00 00 00 00 00 25 [15:01:51]Write i2c OK [15:01:51]MH_I2C_Read... [15:01:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:01:51]Read from MH i2c: E2 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 FD 00 [15:01:51]MH_I2C_Read... [15:01:51]Read from MH i2c: E2 FD 00 9A 0B 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 64 [15:01:51]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:01:51]wFMCommunicate OK [15:01:51]wFMCommunicate request_size=4 [15:01:51]MH_SAM_APDU [15:01:51]CAPDU: 80 17 00 00 [15:01:51]Write to MH i2c: E2 08 00 9B 0B 80 17 00 00 00 00 00 00 26 [15:01:51]Write i2c OK [15:01:51]MH_I2C_Read... [15:01:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:01:52]Read from MH i2c: E2 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 FD 00 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 FD 00 9B 0B 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E6 [15:01:52]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:01:52]wFMCommunicate OK [15:01:52]wFMCommunicate request_size=4 [15:01:52]MH_SAM_APDU [15:01:52]CAPDU: 80 17 00 00 [15:01:52]Write to MH i2c: E2 08 00 9C 0B 80 17 00 00 00 00 00 00 27 [15:01:52]Write i2c OK [15:01:52]MH_I2C_Read... [15:01:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:01:52]Read from MH i2c: E2 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 FD 00 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 FD 00 9C 0B 00 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 90 00 96 [15:01:52]RAPDU: 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 90 00 [15:01:52]wFMCommunicate OK [15:01:52]wFMCommunicate request_size=4 [15:01:52]MH_SAM_APDU [15:01:52]CAPDU: 80 17 00 00 [15:01:52]Write to MH i2c: E2 08 00 9D 0B 80 17 00 00 00 00 00 00 28 [15:01:52]Write i2c OK [15:01:52]MH_I2C_Read... [15:01:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:01:52]Read from MH i2c: E2 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 D3 00 [15:01:52]MH_I2C_Read... [15:01:52]Read from MH i2c: E2 D3 00 9D 0B 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 15 [15:01:52]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:01:52]wFMCommunicate OK [15:01:52]SAM_PROTO_GetShiftData done [15:01:52]requested_item shift.sale.total_cash is exist - process it [15:01:52]requested_item shift.sale_refund.total is exist - process it [15:01:52]requested_item shift.sale_refund.total_cash is exist - process it [15:01:52]produce_requested_data done [15:01:52]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56793,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17011.24,"shift.sale.total_cash":13201.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:01:52]process_action_free close_receipt [15:01:52]json_value_free [15:01:52]json_value_free done [15:01:52]process_json_proto returns [15:01:52]Send response to host [15:01:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56793,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17011.24,"shift.sale.total_cash":13201.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:01:52]free response buf [15:01:52]execute_script done [15:01:52]execute_script returns [15:01:52]free content buf [15:01:52]Sock 9.Close socket [15:01:52]Sock 9.Thread stoped [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:03]accept exits with 7 [15:05:03]New connection [15:05:03]New thread 3066637668 created [15:05:03]Thread 3066781028 joined [15:05:03]Waiting for new connection... [15:05:03] Sock 7.Parse request [15:05:03]Sock 7.Check first char [15:05:03]Sock 7.First char is OK [15:05:03]request: POST /json_proto HTTP/1.0 [15:05:03]Method: POST [15:05:03]URL: /json_proto [15:05:03]Method is POST - this is cgi request [15:05:03]url: /json_proto [15:05:03]query_string will be loaded in cgi processing [15:05:03]execute_cgi json_proto POST (null) [15:05:03]execute_cgi path=json_proto method=POST [15:05:03]POST find Content-Length [15:05:03]Host: 172.17.39.4:8080 [15:05:03]Content-Length: 770 [15:05:03]Content-Type: application/json [15:05:03] [15:05:03]POST finish read [15:05:03]Found Content-Length = 770 [15:05:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129286", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:05:03]execute_script... [15:05:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129286", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:05:03]POST & json_proto [15:05:03]process_json_proto [15:05:03]json parsed OK: [15:05:03]protocol is kg_v1.0 [15:05:03]action value=close_receipt [15:05:03]process_action close_receipt [15:05:03]cmd_close_receipt [15:05:03]MH_GetDate [15:05:03]Write to MH i2c: F0 00 00 9E 0B 98 [15:05:03]Write i2c OK [15:05:03]MH_I2C_Read... [15:05:03]Read from MH i2c: F0 [15:05:03]MH_I2C_Read... [15:05:03]Read from MH i2c: F0 09 00 [15:05:03]MH_I2C_Read... [15:05:03]Read from MH i2c: F0 09 00 9E 0B 00 22 46 91 66 2D 25 5D 64 13 [15:05:03]GetLastDocTimeStamp 1720796509 [15:05:03]current date 1720796706 [15:05:03]FM_GetShiftState [15:05:03]SAM_PROTO_GetShiftState [15:05:03]wFMCommunicate request_size=4 [15:05:03]MH_SAM_APDU [15:05:03]CAPDU: 80 13 01 00 [15:05:03]Write to MH i2c: E2 08 00 9F 0B 80 13 01 00 00 00 00 00 27 [15:05:03]Write i2c OK [15:05:03]MH_I2C_Read... [15:05:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:05:03]Read from MH i2c: E2 [15:05:03]MH_I2C_Read... [15:05:03]Read from MH i2c: E2 0E 00 [15:05:03]MH_I2C_Read... [15:05:03]Read from MH i2c: E2 0E 00 9F 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 28 [15:05:03]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:05:03]wFMCommunicate OK [15:05:03]SAM_PROTO_GetShiftState done [15:05:03]FM_GetShiftState done [15:05:03]opened in 1720744326 [15:05:03]opened+sec_in_day 1720830726 [15:05:03]quantity*price = 12500 [15:05:03]sum+1 = 12501 [15:05:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 62 12.07.2024 15:05 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56794 ФПД: 273948682498968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150506&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56794&fm=273948682498968&tin=02508201610067®Number=0000000000091208&sum=12500 0 [15:05:04]StoreToDocumentArchive [15:05:04]shift 494 fd 56794 [15:05:04]save to /storage/0494/doc_00056794 [15:05:04]save last doc name /storage/0494/doc_00056794 to /storage/kkm_last_doc_name [15:05:04]save OK [15:05:04]Clear old archive folders... [15:05:04]ProcessDocumentItem done err = 0, tmpTLVsize=282 [15:05:04]tlvbuf is 01AD9130 [15:05:04]SAM_PROTO_ClearQueue [15:05:04]wFMCommunicate request_size=4 [15:05:04]MH_SAM_APDU [15:05:04]CAPDU: 80 09 00 00 [15:05:04]Write to MH i2c: E2 08 00 AC 0B 80 09 00 00 00 00 00 00 29 [15:05:04]Write i2c OK [15:05:04]MH_I2C_Read... [15:05:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:05:04]Read from MH i2c: E2 [15:05:04]MH_I2C_Read... [15:05:04]Read from MH i2c: E2 03 00 [15:05:04]MH_I2C_Read... [15:05:04]Read from MH i2c: E2 03 00 AC 0B 00 90 00 2B [15:05:04]RAPDU: 90 00 [15:05:04]wFMCommunicate OK [15:05:04]SAM_PROTO_ClearQueue done [15:05:04]KKMCreateOFDPacket [15:05:04]OFDProtocolAddRootSTLVToBuf [15:05:04]FM_MakeSignedData [15:05:04]FM_MakeSignedData [15:05:04]SAM_PROTO_SignData [15:05:04]wFMCommunicate request_size=4 [15:05:04]MH_SAM_APDU [15:05:04]CAPDU: 80 0D 01 02 [15:05:04]Write to MH i2c: E2 08 00 AD 0B 80 0D 01 02 00 00 00 00 31 [15:05:04]Write i2c OK [15:05:04]MH_I2C_Read... [15:05:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:05:04]Read from MH i2c: E2 [15:05:04]MH_I2C_Read... [15:05:04]Read from MH i2c: E2 03 00 [15:05:04]MH_I2C_Read... [15:05:04]Read from MH i2c: E2 03 00 AD 0B 00 90 00 2C [15:05:04]RAPDU: 90 00 [15:05:04]wFMCommunicate OK [15:05:04]wFMCommunicate request_size=255 [15:05:04]MH_SAM_APDU [15:05:04]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 22 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [15:05:04]Write to MH i2c: E2 02 01 AE 0B 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 22 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 96 [15:05:04]Write i2c OK [15:05:04]MH_I2C_Read... [15:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:05:05]Read from MH i2c: E2 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 03 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 03 00 AE 0B 00 90 00 2D [15:05:05]RAPDU: 90 00 [15:05:05]wFMCommunicate OK [15:05:05]wFMCommunicate request_size=41 [15:05:05]MH_SAM_APDU [15:05:05]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DD 00 00 35 04 06 00 F9 27 A5 E8 33 98 [15:05:05]Write to MH i2c: E2 2C 00 AF 0B 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DD 00 00 35 04 06 00 F9 27 A5 E8 33 98 00 00 39 [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:05:05]Read from MH i2c: E2 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 03 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 03 00 AF 0B 00 90 00 2E [15:05:05]RAPDU: 90 00 [15:05:05]wFMCommunicate OK [15:05:05]wFMCommunicate request_size=4 [15:05:05]MH_SAM_APDU [15:05:05]CAPDU: 80 0D 03 02 [15:05:05]Write to MH i2c: E2 08 00 B0 0B 80 0D 03 02 00 00 00 00 36 [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:05:05]Read from MH i2c: E2 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 0B 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 0B 00 B0 0B 00 AF 49 A4 BD 1C 58 1F B4 90 00 D7 [15:05:05]RAPDU: AF 49 A4 BD 1C 58 1F B4 90 00 [15:05:05]wFMCommunicate OK [15:05:05]SAM_PROTO_SignData done [15:05:05]FM_MakeSignedData done [15:05:05]CreateOFDProtocolMessage [15:05:05]wFMCommunicate request_size=4 [15:05:05]MH_SAM_APDU [15:05:05]CAPDU: 80 11 00 00 [15:05:05]Write to MH i2c: E2 08 00 B1 0B 80 11 00 00 00 00 00 00 36 [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:05:05]Read from MH i2c: E2 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 17 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: E2 17 00 B1 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 90 [15:05:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:05:05]wFMCommunicate OK [15:05:05]CreateOFDProtocolMessage done [15:05:05]OFDSenderStorePacket 56794 [15:05:05]StoreOFDPacket docnum=56794 [15:05:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 83 5C 26 01 72 0D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 22 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DD 00 00 35 04 06 00 F9 27 A5 E8 33 98 AF 49 A4 BD 1C 58 1F B4 [15:05:05]CheckFolder [15:05:05]dirname=/storage/ofd_packets [15:05:05]CheckFolder done [15:05:05]ProducePacketName [15:05:05]name=ofd_packets/00056794 [15:05:05]NVStorageSaveData ofd_packets/00056794 [15:05:05]File name is /storage/ofd_packets/00056794 [15:05:05]Write 332 bytes [15:05:05]NVStorageSaveData done [15:05:05]OFDSenderStorePacket done [15:05:05]KKMCreateOFDPacket done [15:05:05]NVStorageSaveData kkm_last_timestamp [15:05:05]File name is /storage/kkm_last_timestamp [15:05:05]Write 4 bytes [15:05:05]NVStorageSaveData done [15:05:05]ExternCall_PrintAddStr [15:05:05]wPrintStart [15:05:05]Write to MH i2c: 01 00 00 B2 0B BD [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 07 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 07 00 B2 0B 00 00 00 00 00 FF 0F D2 [15:05:05]RasterBufferAndPrint [15:05:05]line Счет N : (3)129286 [15:05:05]line ИНН: 02508201610067 [15:05:05]line Контрольно-Кассовый Чек [15:05:05]line ПРОДАЖА [15:05:05]line Товар: 4870202521292 [15:05:05]line Напиток Сок березы 1,2л [15:05:05]line 1.000 * 125.00 [15:05:05]line = 125.00 [15:05:05]line НДС 12% НСП 1% [15:05:05]line > о реализуемом товаре [15:05:05]line ИТОГО: 125.00 [15:05:05]line НСП 1% : 1.11 [15:05:05]line НДС 12% : 13.27 [15:05:05]line Наличными: 125.00 [15:05:05]line Безнал.: 0.00 [15:05:05]line Место: АЗС № 132 "Партнер Нефть" [15:05:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:05:05]line СНО: Общий режим [15:05:05]line Чек 62 12.07.2024 15:05 [15:05:05]line Смена: 494 ФФД: 1.0 [15:05:05]line ЗНМ: 0300000132 [15:05:05]line РНМ: 0000000000091208 [15:05:05]line Версия ККМ: 001 [15:05:05]line ФМ: 0000000000874857 [15:05:05]line ФД: 56794 [15:05:05]line ФПД: 273948682498968 [15:05:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150506&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56794&fm=273948682498968&tin=02508201610067®Number=0000000000091208&sum=12500 [15:05:05]line 0 [15:05:05]written 0, free lines is 4095 [15:05:05]OFD Sender: Processing packet 56794 [packets to send 38, broken 37] [15:05:05]ProducePacketName [15:05:05]name=ofd_packets/00056794 [15:05:05]OFD Sender: To server: pG, [15:05:05]CommunicateWithHost lk.salyk.kg:30040 [15:05:05]ConnectInit lk.salyk.kg [15:05:05]Connected sock=10 [15:05:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 83 5C 26 01 72 0D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 22 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DD 00 00 35 04 06 00 F9 27 A5 E8 33 98 AF 49 A4 BD 1C 58 1F B4 [15:05:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9B 93 47 00 3D 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DD 00 00 F4 03 04 00 78 EC 90 66 B6 04 01 00 00 00 D0 BA DC C1 5B 1B C3 [15:05:05]CommunicateWithHost err = 0 [15:05:05]CheckOFDResponse [15:05:05]1017 (14) - 77093643461234 [15:05:05]1041 (16) - 0000000000874857 [15:05:05]1040 (4) - 56794 [15:05:05]1012 (4) - 12.07.2024 08:42 [15:05:05]1206 (1) - 0 [15:05:05]OFD Sender: Remove packet 56794 [15:05:05]ProducePacketName [15:05:05]name=ofd_packets/00056794 [15:05:05]NVStorageDeleteData [15:05:05]Write to MH i2c: 01 00 00 DA 0B E5 [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 07 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: 01 07 00 DA 0B 00 00 00 00 00 0F 0D 08 [15:05:05]RasterBufferAndPrint [15:05:05]line [15:05:05]line [15:05:05]line [15:05:05]line [15:05:05]line [15:05:05]written 0, free lines is 3350 [15:05:05]MH_Cut [15:05:05]Write to MH i2c: D1 01 00 E1 0B 01 BE [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: D1 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: D1 01 00 [15:05:05]MH_I2C_Read... [15:05:05]Read from MH i2c: D1 01 00 E1 0B 00 BD [15:05:05]Write to MH i2c: 01 00 00 E2 0B ED [15:05:05]Write i2c OK [15:05:05]MH_I2C_Read... [15:05:06]OFD Sender: No OFD packet to send [15:05:06]*** Cut start [15:05:06]*** Partial cut [15:05:06]*** CUTSNS_PIN = 1 [15:05:06]*** CUTSNS_PIN = 0 [15:05:06]*** Brake cut motor [15:05:07]Read from MH i2c: 01 [15:05:07]MH_I2C_Read... [15:05:07]*** Stop cut motor [15:05:07]*** Cut end [15:05:07]Read from MH i2c: 01 07 00 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: 01 07 00 E2 0B 00 00 00 00 00 FF 0F 02 [15:05:07]process_action close_receipt done [15:05:07]requested_data is exist [15:05:07]produce_requested_data [15:05:07]requested_item fm.sn is exist - process it [15:05:07]wFMCommunicate request_size=4 [15:05:07]MH_SAM_APDU [15:05:07]CAPDU: 80 11 00 00 [15:05:07]Write to MH i2c: E2 08 00 E3 0B 80 11 00 00 00 00 00 00 68 [15:05:07]Write i2c OK [15:05:07]MH_I2C_Read... [15:05:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:05:07]Read from MH i2c: E2 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 17 00 [15:05:07]MH_I2C_Read... [15:05:07]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 38 35 37 90 00 C2 [15:05:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:05:07]wFMCommunicate OK [15:05:07]requested_item fd.num is exist - process it [15:05:07]SAM_PROTO_GetFieldsCounters [15:05:07]wFMCommunicate request_size=4 [15:05:07]MH_SAM_APDU [15:05:07]CAPDU: 80 13 00 00 [15:05:07]Write to MH i2c: E2 08 00 E4 0B 80 13 00 00 00 00 00 00 6B [15:05:07]Write i2c OK [15:05:07]MH_I2C_Read... [15:05:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:05:07]Read from MH i2c: E2 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 62 00 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 62 00 E4 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DA DD 00 00 0E 04 04 00 EE 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 EE [15:05:07]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DA DD 00 00 0E 04 04 00 EE 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 [15:05:07]wFMCommunicate OK [15:05:07]SAM_PROTO_GetFieldsCounters done [15:05:07]requested_item shift.num is exist - process it [15:05:07]requested_item shift.opened is exist - process it [15:05:07]req_shift_opened [15:05:07]FM_GetShiftState [15:05:07]SAM_PROTO_GetShiftState [15:05:07]wFMCommunicate request_size=4 [15:05:07]MH_SAM_APDU [15:05:07]CAPDU: 80 13 01 00 [15:05:07]Write to MH i2c: E2 08 00 E5 0B 80 13 01 00 00 00 00 00 6D [15:05:07]Write i2c OK [15:05:07]MH_I2C_Read... [15:05:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:05:07]Read from MH i2c: E2 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 0E 00 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 0E 00 E5 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6E [15:05:07]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:05:07]wFMCommunicate OK [15:05:07]SAM_PROTO_GetShiftState done [15:05:07]FM_GetShiftState done [15:05:07]req_shift_opened done [15:05:07]requested_item shift.open_date is exist - process it [15:05:07]req_shift_open_date [15:05:07]req_shift_open_date done [15:05:07]requested_item shift.sale.total is exist - process it [15:05:07]SAM_PROTO_GetShiftData [15:05:07]wFMCommunicate request_size=4 [15:05:07]MH_SAM_APDU [15:05:07]CAPDU: 80 13 02 00 [15:05:07]Write to MH i2c: E2 08 00 E6 0B 80 13 02 00 00 00 00 00 6F [15:05:07]Write i2c OK [15:05:07]MH_I2C_Read... [15:05:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:05:07]Read from MH i2c: E2 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 FD 00 [15:05:07]MH_I2C_Read... [15:05:07]Read from MH i2c: E2 FD 00 E6 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 D8 25 1A 70 04 03 00 78 55 14 72 04 03 00 60 D0 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 EC C6 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 3A 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 BE [15:05:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 D8 25 1A 70 04 03 00 78 55 14 72 04 03 00 60 D0 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 EC C6 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 3A 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:05:07]wFMCommunicate OK [15:05:07]wFMCommunicate request_size=4 [15:05:07]MH_SAM_APDU [15:05:07]CAPDU: 80 17 00 00 [15:05:07]Write to MH i2c: E2 08 00 E7 0B 80 17 00 00 00 00 00 00 72 [15:05:07]Write i2c OK [15:05:07]MH_I2C_Read... [15:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:05:08]Read from MH i2c: E2 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 E7 0B 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [15:05:08]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:05:08]wFMCommunicate OK [15:05:08]wFMCommunicate request_size=4 [15:05:08]MH_SAM_APDU [15:05:08]CAPDU: 80 17 00 00 [15:05:08]Write to MH i2c: E2 08 00 E8 0B 80 17 00 00 00 00 00 00 73 [15:05:08]Write i2c OK [15:05:08]MH_I2C_Read... [15:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:05:08]Read from MH i2c: E2 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 E8 0B 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [15:05:08]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:05:08]wFMCommunicate OK [15:05:08]wFMCommunicate request_size=4 [15:05:08]MH_SAM_APDU [15:05:08]CAPDU: 80 17 00 00 [15:05:08]Write to MH i2c: E2 08 00 E9 0B 80 17 00 00 00 00 00 00 74 [15:05:08]Write i2c OK [15:05:08]MH_I2C_Read... [15:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:05:08]Read from MH i2c: E2 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 FD 00 E9 0B 00 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 90 00 E3 [15:05:08]RAPDU: 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 90 00 [15:05:08]wFMCommunicate OK [15:05:08]wFMCommunicate request_size=4 [15:05:08]MH_SAM_APDU [15:05:08]CAPDU: 80 17 00 00 [15:05:08]Write to MH i2c: E2 08 00 EA 0B 80 17 00 00 00 00 00 00 75 [15:05:08]Write i2c OK [15:05:08]MH_I2C_Read... [15:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:05:08]Read from MH i2c: E2 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 D3 00 [15:05:08]MH_I2C_Read... [15:05:08]Read from MH i2c: E2 D3 00 EA 0B 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 62 [15:05:08]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:05:08]wFMCommunicate OK [15:05:08]SAM_PROTO_GetShiftData done [15:05:08]requested_item shift.sale.total_cash is exist - process it [15:05:08]requested_item shift.sale_refund.total is exist - process it [15:05:08]requested_item shift.sale_refund.total_cash is exist - process it [15:05:08]produce_requested_data done [15:05:08]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56794,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17136.24,"shift.sale.total_cash":13326.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:05:08]process_action_free close_receipt [15:05:08]json_value_free [15:05:08]json_value_free done [15:05:08]process_json_proto returns [15:05:08]Send response to host [15:05:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56794,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17136.24,"shift.sale.total_cash":13326.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:05:08]free response buf [15:05:08]execute_script done [15:05:08]execute_script returns [15:05:08]free content buf [15:05:08]Sock 7.Close socket [15:05:08]Sock 7.Thread stoped [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:37]accept exits with 9 [15:08:37]New connection [15:08:37]New thread 3066781028 created [15:08:37]Thread 3066637668 joined [15:08:37]Waiting for new connection... [15:08:37] Sock 9.Parse request [15:08:37]Sock 9.Check first char [15:08:37]Sock 9.First char is OK [15:08:37]request: POST /json_proto HTTP/1.0 [15:08:37]Method: POST [15:08:37]URL: /json_proto [15:08:37]Method is POST - this is cgi request [15:08:37]url: /json_proto [15:08:37]query_string will be loaded in cgi processing [15:08:37]execute_cgi json_proto POST (null) [15:08:37]execute_cgi path=json_proto method=POST [15:08:37]POST find Content-Length [15:08:37]Host: 172.17.39.4:8080 [15:08:37]Content-Length: 1279 [15:08:37]Content-Type: application/json [15:08:37] [15:08:37]POST finish read [15:08:37]Found Content-Length = 1279 [15:08:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129287", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:08:37]execute_script... [15:08: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)129287", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:08:37]POST & json_proto [15:08:37]process_json_proto [15:08:37]json parsed OK: [15:08:37]protocol is kg_v1.0 [15:08:37]action value=close_receipt [15:08:37]process_action close_receipt [15:08:37]cmd_close_receipt [15:08:37]MH_GetDate [15:08:37]Write to MH i2c: F0 00 00 EB 0B E5 [15:08:37]Write i2c OK [15:08:37]MH_I2C_Read... [15:08:37]Read from MH i2c: F0 [15:08:37]MH_I2C_Read... [15:08:37]Read from MH i2c: F0 09 00 [15:08:37]MH_I2C_Read... [15:08:37]Read from MH i2c: F0 09 00 EB 0B 00 F8 46 91 66 2D 25 5D 64 36 [15:08:37]GetLastDocTimeStamp 1720796706 [15:08:37]current date 1720796920 [15:08:37]FM_GetShiftState [15:08:37]SAM_PROTO_GetShiftState [15:08:37]wFMCommunicate request_size=4 [15:08:37]MH_SAM_APDU [15:08:37]CAPDU: 80 13 01 00 [15:08:37]Write to MH i2c: E2 08 00 EC 0B 80 13 01 00 00 00 00 00 74 [15:08:37]Write i2c OK [15:08:37]MH_I2C_Read... [15:08:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:37]Read from MH i2c: E2 [15:08:37]MH_I2C_Read... [15:08:37]Read from MH i2c: E2 0E 00 [15:08:37]MH_I2C_Read... [15:08:37]Read from MH i2c: E2 0E 00 EC 0B 00 09 00 01 86 79 90 66 00 00 00 00 90 00 75 [15:08:37]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:08:37]wFMCommunicate OK [15:08:37]SAM_PROTO_GetShiftState done [15:08:37]FM_GetShiftState done [15:08:37]opened in 1720744326 [15:08:37]opened+sec_in_day 1720830726 [15:08:37]quantity*price = 10000 [15:08:37]sum+1 = 10001 [15:08:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100977624 Шок Батончик Баунти 55г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.40 НДС 12% : 16.88 Наличными: 0.00 Безнал.: 159.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 63 12.07.2024 15:08 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56795 ФПД: 12228096261740 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150840&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56795&fm=12228096261740&tin=02508201610067®Number=0000000000091208&sum=15900 0 [15:08:38]StoreToDocumentArchive [15:08:38]shift 494 fd 56795 [15:08:38]save to /storage/0494/doc_00056795 [15:08:38]save last doc name /storage/0494/doc_00056795 to /storage/kkm_last_doc_name [15:08:38]save OK [15:08:38]Clear old archive folders... [15:08:38]ProcessDocumentItem done err = 0, tmpTLVsize=406 [15:08:38]tlvbuf is 01AD8A50 [15:08:38]SAM_PROTO_ClearQueue [15:08:38]wFMCommunicate request_size=4 [15:08:38]MH_SAM_APDU [15:08:38]CAPDU: 80 09 00 00 [15:08:38]Write to MH i2c: E2 08 00 F9 0B 80 09 00 00 00 00 00 00 76 [15:08:38]Write i2c OK [15:08:38]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 F9 0B 00 90 00 78 [15:08:39]RAPDU: 90 00 [15:08:39]wFMCommunicate OK [15:08:39]SAM_PROTO_ClearQueue done [15:08:39]KKMCreateOFDPacket [15:08:39]OFDProtocolAddRootSTLVToBuf [15:08:39]FM_MakeSignedData [15:08:39]FM_MakeSignedData [15:08:39]SAM_PROTO_SignData [15:08:39]wFMCommunicate request_size=4 [15:08:39]MH_SAM_APDU [15:08:39]CAPDU: 80 0D 01 02 [15:08:39]Write to MH i2c: E2 08 00 FA 0B 80 0D 01 02 00 00 00 00 7E [15:08:39]Write i2c OK [15:08:39]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 FA 0B 00 90 00 79 [15:08:39]RAPDU: 90 00 [15:08:39]wFMCommunicate OK [15:08:39]wFMCommunicate request_size=255 [15:08:39]MH_SAM_APDU [15:08:39]CAPDU: 80 0D 02 02 FA 03 00 96 01 1E 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 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C [15:08:39]Write to MH i2c: E2 02 01 FB 0B 80 0D 02 02 FA 00 03 00 96 01 1E 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 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 00 00 7B [15:08:39]Write i2c OK [15:08:39]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 FB 0B 00 90 00 7A [15:08:39]RAPDU: 90 00 [15:08:39]wFMCommunicate OK [15:08:39]wFMCommunicate request_size=165 [15:08:39]MH_SAM_APDU [15:08:39]CAPDU: 80 0D 02 02 A0 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DD 00 00 35 04 06 00 0B 1F 13 55 7E 6C [15:08:39]Write to MH i2c: E2 A8 00 FC 0B 80 0D 02 02 A0 00 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DD 00 00 35 04 06 00 0B 1F 13 55 7E 6C 00 00 59 [15:08:39]Write i2c OK [15:08:39]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 03 00 FC 0B 00 90 00 7B [15:08:39]RAPDU: 90 00 [15:08:39]wFMCommunicate OK [15:08:39]wFMCommunicate request_size=4 [15:08:39]MH_SAM_APDU [15:08:39]CAPDU: 80 0D 03 02 [15:08:39]Write to MH i2c: E2 08 00 FD 0B 80 0D 03 02 00 00 00 00 83 [15:08:39]Write i2c OK [15:08:39]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 0B 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 0B 00 FD 0B 00 F9 87 BE B1 F4 20 B6 B2 90 00 EF [15:08:39]RAPDU: F9 87 BE B1 F4 20 B6 B2 90 00 [15:08:39]wFMCommunicate OK [15:08:39]SAM_PROTO_SignData done [15:08:39]FM_MakeSignedData done [15:08:39]CreateOFDProtocolMessage [15:08:39]wFMCommunicate request_size=4 [15:08:39]MH_SAM_APDU [15:08:39]CAPDU: 80 11 00 00 [15:08:39]Write to MH i2c: E2 08 00 FE 0B 80 11 00 00 00 00 00 00 83 [15:08:39]Write i2c OK [15:08:39]MH_I2C_Read... [15:08:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:39]Read from MH i2c: E2 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 17 00 [15:08:39]MH_I2C_Read... [15:08:39]Read from MH i2c: E2 17 00 FE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DD [15:08:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:08:40]wFMCommunicate OK [15:08:40]CreateOFDProtocolMessage done [15:08:40]OFDSenderStorePacket 56795 [15:08:40]StoreOFDPacket docnum=56795 [15:08:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 AA 01 00 00 FA 7A A2 01 44 7D 5A 03 01 00 03 00 96 01 1E 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 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DD 00 00 35 04 06 00 0B 1F 13 55 7E 6C F9 87 BE B1 F4 20 B6 B2 [15:08:40]CheckFolder [15:08:40]dirname=/storage/ofd_packets [15:08:40]CheckFolder done [15:08:40]ProducePacketName [15:08:40]name=ofd_packets/00056795 [15:08:40]NVStorageSaveData ofd_packets/00056795 [15:08:40]File name is /storage/ofd_packets/00056795 [15:08:40]Write 456 bytes [15:08:40]NVStorageSaveData done [15:08:40]OFDSenderStorePacket done [15:08:40]KKMCreateOFDPacket done [15:08:40]NVStorageSaveData kkm_last_timestamp [15:08:40]File name is /storage/kkm_last_timestamp [15:08:40]Write 4 bytes [15:08:40]NVStorageSaveData done [15:08:40]ExternCall_PrintAddStr [15:08:40]wPrintStart [15:08:40]Write to MH i2c: 01 00 00 FF 0B 0A [15:08:40]Write i2c OK [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 07 00 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 07 00 FF 0B 00 00 00 00 00 FF 0F 1F [15:08:40]RasterBufferAndPrint [15:08:40]line Счет N : (3)129287 [15:08:40]line ИНН: 02508201610067 [15:08:40]line Контрольно-Кассовый Чек [15:08:40]line ПРОДАЖА [15:08:40]line Товар: 4870002326172 [15:08:40]line Вода ASU пит н.газ лимон ПЭТ 1л [15:08:40]line 1.000 * 100.00 [15:08:40]line = 100.00 [15:08:40]line НДС 12% НСП 1% [15:08:40]line > о реализуемом товаре [15:08:40]line Товар: 4011100977624 [15:08:40]line Шок Батончик Баунти 55г [15:08:40]line 1.000 * 59.00 [15:08:40]line = 59.00 [15:08:40]line НДС 12% НСП 1% [15:08:40]line > о реализуемом товаре [15:08:40]line ИТОГО: 159.00 [15:08:40]line НСП 1% : 1.40 [15:08:40]line НДС 12% : 16.88 [15:08:40]line Наличными: 0.00 [15:08:40]line Безнал.: 159.00 [15:08:40]line Место: АЗС № 132 "Партнер Нефть" [15:08:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:08:40]line СНО: Общий режим [15:08:40]line Чек 63 12.07.2024 15:08 [15:08:40]line Смена: 494 ФФД: 1.0 [15:08:40]line ЗНМ: 0300000132 [15:08:40]line РНМ: 0000000000091208 [15:08:40]line Версия ККМ: 001 [15:08:40]line Платежная система: АКБ Кыргызстан [15:08:40]line ФМ: 0000000000874857 [15:08:40]line ФД: 56795 [15:08:40]line ФПД: 12228096261740 [15:08:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150840&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56795&fm=12228096261740&tin=02508201610067®Number=0000000000091208&sum=15900 [15:08:40]line 0 [15:08:40]written 0, free lines is 4095 [15:08:40]OFD Sender: Processing packet 56795 [packets to send 38, broken 37] [15:08:40]ProducePacketName [15:08:40]name=ofd_packets/00056795 [15:08:40]OFD Sender: To server: pG, [15:08:40]CommunicateWithHost lk.salyk.kg:30040 [15:08:40]ConnectInit lk.salyk.kg [15:08:40]Connected sock=10 [15:08:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 AA 01 00 00 FA 7A A2 01 44 7D 5A 03 01 00 03 00 96 01 1E 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 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 46 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DD 00 00 35 04 06 00 0B 1F 13 55 7E 6C F9 87 BE B1 F4 20 B6 B2 [15:08:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 EB 3D 47 00 80 17 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 38 35 37 10 04 04 00 DB DD 00 00 F4 03 04 00 4F ED 90 66 B6 04 01 00 00 D2 37 6C DA 7A 21 4C 37 [15:08:40]CommunicateWithHost err = 0 [15:08:40]CheckOFDResponse [15:08:40]1017 (14) - 77093643461234 [15:08:40]1041 (16) - 0000000000874857 [15:08:40]1040 (4) - 56795 [15:08:40]1012 (4) - 12.07.2024 08:46 [15:08:40]1206 (1) - 0 [15:08:40]OFD Sender: Remove packet 56795 [15:08:40]ProducePacketName [15:08:40]name=ofd_packets/00056795 [15:08:40]NVStorageDeleteData [15:08:40]Write to MH i2c: 01 00 00 30 0C 3C [15:08:40]Write i2c OK [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 07 00 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: 01 07 00 30 0C 00 00 00 00 00 7D 0C CC [15:08:40]RasterBufferAndPrint [15:08:40]line [15:08:40]line [15:08:40]line [15:08:40]line [15:08:40]line [15:08:40]written 0, free lines is 3204 [15:08:40]MH_Cut [15:08:40]Write to MH i2c: D1 01 00 37 0C 01 15 [15:08:40]Write i2c OK [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: D1 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: D1 01 00 [15:08:40]MH_I2C_Read... [15:08:40]Read from MH i2c: D1 01 00 37 0C 00 14 [15:08:40]Write to MH i2c: 01 00 00 38 0C 44 [15:08:40]Write i2c OK [15:08:40]MH_I2C_Read... [15:08:40]OFD Sender: No OFD packet to send [15:08:41]*** Cut start [15:08:41]*** Partial cut [15:08:41]*** CUTSNS_PIN = 1 [15:08:41]*** CUTSNS_PIN = 0 [15:08:41]*** Brake cut motor [15:08:41]Read from MH i2c: 01 [15:08:41]MH_I2C_Read... [15:08:41]*** Stop cut motor [15:08:41]*** Cut end [15:08:41]Read from MH i2c: 01 07 00 [15:08:41]MH_I2C_Read... [15:08:41]Read from MH i2c: 01 07 00 38 0C 00 00 00 00 00 FF 0F 59 [15:08:41]process_action close_receipt done [15:08:41]requested_data is exist [15:08:41]produce_requested_data [15:08:41]requested_item fm.sn is exist - process it [15:08:41]wFMCommunicate request_size=4 [15:08:41]MH_SAM_APDU [15:08:41]CAPDU: 80 11 00 00 [15:08:41]Write to MH i2c: E2 08 00 39 0C 80 11 00 00 00 00 00 00 BF [15:08:41]Write i2c OK [15:08:41]MH_I2C_Read... [15:08:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:41]Read from MH i2c: E2 [15:08:41]MH_I2C_Read... [15:08:41]Read from MH i2c: E2 17 00 [15:08:41]MH_I2C_Read... [15:08:41]Read from MH i2c: E2 17 00 39 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 19 [15:08:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:08:41]wFMCommunicate OK [15:08:41]requested_item fd.num is exist - process it [15:08:41]SAM_PROTO_GetFieldsCounters [15:08:41]wFMCommunicate request_size=4 [15:08:41]MH_SAM_APDU [15:08:41]CAPDU: 80 13 00 00 [15:08:41]Write to MH i2c: E2 08 00 3A 0C 80 13 00 00 00 00 00 00 C2 [15:08:42]Write i2c OK [15:08:42]MH_I2C_Read... [15:08:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:08:42]Read from MH i2c: E2 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 62 00 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 62 00 3A 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DB DD 00 00 0E 04 04 00 EE 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 49 [15:08:42]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DB DD 00 00 0E 04 04 00 EE 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 [15:08:42]wFMCommunicate OK [15:08:42]SAM_PROTO_GetFieldsCounters done [15:08:42]requested_item shift.num is exist - process it [15:08:42]requested_item shift.opened is exist - process it [15:08:42]req_shift_opened [15:08:42]FM_GetShiftState [15:08:42]SAM_PROTO_GetShiftState [15:08:42]wFMCommunicate request_size=4 [15:08:42]MH_SAM_APDU [15:08:42]CAPDU: 80 13 01 00 [15:08:42]Write to MH i2c: E2 08 00 3B 0C 80 13 01 00 00 00 00 00 C4 [15:08:42]Write i2c OK [15:08:42]MH_I2C_Read... [15:08:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:42]Read from MH i2c: E2 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 0E 00 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 0E 00 3B 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C5 [15:08:42]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:08:42]wFMCommunicate OK [15:08:42]SAM_PROTO_GetShiftState done [15:08:42]FM_GetShiftState done [15:08:42]req_shift_opened done [15:08:42]requested_item shift.open_date is exist - process it [15:08:42]req_shift_open_date [15:08:42]req_shift_open_date done [15:08:42]requested_item shift.sale.total is exist - process it [15:08:42]SAM_PROTO_GetShiftData [15:08:42]wFMCommunicate request_size=4 [15:08:42]MH_SAM_APDU [15:08:42]CAPDU: 80 13 02 00 [15:08:42]Write to MH i2c: E2 08 00 3C 0C 80 13 02 00 00 00 00 00 C6 [15:08:42]Write i2c OK [15:08:42]MH_I2C_Read... [15:08:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:08:42]Read from MH i2c: E2 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 FD 00 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 FD 00 3C 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 F4 63 1A 70 04 03 00 78 55 14 72 04 03 00 7C 0E 06 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 84 CD 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 C6 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F7 [15:08:42]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 F4 63 1A 70 04 03 00 78 55 14 72 04 03 00 7C 0E 06 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 84 CD 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 C6 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:08:42]wFMCommunicate OK [15:08:42]wFMCommunicate request_size=4 [15:08:42]MH_SAM_APDU [15:08:42]CAPDU: 80 17 00 00 [15:08:42]Write to MH i2c: E2 08 00 3D 0C 80 17 00 00 00 00 00 00 C9 [15:08:42]Write i2c OK [15:08:42]MH_I2C_Read... [15:08:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:08:42]Read from MH i2c: E2 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 FD 00 [15:08:42]MH_I2C_Read... [15:08:42]Read from MH i2c: E2 FD 00 3D 0C 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 08 [15:08:42]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:08:42]wFMCommunicate OK [15:08:42]wFMCommunicate request_size=4 [15:08:42]MH_SAM_APDU [15:08:42]CAPDU: 80 17 00 00 [15:08:42]Write to MH i2c: E2 08 00 3E 0C 80 17 00 00 00 00 00 00 CA [15:08:42]Write i2c OK [15:08:42]MH_I2C_Read... [15:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:08:43]Read from MH i2c: E2 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 FD 00 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 FD 00 3E 0C 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8A [15:08:43]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:08:43]wFMCommunicate OK [15:08:43]wFMCommunicate request_size=4 [15:08:43]MH_SAM_APDU [15:08:43]CAPDU: 80 17 00 00 [15:08:43]Write to MH i2c: E2 08 00 3F 0C 80 17 00 00 00 00 00 00 CB [15:08:43]Write i2c OK [15:08:43]MH_I2C_Read... [15:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:08:43]Read from MH i2c: E2 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 FD 00 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 FD 00 3F 0C 00 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 90 00 3A [15:08:43]RAPDU: 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 90 00 [15:08:43]wFMCommunicate OK [15:08:43]wFMCommunicate request_size=4 [15:08:43]MH_SAM_APDU [15:08:43]CAPDU: 80 17 00 00 [15:08:43]Write to MH i2c: E2 08 00 40 0C 80 17 00 00 00 00 00 00 CC [15:08:43]Write i2c OK [15:08:43]MH_I2C_Read... [15:08:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:08:43]Read from MH i2c: E2 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 D3 00 [15:08:43]MH_I2C_Read... [15:08:43]Read from MH i2c: E2 D3 00 40 0C 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B9 [15:08:43]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:08:43]wFMCommunicate OK [15:08:43]SAM_PROTO_GetShiftData done [15:08:43]requested_item shift.sale.total_cash is exist - process it [15:08:43]requested_item shift.sale_refund.total is exist - process it [15:08:43]requested_item shift.sale_refund.total_cash is exist - process it [15:08:43]produce_requested_data done [15:08:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56795,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17295.24,"shift.sale.total_cash":13326.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:08:43]process_action_free close_receipt [15:08:43]json_value_free [15:08:43]json_value_free done [15:08:43]process_json_proto returns [15:08:43]Send response to host [15:08:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56795,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17295.24,"shift.sale.total_cash":13326.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:08:43]free response buf [15:08:43]execute_script done [15:08:43]execute_script returns [15:08:43]free content buf [15:08:43]Sock 9.Close socket [15:08:43]Sock 9.Thread stoped [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:44]accept exits with 7 [15:09:44]New connection [15:09:44]New thread 3066637668 created [15:09:44]Thread 3066781028 joined [15:09:44]Waiting for new connection... [15:09:44] Sock 7.Parse request [15:09:44]Sock 7.Check first char [15:09:44]Sock 7.First char is OK [15:09:44]request: POST /json_proto HTTP/1.0 [15:09:44]Method: POST [15:09:44]URL: /json_proto [15:09:44]Method is POST - this is cgi request [15:09:44]url: /json_proto [15:09:44]query_string will be loaded in cgi processing [15:09:44]execute_cgi json_proto POST (null) [15:09:44]execute_cgi path=json_proto method=POST [15:09:44]POST find Content-Length [15:09:44]Host: 172.17.39.4:8080 [15:09:44]Content-Length: 778 [15:09:44]Content-Type: application/json [15:09:44] [15:09:44]POST finish read [15:09:44]Found Content-Length = 778 [15:09:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854245", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:09:44]execute_script... [15:09: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 : (1)854245", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 6.890, "sum" : 500.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:09:44]POST & json_proto [15:09:44]process_json_proto [15:09:44]json parsed OK: [15:09:44]protocol is kg_v1.0 [15:09:44]action value=close_receipt [15:09:44]process_action close_receipt [15:09:44]cmd_close_receipt [15:09:44]MH_GetDate [15:09:44]Write to MH i2c: F0 00 00 41 0C 3C [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: F0 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: F0 09 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: F0 09 00 41 0C 00 3A 47 91 66 2D 25 5D 64 D0 [15:09:44]GetLastDocTimeStamp 1720796920 [15:09:44]current date 1720796986 [15:09:44]FM_GetShiftState [15:09:44]SAM_PROTO_GetShiftState [15:09:44]wFMCommunicate request_size=4 [15:09:44]MH_SAM_APDU [15:09:44]CAPDU: 80 13 01 00 [15:09:44]Write to MH i2c: E2 08 00 42 0C 80 13 01 00 00 00 00 00 CB [15:09:44]Write i2c OK [15:09:44]MH_I2C_Read... [15:09:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:44]Read from MH i2c: E2 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 0E 00 [15:09:44]MH_I2C_Read... [15:09:44]Read from MH i2c: E2 0E 00 42 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CC [15:09:44]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:09:44]wFMCommunicate OK [15:09:44]SAM_PROTO_GetShiftState done [15:09:44]FM_GetShiftState done [15:09:44]opened in 1720744326 [15:09:44]opened+sec_in_day 1720830726 [15:09:44]quantity*price = 50021 [15:09:44]sum+1 = 50022 [15:09:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 64 12.07.2024 15:09 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56796 ФПД: 250017207105016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150946&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56796&fm=250017207105016&tin=02508201610067®Number=0000000000091208&sum=50000 [15:09:45]StoreToDocumentArchive [15:09:45]shift 494 fd 56796 [15:09:45]save to /storage/0494/doc_00056796 [15:09:45]save last doc name /storage/0494/doc_00056796 to /storage/kkm_last_doc_name [15:09:45]save OK [15:09:45]Clear old archive folders... [15:09:45]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:09:45]tlvbuf is 01AADF80 [15:09:45]SAM_PROTO_ClearQueue [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 09 00 00 [15:09:45]Write to MH i2c: E2 08 00 4F 0C 80 09 00 00 00 00 00 00 CD [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 4F 0C 00 90 00 CF [15:09:45]RAPDU: 90 00 [15:09:45]wFMCommunicate OK [15:09:45]SAM_PROTO_ClearQueue done [15:09:45]KKMCreateOFDPacket [15:09:45]OFDProtocolAddRootSTLVToBuf [15:09:45]FM_MakeSignedData [15:09:45]FM_MakeSignedData [15:09:45]SAM_PROTO_SignData [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 0D 01 02 [15:09:45]Write to MH i2c: E2 08 00 50 0C 80 0D 01 02 00 00 00 00 D5 [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 50 0C 00 90 00 D0 [15:09:45]RAPDU: 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=255 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3A 47 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DD 00 00 35 04 06 00 E3 63 AA D1 [15:09:45]Write to MH i2c: E2 02 01 51 0C 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3A 47 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DD 00 00 35 04 06 00 E3 63 AA D1 00 00 AF [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 51 0C 00 90 00 D1 [15:09:45]RAPDU: 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=7 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 0D 02 02 02 35 F8 [15:09:45]Write to MH i2c: E2 0A 00 52 0C 80 0D 02 02 02 00 35 F8 00 00 09 [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 03 00 52 0C 00 90 00 D2 [15:09:45]RAPDU: 90 00 [15:09:45]wFMCommunicate OK [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 0D 03 02 [15:09:45]Write to MH i2c: E2 08 00 53 0C 80 0D 03 02 00 00 00 00 DA [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 0B 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 0B 00 53 0C 00 70 3D BF 2D 90 E3 9D 04 90 00 88 [15:09:45]RAPDU: 70 3D BF 2D 90 E3 9D 04 90 00 [15:09:45]wFMCommunicate OK [15:09:45]SAM_PROTO_SignData done [15:09:45]FM_MakeSignedData done [15:09:45]CreateOFDProtocolMessage [15:09:45]wFMCommunicate request_size=4 [15:09:45]MH_SAM_APDU [15:09:45]CAPDU: 80 11 00 00 [15:09:45]Write to MH i2c: E2 08 00 54 0C 80 11 00 00 00 00 00 00 DA [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:45]Read from MH i2c: E2 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 17 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: E2 17 00 54 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 34 [15:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:09:45]wFMCommunicate OK [15:09:45]CreateOFDProtocolMessage done [15:09:45]OFDSenderStorePacket 56796 [15:09:45]StoreOFDPacket docnum=56796 [15:09:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 AC 04 04 01 AB 98 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3A 47 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DD 00 00 35 04 06 00 E3 63 AA D1 35 F8 70 3D BF 2D 90 E3 9D 04 [15:09:45]CheckFolder [15:09:45]dirname=/storage/ofd_packets [15:09:45]CheckFolder done [15:09:45]ProducePacketName [15:09:45]name=ofd_packets/00056796 [15:09:45]NVStorageSaveData ofd_packets/00056796 [15:09:45]File name is /storage/ofd_packets/00056796 [15:09:45]Write 298 bytes [15:09:45]NVStorageSaveData done [15:09:45]OFDSenderStorePacket done [15:09:45]KKMCreateOFDPacket done [15:09:45]NVStorageSaveData kkm_last_timestamp [15:09:45]File name is /storage/kkm_last_timestamp [15:09:45]Write 4 bytes [15:09:45]NVStorageSaveData done [15:09:45]ExternCall_PrintAddStr [15:09:45]wPrintStart [15:09:45]Write to MH i2c: 01 00 00 55 0C 61 [15:09:45]Write i2c OK [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: 01 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: 01 07 00 [15:09:45]MH_I2C_Read... [15:09:45]Read from MH i2c: 01 07 00 55 0C 00 00 00 00 00 FF 0F 76 [15:09:45]RasterBufferAndPrint [15:09:45]line Счет N : (1)854245 [15:09:45]line ИНН: 02508201610067 [15:09:45]line Контрольно-Кассовый Чек [15:09:45]line ПРОДАЖА [15:09:45]line ТРК (МРК, ГНК) : 61 [15:09:45]line Товар: 2710194210 [15:09:45]line ДТ-К-5 [15:09:45]line 6.890 * 72.60 [15:09:45]line = 500.21 [15:09:45]line НДС 12% НСП 1% [15:09:45]line > о реализуемом товаре [15:09:45]line ОКРУГЛЕНИЕ: -0.21 [15:09:45]line ИТОГО: 500.00 [15:09:45]line Внесено: 500.00 [15:09:45]line СДАЧА: 0.00 [15:09:45]line НСП 1% : 4.43 [15:09:45]line НДС 12% : 53.12 [15:09:45]line Наличными: 500.00 [15:09:45]line Безнал.: 0.00 [15:09:45]line Место: АЗС № 132 "Партнер Нефть" [15:09:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:09:45]line СНО: Общий режим [15:09:45]line Чек 64 12.07.2024 15:09 [15:09:45]line Смена: 494 ФФД: 1.0 [15:09:45]line ЗНМ: 0300000132 [15:09:45]line РНМ: 0000000000091208 [15:09:45]line Версия ККМ: 001 [15:09:45]line ФМ: 0000000000874857 [15:09:45]line ФД: 56796 [15:09:45]line ФПД: 250017207105016 [15:09:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150946&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56796&fm=250017207105016&tin=02508201610067®Number=0000000000091208&sum=50000 [15:09:45]written 0, free lines is 4095 [15:09:45]OFD Sender: Processing packet 56796 [packets to send 38, broken 37] [15:09:45]ProducePacketName [15:09:45]name=ofd_packets/00056796 [15:09:45]OFD Sender: To server: pG, [15:09:45]CommunicateWithHost lk.salyk.kg:30040 [15:09:45]ConnectInit lk.salyk.kg [15:09:45]Connected sock=10 [15:09: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 38 35 37 0C 01 00 00 AC 04 04 01 AB 98 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3A 47 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DD 00 00 35 04 06 00 E3 63 AA D1 35 F8 70 3D BF 2D 90 E3 9D 04 [15:09:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 92 39 47 00 9D AB 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 38 35 37 10 04 04 00 DC DD 00 00 F4 03 04 00 91 ED 90 66 B6 04 01 00 00 CB 0E 7A 7C D4 D4 F8 A0 [15:09:46]CommunicateWithHost err = 0 [15:09:46]CheckOFDResponse [15:09:46]1017 (14) - 77093643461234 [15:09:46]1041 (16) - 0000000000874857 [15:09:46]1040 (4) - 56796 [15:09:46]1012 (4) - 12.07.2024 08:47 [15:09:46]1206 (1) - 0 [15:09:46]OFD Sender: Remove packet 56796 [15:09:46]ProducePacketName [15:09:46]name=ofd_packets/00056796 [15:09:46]NVStorageDeleteData [15:09:46]Write to MH i2c: 01 00 00 80 0C 8C [15:09:46]Write i2c OK [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: 01 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: 01 07 00 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: 01 07 00 80 0C 00 00 00 00 00 DC 0C 7B [15:09:46]RasterBufferAndPrint [15:09:46]line [15:09:46]line [15:09:46]line [15:09:46]line [15:09:46]line [15:09:46]written 0, free lines is 3298 [15:09:46]MH_Cut [15:09:46]Write to MH i2c: D1 01 00 87 0C 01 65 [15:09:46]Write i2c OK [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: D1 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: D1 01 00 [15:09:46]MH_I2C_Read... [15:09:46]Read from MH i2c: D1 01 00 87 0C 00 64 [15:09:46]Write to MH i2c: 01 00 00 88 0C 94 [15:09:46]Write i2c OK [15:09:46]MH_I2C_Read... [15:09:46]OFD Sender: No OFD packet to send [15:09:47]*** Cut start [15:09:47]*** Partial cut [15:09:47]*** CUTSNS_PIN = 1 [15:09:47]*** CUTSNS_PIN = 0 [15:09:47]*** Brake cut motor [15:09:47]Read from MH i2c: 01 [15:09:47]MH_I2C_Read... [15:09:47]*** Stop cut motor [15:09:47]*** Cut end [15:09:47]Read from MH i2c: 01 07 00 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: 01 07 00 88 0C 00 00 00 00 00 FF 0F A9 [15:09:47]process_action close_receipt done [15:09:47]requested_data is exist [15:09:47]produce_requested_data [15:09:47]requested_item fm.sn is exist - process it [15:09:47]wFMCommunicate request_size=4 [15:09:47]MH_SAM_APDU [15:09:47]CAPDU: 80 11 00 00 [15:09:47]Write to MH i2c: E2 08 00 89 0C 80 11 00 00 00 00 00 00 0F [15:09:47]Write i2c OK [15:09:47]MH_I2C_Read... [15:09:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:47]Read from MH i2c: E2 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 17 00 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 17 00 89 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 69 [15:09:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:09:47]wFMCommunicate OK [15:09:47]requested_item fd.num is exist - process it [15:09:47]SAM_PROTO_GetFieldsCounters [15:09:47]wFMCommunicate request_size=4 [15:09:47]MH_SAM_APDU [15:09:47]CAPDU: 80 13 00 00 [15:09:47]Write to MH i2c: E2 08 00 8A 0C 80 13 00 00 00 00 00 00 12 [15:09:47]Write i2c OK [15:09:47]MH_I2C_Read... [15:09:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:09:47]Read from MH i2c: E2 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 62 00 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 62 00 8A 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DC DD 00 00 0E 04 04 00 EE 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 9D [15:09: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DC DD 00 00 0E 04 04 00 EE 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 [15:09:47]wFMCommunicate OK [15:09:47]SAM_PROTO_GetFieldsCounters done [15:09:47]requested_item shift.num is exist - process it [15:09:47]requested_item shift.opened is exist - process it [15:09:47]req_shift_opened [15:09:47]FM_GetShiftState [15:09:47]SAM_PROTO_GetShiftState [15:09:47]wFMCommunicate request_size=4 [15:09:47]MH_SAM_APDU [15:09:47]CAPDU: 80 13 01 00 [15:09:47]Write to MH i2c: E2 08 00 8B 0C 80 13 01 00 00 00 00 00 14 [15:09:47]Write i2c OK [15:09:47]MH_I2C_Read... [15:09:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:47]Read from MH i2c: E2 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 0E 00 [15:09:47]MH_I2C_Read... [15:09:47]Read from MH i2c: E2 0E 00 8B 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 15 [15:09:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:09:47]wFMCommunicate OK [15:09:47]SAM_PROTO_GetShiftState done [15:09:47]FM_GetShiftState done [15:09:47]req_shift_opened done [15:09:47]requested_item shift.open_date is exist - process it [15:09:47]req_shift_open_date [15:09:47]req_shift_open_date done [15:09:47]requested_item shift.sale.total is exist - process it [15:09:47]SAM_PROTO_GetShiftData [15:09:47]wFMCommunicate request_size=4 [15:09:47]MH_SAM_APDU [15:09:47]CAPDU: 80 13 02 00 [15:09:47]Write to MH i2c: E2 08 00 8C 0C 80 13 02 00 00 00 00 00 16 [15:09:47]Write i2c OK [15:09:47]MH_I2C_Read... [15:09:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:09:48]Read from MH i2c: E2 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 8C 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 44 27 1B 70 04 03 00 C8 18 15 72 04 03 00 7C 0E 06 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 44 E2 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 81 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 04 [15:09:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 44 27 1B 70 04 03 00 C8 18 15 72 04 03 00 7C 0E 06 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 44 E2 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 81 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:09:48]wFMCommunicate OK [15:09:48]wFMCommunicate request_size=4 [15:09:48]MH_SAM_APDU [15:09:48]CAPDU: 80 17 00 00 [15:09:48]Write to MH i2c: E2 08 00 8D 0C 80 17 00 00 00 00 00 00 19 [15:09:48]Write i2c OK [15:09:48]MH_I2C_Read... [15:09:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:48]Read from MH i2c: E2 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 8D 0C 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [15:09:48]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:09:48]wFMCommunicate OK [15:09:48]wFMCommunicate request_size=4 [15:09:48]MH_SAM_APDU [15:09:48]CAPDU: 80 17 00 00 [15:09:48]Write to MH i2c: E2 08 00 8E 0C 80 17 00 00 00 00 00 00 1A [15:09:48]Write i2c OK [15:09:48]MH_I2C_Read... [15:09:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:48]Read from MH i2c: E2 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 [15:09:48]MH_I2C_Read... [15:09:48]Read from MH i2c: E2 FD 00 8E 0C 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DA [15:09:48]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:09:48]wFMCommunicate OK [15:09:48]wFMCommunicate request_size=4 [15:09:48]MH_SAM_APDU [15:09:48]CAPDU: 80 17 00 00 [15:09:48]Write to MH i2c: E2 08 00 8F 0C 80 17 00 00 00 00 00 00 1B [15:09:48]Write i2c OK [15:09:48]MH_I2C_Read... [15:09:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:09:49]Read from MH i2c: E2 [15:09:49]MH_I2C_Read... [15:09:49]Read from MH i2c: E2 FD 00 [15:09:49]MH_I2C_Read... [15:09:49]Read from MH i2c: E2 FD 00 8F 0C 00 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 90 00 8A [15:09:49]RAPDU: 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 90 00 [15:09:49]wFMCommunicate OK [15:09:49]wFMCommunicate request_size=4 [15:09:49]MH_SAM_APDU [15:09:49]CAPDU: 80 17 00 00 [15:09:49]Write to MH i2c: E2 08 00 90 0C 80 17 00 00 00 00 00 00 1C [15:09:49]Write i2c OK [15:09:49]MH_I2C_Read... [15:09:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:09:49]Read from MH i2c: E2 [15:09:49]MH_I2C_Read... [15:09:49]Read from MH i2c: E2 D3 00 [15:09:49]MH_I2C_Read... [15:09:49]Read from MH i2c: E2 D3 00 90 0C 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 09 [15:09:49]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:09:49]wFMCommunicate OK [15:09:49]SAM_PROTO_GetShiftData done [15:09:49]requested_item shift.sale.total_cash is exist - process it [15:09:49]requested_item shift.sale_refund.total is exist - process it [15:09:49]requested_item shift.sale_refund.total_cash is exist - process it [15:09:49]produce_requested_data done [15:09:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56796,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17795.24,"shift.sale.total_cash":13826.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:09:49]process_action_free close_receipt [15:09:49]json_value_free [15:09:49]json_value_free done [15:09:49]process_json_proto returns [15:09:49]Send response to host [15:09:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56796,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":17795.24,"shift.sale.total_cash":13826.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:09:49]free response buf [15:09:49]execute_script done [15:09:49]execute_script returns [15:09:49]free content buf [15:09:49]Sock 7.Close socket [15:09:49]Sock 7.Thread stoped [15:09:51]OFD Sender: No OFD packet to send [15:09:56]OFD Sender: No OFD packet to send [15:10:01]OFD Sender: No OFD packet to send [15:10:06]OFD Sender: No OFD packet to send [15:10:11]OFD Sender: No OFD packet to send [15:10:16]OFD Sender: No OFD packet to send [15:10:21]OFD Sender: No OFD packet to send [15:10:26]OFD Sender: No OFD packet to send [15:10:31]OFD Sender: No OFD packet to send [15:10:36]OFD Sender: No OFD packet to send [15:10:41]OFD Sender: No OFD packet to send [15:10:46]OFD Sender: No OFD packet to send [15:10:51]OFD Sender: No OFD packet to send [15:10:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:06]OFD Sender: No OFD packet to send [15:11:11]OFD Sender: No OFD packet to send [15:11:16]OFD Sender: No OFD packet to send [15:11:21]OFD Sender: No OFD packet to send [15:11:26]OFD Sender: No OFD packet to send [15:11:31]OFD Sender: No OFD packet to send [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]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:06]accept exits with 9 [15:15:06]New connection [15:15:06]New thread 3066781028 created [15:15:06]Thread 3066637668 joined [15:15:06]Waiting for new connection... [15:15:06] Sock 9.Parse request [15:15:06]Sock 9.Check first char [15:15:06]Sock 9.First char is OK [15:15:06]request: POST /json_proto HTTP/1.0 [15:15:06]Method: POST [15:15:06]URL: /json_proto [15:15:06]Method is POST - this is cgi request [15:15:06]url: /json_proto [15:15:06]query_string will be loaded in cgi processing [15:15:06]execute_cgi json_proto POST (null) [15:15:06]execute_cgi path=json_proto method=POST [15:15:06]POST find Content-Length [15:15:06]Host: 172.17.39.4:8080 [15:15:06]Content-Length: 997 [15:15:06]Content-Type: application/json [15:15:06] [15:15:06]POST finish read [15:15:06]Found Content-Length = 997 [15:15:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129288", "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 }]} ,{ "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" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:15:06]execute_script... [15:15: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)129288", "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 }]} ,{ "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" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:15:06]POST & json_proto [15:15:06]process_json_proto [15:15:06]json parsed OK: [15:15:06]protocol is kg_v1.0 [15:15:06]action value=close_receipt [15:15:06]process_action close_receipt [15:15:06]cmd_close_receipt [15:15:06]MH_GetDate [15:15:06]Write to MH i2c: F0 00 00 91 0C 8C [15:15:06]Write i2c OK [15:15:06]MH_I2C_Read... [15:15:06]Read from MH i2c: F0 [15:15:06]MH_I2C_Read... [15:15:06]Read from MH i2c: F0 09 00 [15:15:06]MH_I2C_Read... [15:15:06]Read from MH i2c: F0 09 00 91 0C 00 7D 48 91 66 2D 25 5D 64 64 [15:15:06]GetLastDocTimeStamp 1720796986 [15:15:06]current date 1720797309 [15:15:06]FM_GetShiftState [15:15:06]SAM_PROTO_GetShiftState [15:15:06]wFMCommunicate request_size=4 [15:15:06]MH_SAM_APDU [15:15:06]CAPDU: 80 13 01 00 [15:15:06]Write to MH i2c: E2 08 00 92 0C 80 13 01 00 00 00 00 00 1B [15:15:06]Write i2c OK [15:15:06]MH_I2C_Read... [15:15:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:06]Read from MH i2c: E2 [15:15:06]MH_I2C_Read... [15:15:06]Read from MH i2c: E2 0E 00 [15:15:06]MH_I2C_Read... [15:15:06]Read from MH i2c: E2 0E 00 92 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 1C [15:15:06]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:15:06]wFMCommunicate OK [15:15:06]SAM_PROTO_GetShiftState done [15:15:06]FM_GetShiftState done [15:15:06]opened in 1720744326 [15:15:06]opened+sec_in_day 1720830726 [15:15:06]quantity*price = 14000 [15:15:06]sum+1 = 14001 [15:15: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% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.90 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 65 12.07.2024 15:15 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56797 ФПД: 250913434324895 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151509&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56797&fm=250913434324895&tin=02508201610067®Number=0000000000091208&sum=22500 0 [15:15:08]StoreToDocumentArchive [15:15:08]shift 494 fd 56797 [15:15:08]save to /storage/0494/doc_00056797 [15:15:08]save last doc name /storage/0494/doc_00056797 to /storage/kkm_last_doc_name [15:15:08]save OK [15:15:08]Clear old archive folders... [15:15:08]ProcessDocumentItem done err = 0, tmpTLVsize=397 [15:15:08]tlvbuf is B6F2EC30 [15:15:08]SAM_PROTO_ClearQueue [15:15:08]wFMCommunicate request_size=4 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 09 00 00 [15:15:08]Write to MH i2c: E2 08 00 9F 0C 80 09 00 00 00 00 00 00 1D [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 9F 0C 00 90 00 1F [15:15:08]RAPDU: 90 00 [15:15:08]wFMCommunicate OK [15:15:08]SAM_PROTO_ClearQueue done [15:15:08]KKMCreateOFDPacket [15:15:08]OFDProtocolAddRootSTLVToBuf [15:15:08]FM_MakeSignedData [15:15:08]FM_MakeSignedData [15:15:08]SAM_PROTO_SignData [15:15:08]wFMCommunicate request_size=4 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 0D 01 02 [15:15:08]Write to MH i2c: E2 08 00 A0 0C 80 0D 01 02 00 00 00 00 25 [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 A0 0C 00 90 00 20 [15:15:08]RAPDU: 90 00 [15:15:08]wFMCommunicate OK [15:15:08]wFMCommunicate request_size=255 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 0D 02 02 FA 03 00 8D 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 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 E4 57 00 00 00 00 EB 03 26 00 [15:15:08]Write to MH i2c: E2 02 01 A1 0C 80 0D 02 02 FA 00 03 00 8D 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 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 E4 57 00 00 00 00 EB 03 26 00 00 00 12 [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 A1 0C 00 90 00 21 [15:15:08]RAPDU: 90 00 [15:15:08]wFMCommunicate OK [15:15:08]wFMCommunicate request_size=156 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 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 7D 48 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DD 00 00 35 04 06 00 E4 34 56 1F 4F 9F [15:15:08]Write to MH i2c: E2 9F 00 A2 0C 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 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 7D 48 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DD 00 00 35 04 06 00 E4 34 56 1F 4F 9F 00 00 03 [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 03 00 A2 0C 00 90 00 22 [15:15:08]RAPDU: 90 00 [15:15:08]wFMCommunicate OK [15:15:08]wFMCommunicate request_size=4 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 0D 03 02 [15:15:08]Write to MH i2c: E2 08 00 A3 0C 80 0D 03 02 00 00 00 00 2A [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 0B 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 0B 00 A3 0C 00 D1 AE 1E F7 52 2B 23 E0 90 00 3F [15:15:08]RAPDU: D1 AE 1E F7 52 2B 23 E0 90 00 [15:15:08]wFMCommunicate OK [15:15:08]SAM_PROTO_SignData done [15:15:08]FM_MakeSignedData done [15:15:08]CreateOFDProtocolMessage [15:15:08]wFMCommunicate request_size=4 [15:15:08]MH_SAM_APDU [15:15:08]CAPDU: 80 11 00 00 [15:15:08]Write to MH i2c: E2 08 00 A4 0C 80 11 00 00 00 00 00 00 2A [15:15:08]Write i2c OK [15:15:08]MH_I2C_Read... [15:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:08]Read from MH i2c: E2 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 17 00 [15:15:08]MH_I2C_Read... [15:15:08]Read from MH i2c: E2 17 00 A4 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [15:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:15:08]wFMCommunicate OK [15:15:08]CreateOFDProtocolMessage done [15:15:08]OFDSenderStorePacket 56797 [15:15:08]StoreOFDPacket docnum=56797 [15:15:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A1 01 00 00 02 75 99 01 BC 66 5A 03 01 00 03 00 8D 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 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 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 7D 48 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DD 00 00 35 04 06 00 E4 34 56 1F 4F 9F D1 AE 1E F7 52 2B 23 E0 [15:15:08]CheckFolder [15:15:08]dirname=/storage/ofd_packets [15:15:08]CheckFolder done [15:15:08]ProducePacketName [15:15:08]name=ofd_packets/00056797 [15:15:08]NVStorageSaveData ofd_packets/00056797 [15:15:08]File name is /storage/ofd_packets/00056797 [15:15:08]Write 447 bytes [15:15:08]NVStorageSaveData done [15:15:08]OFDSenderStorePacket done [15:15:08]KKMCreateOFDPacket done [15:15:08]NVStorageSaveData kkm_last_timestamp [15:15:09]File name is /storage/kkm_last_timestamp [15:15:09]Write 4 bytes [15:15:09]NVStorageSaveData done [15:15:09]ExternCall_PrintAddStr [15:15:09]wPrintStart [15:15:09]Write to MH i2c: 01 00 00 A5 0C B1 [15:15:09]OFD Sender: Processing packet 56797 [packets to send 38, broken 37] [15:15:09]ProducePacketName [15:15:09]name=ofd_packets/00056797 [15:15:09]OFD Sender: To server: pG, [15:15:09]CommunicateWithHost lk.salyk.kg:30040 [15:15:09]ConnectInit lk.salyk.kg [15:15:09]Write i2c OK [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 07 00 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 07 00 A5 0C 00 00 00 00 00 FF 0F C6 [15:15:09]RasterBufferAndPrint [15:15:09]line Счет N : (3)129288 [15:15:09]line ИНН: 02508201610067 [15:15:09]line Контрольно-Кассовый Чек [15:15:09]line ПРОДАЖА [15:15:09]line Товар: 48747059 [15:15:09]line Сигареты Winston Legend Blue [15:15:09]line 1.000 * 140.00 [15:15:09]line = 140.00 [15:15:09]line НДС 12% НСП 1% [15:15:09]line > о реализуемом товаре [15:15:09]line Товар: 4600682557456 [15:15:09]line Напиток FLash up energy эн ж/б 0,5/0,45л [15:15:09]line 1.000 * 85.00 [15:15:09]line = 85.00 [15:15:09]line НДС 12% НСП 1% [15:15:09]line > о реализуемом товаре [15:15:09]line ИТОГО: 225.00 [15:15:09]line НСП 1% : 1.99 [15:15:09]line НДС 12% : 23.90 [15:15:09]line Наличными: 225.00 [15:15:09]line Безнал.: 0.00 [15:15:09]line Место: АЗС № 132 "Партнер Нефть" [15:15:09]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:15:09]line СНО: Общий режим [15:15:09]line Чек 65 12.07.2024 15:15 [15:15:09]line Смена: 494 ФФД: 1.0 [15:15:09]line ЗНМ: 0300000132 [15:15:09]line РНМ: 0000000000091208 [15:15:09]line Версия ККМ: 001 [15:15:09]line ФМ: 0000000000874857 [15:15:09]line ФД: 56797 [15:15:09]line ФПД: 250913434324895 [15:15:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151509&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56797&fm=250913434324895&tin=02508201610067®Number=0000000000091208&sum=22500 [15:15:09]line 0 [15:15:09]written 0, free lines is 4095 [15:15:09]Connected sock=10 [15:15: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 38 35 37 A1 01 00 00 02 75 99 01 BC 66 5A 03 01 00 03 00 8D 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 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 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 7D 48 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DD 00 00 35 04 06 00 E4 34 56 1F 4F 9F D1 AE 1E F7 52 2B 23 E0 [15:15:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F2 2B 47 00 A3 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 38 35 37 10 04 04 00 DD DD 00 00 F4 03 04 00 D4 EE 90 66 B6 04 01 00 00 E1 71 8F 1E 47 90 EF 16 [15:15:09]CommunicateWithHost err = 0 [15:15:09]CheckOFDResponse [15:15:09]1017 (14) - 77093643461234 [15:15:09]1041 (16) - 0000000000874857 [15:15:09]1040 (4) - 56797 [15:15:09]1012 (4) - 12.07.2024 08:52 [15:15:09]1206 (1) - 0 [15:15:09]OFD Sender: Remove packet 56797 [15:15:09]ProducePacketName [15:15:09]name=ofd_packets/00056797 [15:15:09]NVStorageDeleteData [15:15:09]Write to MH i2c: 01 00 00 D5 0C E1 [15:15:09]Write i2c OK [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 07 00 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: 01 07 00 D5 0C 00 00 00 00 00 78 0C 6C [15:15:09]RasterBufferAndPrint [15:15:09]line [15:15:09]line [15:15:09]line [15:15:09]line [15:15:09]line [15:15:09]written 0, free lines is 3198 [15:15:09]MH_Cut [15:15:09]Write to MH i2c: D1 01 00 DC 0C 01 BA [15:15:09]Write i2c OK [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: D1 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: D1 01 00 [15:15:09]MH_I2C_Read... [15:15:09]Read from MH i2c: D1 01 00 DC 0C 00 B9 [15:15:09]Write to MH i2c: 01 00 00 DD 0C E9 [15:15:09]Write i2c OK [15:15:09]MH_I2C_Read... [15:15:09]OFD Sender: No OFD packet to send [15:15:10]*** Cut start [15:15:10]*** Partial cut [15:15:10]*** CUTSNS_PIN = 1 [15:15:10]*** CUTSNS_PIN = 0 [15:15:10]*** Brake cut motor [15:15:10]Read from MH i2c: 01 [15:15:10]MH_I2C_Read... [15:15:10]*** Stop cut motor [15:15:10]*** Cut end [15:15:10]Read from MH i2c: 01 07 00 [15:15:10]MH_I2C_Read... [15:15:10]Read from MH i2c: 01 07 00 DD 0C 00 00 00 00 00 FF 0F FE [15:15:10]process_action close_receipt done [15:15:10]requested_data is exist [15:15:10]produce_requested_data [15:15:10]requested_item fm.sn is exist - process it [15:15:10]wFMCommunicate request_size=4 [15:15:10]MH_SAM_APDU [15:15:10]CAPDU: 80 11 00 00 [15:15:10]Write to MH i2c: E2 08 00 DE 0C 80 11 00 00 00 00 00 00 64 [15:15:10]Write i2c OK [15:15:10]MH_I2C_Read... [15:15:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:11]Read from MH i2c: E2 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 17 00 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 17 00 DE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BE [15:15:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:15:11]wFMCommunicate OK [15:15:11]requested_item fd.num is exist - process it [15:15:11]SAM_PROTO_GetFieldsCounters [15:15:11]wFMCommunicate request_size=4 [15:15:11]MH_SAM_APDU [15:15:11]CAPDU: 80 13 00 00 [15:15:11]Write to MH i2c: E2 08 00 DF 0C 80 13 00 00 00 00 00 00 67 [15:15:11]Write i2c OK [15:15:11]MH_I2C_Read... [15:15:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:15:11]Read from MH i2c: E2 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 62 00 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 62 00 DF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DD DD 00 00 0E 04 04 00 EE 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 F6 [15:15: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DD DD 00 00 0E 04 04 00 EE 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 [15:15:11]wFMCommunicate OK [15:15:11]SAM_PROTO_GetFieldsCounters done [15:15:11]requested_item shift.num is exist - process it [15:15:11]requested_item shift.opened is exist - process it [15:15:11]req_shift_opened [15:15:11]FM_GetShiftState [15:15:11]SAM_PROTO_GetShiftState [15:15:11]wFMCommunicate request_size=4 [15:15:11]MH_SAM_APDU [15:15:11]CAPDU: 80 13 01 00 [15:15:11]Write to MH i2c: E2 08 00 E0 0C 80 13 01 00 00 00 00 00 69 [15:15:11]Write i2c OK [15:15:11]MH_I2C_Read... [15:15:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:11]Read from MH i2c: E2 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 0E 00 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 0E 00 E0 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6A [15:15:11]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:15:11]wFMCommunicate OK [15:15:11]SAM_PROTO_GetShiftState done [15:15:11]FM_GetShiftState done [15:15:11]req_shift_opened done [15:15:11]requested_item shift.open_date is exist - process it [15:15:11]req_shift_open_date [15:15:11]req_shift_open_date done [15:15:11]requested_item shift.sale.total is exist - process it [15:15:11]SAM_PROTO_GetShiftData [15:15:11]wFMCommunicate request_size=4 [15:15:11]MH_SAM_APDU [15:15:11]CAPDU: 80 13 02 00 [15:15:11]Write to MH i2c: E2 08 00 E1 0C 80 13 02 00 00 00 00 00 6B [15:15:11]Write i2c OK [15:15:11]MH_I2C_Read... [15:15:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:15:11]Read from MH i2c: E2 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 FD 00 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 FD 00 E1 0C 00 B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 28 7F 1B 70 04 03 00 AC 70 15 72 04 03 00 7C 0E 06 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 9A EB 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 48 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 FA [15:15:11]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 28 7F 1B 70 04 03 00 AC 70 15 72 04 03 00 7C 0E 06 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 9A EB 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 48 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:15:11]wFMCommunicate OK [15:15:11]wFMCommunicate request_size=4 [15:15:11]MH_SAM_APDU [15:15:11]CAPDU: 80 17 00 00 [15:15:11]Write to MH i2c: E2 08 00 E2 0C 80 17 00 00 00 00 00 00 6E [15:15:11]Write i2c OK [15:15:11]MH_I2C_Read... [15:15:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:11]Read from MH i2c: E2 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 FD 00 [15:15:11]MH_I2C_Read... [15:15:11]Read from MH i2c: E2 FD 00 E2 0C 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AD [15:15:11]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:15:12]wFMCommunicate OK [15:15:12]wFMCommunicate request_size=4 [15:15:12]MH_SAM_APDU [15:15:12]CAPDU: 80 17 00 00 [15:15:12]Write to MH i2c: E2 08 00 E3 0C 80 17 00 00 00 00 00 00 6F [15:15:12]Write i2c OK [15:15:12]MH_I2C_Read... [15:15:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:12]Read from MH i2c: E2 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 FD 00 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 FD 00 E3 0C 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2F [15:15:12]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:15:12]wFMCommunicate OK [15:15:12]wFMCommunicate request_size=4 [15:15:12]MH_SAM_APDU [15:15:12]CAPDU: 80 17 00 00 [15:15:12]Write to MH i2c: E2 08 00 E4 0C 80 17 00 00 00 00 00 00 70 [15:15:12]Write i2c OK [15:15:12]MH_I2C_Read... [15:15:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:12]Read from MH i2c: E2 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 FD 00 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 FD 00 E4 0C 00 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 90 00 DF [15:15:12]RAPDU: 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 90 00 [15:15:12]wFMCommunicate OK [15:15:12]wFMCommunicate request_size=4 [15:15:12]MH_SAM_APDU [15:15:12]CAPDU: 80 17 00 00 [15:15:12]Write to MH i2c: E2 08 00 E5 0C 80 17 00 00 00 00 00 00 71 [15:15:12]Write i2c OK [15:15:12]MH_I2C_Read... [15:15:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:15:12]Read from MH i2c: E2 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 D3 00 [15:15:12]MH_I2C_Read... [15:15:12]Read from MH i2c: E2 D3 00 E5 0C 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5E [15:15:12]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:15:12]wFMCommunicate OK [15:15:12]SAM_PROTO_GetShiftData done [15:15:12]requested_item shift.sale.total_cash is exist - process it [15:15:12]requested_item shift.sale_refund.total is exist - process it [15:15:12]requested_item shift.sale_refund.total_cash is exist - process it [15:15:12]produce_requested_data done [15:15:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56797,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18020.24,"shift.sale.total_cash":14051.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:15:12]process_action_free close_receipt [15:15:12]json_value_free [15:15:12]json_value_free done [15:15:12]process_json_proto returns [15:15:12]Send response to host [15:15:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56797,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18020.24,"shift.sale.total_cash":14051.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:15:12]free response buf [15:15:12]execute_script done [15:15:12]execute_script returns [15:15:12]free content buf [15:15:12]Sock 9.Close socket [15:15:12]Sock 9.Thread stoped [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:07]accept exits with 7 [15:18:07]New connection [15:18:07]New thread 3066637668 created [15:18:07]Thread 3066781028 joined [15:18:07]Waiting for new connection... [15:18:07] Sock 7.Parse request [15:18:07]Sock 7.Check first char [15:18:07]Sock 7.First char is OK [15:18:07]request: POST /json_proto HTTP/1.0 [15:18:07]Method: POST [15:18:07]URL: /json_proto [15:18:07]Method is POST - this is cgi request [15:18:07]url: /json_proto [15:18:07]query_string will be loaded in cgi processing [15:18:07]execute_cgi json_proto POST (null) [15:18:07]execute_cgi path=json_proto method=POST [15:18:07]POST find Content-Length [15:18:07]Host: 172.17.39.4:8080 [15:18:07]Content-Length: 919 [15:18:07]Content-Type: application/json [15:18:07] [15:18:07]POST finish read [15:18:07]Found Content-Length = 919 [15:18:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129289", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:18:07]execute_script... [15: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)129289", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:18:07]POST & json_proto [15:18:07]process_json_proto [15:18:07]json parsed OK: [15:18:07]protocol is kg_v1.0 [15:18:07]action value=close_receipt [15:18:07]process_action close_receipt [15:18:07]cmd_close_receipt [15:18:07]MH_GetDate [15:18:07]Write to MH i2c: F0 00 00 E6 0C E1 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: F0 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: F0 09 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: F0 09 00 E6 0C 00 31 49 91 66 2D 25 5D 64 6E [15:18:07]GetLastDocTimeStamp 1720797309 [15:18:07]current date 1720797489 [15:18:07]FM_GetShiftState [15:18:07]SAM_PROTO_GetShiftState [15:18:07]wFMCommunicate request_size=4 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 13 01 00 [15:18:07]Write to MH i2c: E2 08 00 E7 0C 80 13 01 00 00 00 00 00 70 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 0E 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 0E 00 E7 0C 00 09 00 01 86 79 90 66 00 00 00 00 90 00 71 [15:18:07]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:18:07]wFMCommunicate OK [15:18:07]SAM_PROTO_GetShiftState done [15:18:07]FM_GetShiftState done [15:18:07]opened in 1720744326 [15:18:07]opened+sec_in_day 1720830726 [15:18:07]quantity*price = 11100 [15:18:07]sum+1 = 11101 [15:18:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 0.00 Безнал.: 111.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 66 12.07.2024 15:18 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56798 ФПД: 260961982280129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151809&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56798&fm=260961982280129&tin=02508201610067®Number=0000000000091208&sum=11100 0 [15:18:08]StoreToDocumentArchive [15:18:08]shift 494 fd 56798 [15:18:08]save to /storage/0494/doc_00056798 [15:18:08]save last doc name /storage/0494/doc_00056798 to /storage/kkm_last_doc_name [15:18:08]save OK [15:18:08]Clear old archive folders... [15:18:08]ProcessDocumentItem done err = 0, tmpTLVsize=266 [15:18:08]tlvbuf is B6EB0840 [15:18:08]SAM_PROTO_ClearQueue [15:18:08]wFMCommunicate request_size=4 [15:18:08]MH_SAM_APDU [15:18:08]CAPDU: 80 09 00 00 [15:18:08]Write to MH i2c: E2 08 00 F4 0C 80 09 00 00 00 00 00 00 72 [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 F4 0C 00 90 00 74 [15:18:08]RAPDU: 90 00 [15:18:08]wFMCommunicate OK [15:18:08]SAM_PROTO_ClearQueue done [15:18:08]KKMCreateOFDPacket [15:18:08]OFDProtocolAddRootSTLVToBuf [15:18:08]FM_MakeSignedData [15:18:08]FM_MakeSignedData [15:18:08]SAM_PROTO_SignData [15:18:08]wFMCommunicate request_size=4 [15:18:08]MH_SAM_APDU [15:18:08]CAPDU: 80 0D 01 02 [15:18:08]Write to MH i2c: E2 08 00 F5 0C 80 0D 01 02 00 00 00 00 7A [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 F5 0C 00 90 00 75 [15:18:08]RAPDU: 90 00 [15:18:08]wFMCommunicate OK [15:18:08]wFMCommunicate request_size=255 [15:18:08]MH_SAM_APDU [15:18:08]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 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 31 49 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [15:18:08]Write to MH i2c: E2 02 01 F6 0C 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 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 31 49 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 31 [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 F6 0C 00 90 00 76 [15:18:08]RAPDU: 90 00 [15:18:08]wFMCommunicate OK [15:18:08]wFMCommunicate request_size=25 [15:18:08]MH_SAM_APDU [15:18:08]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 DE DD 00 00 35 04 06 00 ED 57 F2 40 F1 C1 [15:18:08]Write to MH i2c: E2 1C 00 F7 0C 80 0D 02 02 14 00 35 37 10 04 04 00 DE DD 00 00 35 04 06 00 ED 57 F2 40 F1 C1 00 00 4B [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 03 00 F7 0C 00 90 00 77 [15:18:08]RAPDU: 90 00 [15:18:08]wFMCommunicate OK [15:18:08]wFMCommunicate request_size=4 [15:18:08]MH_SAM_APDU [15:18:08]CAPDU: 80 0D 03 02 [15:18:08]Write to MH i2c: E2 08 00 F8 0C 80 0D 03 02 00 00 00 00 7F [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 0B 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 0B 00 F8 0C 00 44 1D 1B 75 55 05 3A B0 90 00 B5 [15:18:08]RAPDU: 44 1D 1B 75 55 05 3A B0 90 00 [15:18:08]wFMCommunicate OK [15:18:08]SAM_PROTO_SignData done [15:18:08]FM_MakeSignedData done [15:18:08]CreateOFDProtocolMessage [15:18:08]wFMCommunicate request_size=4 [15:18:08]MH_SAM_APDU [15:18:08]CAPDU: 80 11 00 00 [15:18:08]Write to MH i2c: E2 08 00 F9 0C 80 11 00 00 00 00 00 00 7F [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:08]Read from MH i2c: E2 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 17 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: E2 17 00 F9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D9 [15:18:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:18:08]wFMCommunicate OK [15:18:08]CreateOFDProtocolMessage done [15:18:08]OFDSenderStorePacket 56798 [15:18:08]StoreOFDPacket docnum=56798 [15:18:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 48 F7 16 01 A2 BE 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 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 31 49 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DD 00 00 35 04 06 00 ED 57 F2 40 F1 C1 44 1D 1B 75 55 05 3A B0 [15:18:08]CheckFolder [15:18:08]dirname=/storage/ofd_packets [15:18:08]CheckFolder done [15:18:08]ProducePacketName [15:18:08]name=ofd_packets/00056798 [15:18:08]NVStorageSaveData ofd_packets/00056798 [15:18:08]File name is /storage/ofd_packets/00056798 [15:18:08]Write 316 bytes [15:18:08]NVStorageSaveData done [15:18:08]OFDSenderStorePacket done [15:18:08]KKMCreateOFDPacket done [15:18:08]NVStorageSaveData kkm_last_timestamp [15:18:08]File name is /storage/kkm_last_timestamp [15:18:08]Write 4 bytes [15:18:08]NVStorageSaveData done [15:18:08]ExternCall_PrintAddStr [15:18:08]wPrintStart [15:18:08]Write to MH i2c: 01 00 00 FA 0C 06 [15:18:08]Write i2c OK [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: 01 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: 01 07 00 [15:18:08]MH_I2C_Read... [15:18:08]Read from MH i2c: 01 07 00 FA 0C 00 00 00 00 00 FF 0F 1B [15:18:08]RasterBufferAndPrint [15:18:08]line Счет N : (3)129289 [15:18:08]line ИНН: 02508201610067 [15:18:08]line Контрольно-Кассовый Чек [15:18:08]line ПРОДАЖА [15:18:08]line Товар: 4870001570071 [15:18:08]line Напиток Pepsi 1л [15:18:08]line 1.000 * 111.00 [15:18:08]line = 111.00 [15:18:08]line НДС 12% НСП 1% [15:18:08]line > о реализуемом товаре [15:18:08]line ИТОГО: 111.00 [15:18:08]line НСП 1% : 0.98 [15:18:08]line НДС 12% : 11.79 [15:18:08]line Наличными: 0.00 [15:18:08]line Безнал.: 111.00 [15:18:08]line Место: АЗС № 132 "Партнер Нефть" [15:18:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:18:08]line СНО: Общий режим [15:18:08]line Чек 66 12.07.2024 15:18 [15:18:08]line Смена: 494 ФФД: 1.0 [15:18:08]line ЗНМ: 0300000132 [15:18:08]line РНМ: 0000000000091208 [15:18:08]line Версия ККМ: 001 [15:18:08]line Платежная система: АКБ Кыргызстан [15:18:08]line ФМ: 0000000000874857 [15:18:08]line ФД: 56798 [15:18:08]line ФПД: 260961982280129 [15:18:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151809&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56798&fm=260961982280129&tin=02508201610067®Number=0000000000091208&sum=11100 [15:18:09]line 0 [15:18:09]OFD Sender: Processing packet 56798 [packets to send 38, broken 37] [15:18:09]ProducePacketName [15:18:09]name=ofd_packets/00056798 [15:18:09]OFD Sender: To server: pG, [15:18:09]CommunicateWithHost lk.salyk.kg:30040 [15:18:09]ConnectInit lk.salyk.kg [15:18:09]written 0, free lines is 4095 [15:18:09]Connected sock=10 [15: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 38 35 37 1E 01 00 00 48 F7 16 01 A2 BE 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 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 31 49 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DD 00 00 35 04 06 00 ED 57 F2 40 F1 C1 44 1D 1B 75 55 05 3A B0 [15: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 38 35 37 4F 00 00 00 26 56 47 00 52 13 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 38 35 37 10 04 04 00 DE DD 00 00 F4 03 04 00 88 EF 90 66 B6 04 01 00 00 F6 46 87 91 E4 52 22 5D [15:18:09]CommunicateWithHost err = 0 [15:18:09]CheckOFDResponse [15:18:09]1017 (14) - 77093643461234 [15:18:09]1041 (16) - 0000000000874857 [15:18:09]1040 (4) - 56798 [15:18:09]1012 (4) - 12.07.2024 08:55 [15:18:09]1206 (1) - 0 [15:18:09]OFD Sender: Remove packet 56798 [15:18:09]ProducePacketName [15:18:09]name=ofd_packets/00056798 [15:18:09]NVStorageDeleteData [15:18:09]Write to MH i2c: 01 00 00 24 0D 31 [15:18:09]Write i2c OK [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: 01 [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: 01 07 00 [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: 01 07 00 24 0D 00 00 00 00 00 F6 0C 3A [15:18:09]RasterBufferAndPrint [15:18:09]line [15:18:09]line [15:18:09]line [15:18:09]line [15:18:09]line [15:18:09]written 0, free lines is 3323 [15:18:09]MH_Cut [15:18:09]Write to MH i2c: D1 01 00 2B 0D 01 0A [15:18:09]Write i2c OK [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: D1 [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: D1 01 00 [15:18:09]MH_I2C_Read... [15:18:09]Read from MH i2c: D1 01 00 2B 0D 00 09 [15:18:09]Write to MH i2c: 01 00 00 2C 0D 39 [15:18:09]Write i2c OK [15:18:09]MH_I2C_Read... [15:18:09]OFD Sender: No OFD packet to send [15:18:10]*** Cut start [15:18:10]*** Partial cut [15:18:10]*** CUTSNS_PIN = 1 [15:18:10]*** CUTSNS_PIN = 0 [15:18:10]*** Brake cut motor [15:18:10]Read from MH i2c: 01 [15:18:10]MH_I2C_Read... [15:18:10]*** Stop cut motor [15:18:10]*** Cut end [15:18:10]Read from MH i2c: 01 07 00 [15:18:10]MH_I2C_Read... [15:18:10]Read from MH i2c: 01 07 00 2C 0D 00 00 00 00 00 FF 0F 4E [15:18:10]process_action close_receipt done [15:18:10]requested_data is exist [15:18:10]produce_requested_data [15:18:10]requested_item fm.sn is exist - process it [15:18:10]wFMCommunicate request_size=4 [15:18:10]MH_SAM_APDU [15:18:10]CAPDU: 80 11 00 00 [15:18:10]Write to MH i2c: E2 08 00 2D 0D 80 11 00 00 00 00 00 00 B4 [15:18:10]Write i2c OK [15:18:10]MH_I2C_Read... [15:18:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:10]Read from MH i2c: E2 [15:18:10]MH_I2C_Read... [15:18:10]Read from MH i2c: E2 17 00 [15:18:10]MH_I2C_Read... [15:18:10]Read from MH i2c: E2 17 00 2D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0E [15:18:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:18:10]wFMCommunicate OK [15:18:10]requested_item fd.num is exist - process it [15:18:10]SAM_PROTO_GetFieldsCounters [15:18:10]wFMCommunicate request_size=4 [15:18:10]MH_SAM_APDU [15:18:10]CAPDU: 80 13 00 00 [15:18:10]Write to MH i2c: E2 08 00 2E 0D 80 13 00 00 00 00 00 00 B7 [15:18:10]Write i2c OK [15:18:10]MH_I2C_Read... [15:18:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:11]Read from MH i2c: E2 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 62 00 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 62 00 2E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DE DD 00 00 0E 04 04 00 EE 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 4A [15: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DE DD 00 00 0E 04 04 00 EE 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 [15:18:11]wFMCommunicate OK [15:18:11]SAM_PROTO_GetFieldsCounters done [15:18:11]requested_item shift.num is exist - process it [15:18:11]requested_item shift.opened is exist - process it [15:18:11]req_shift_opened [15:18:11]FM_GetShiftState [15:18:11]SAM_PROTO_GetShiftState [15:18:11]wFMCommunicate request_size=4 [15:18:11]MH_SAM_APDU [15:18:11]CAPDU: 80 13 01 00 [15:18:11]Write to MH i2c: E2 08 00 2F 0D 80 13 01 00 00 00 00 00 B9 [15:18:11]Write i2c OK [15:18:11]MH_I2C_Read... [15:18:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:11]Read from MH i2c: E2 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 0E 00 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 0E 00 2F 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 BA [15:18:11]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:18:11]wFMCommunicate OK [15:18:11]SAM_PROTO_GetShiftState done [15:18:11]FM_GetShiftState done [15:18:11]req_shift_opened done [15:18:11]requested_item shift.open_date is exist - process it [15:18:11]req_shift_open_date [15:18:11]req_shift_open_date done [15:18:11]requested_item shift.sale.total is exist - process it [15:18:11]SAM_PROTO_GetShiftData [15:18:11]wFMCommunicate request_size=4 [15:18:11]MH_SAM_APDU [15:18:11]CAPDU: 80 13 02 00 [15:18:11]Write to MH i2c: E2 08 00 30 0D 80 13 02 00 00 00 00 00 BB [15:18:11]Write i2c OK [15:18:11]MH_I2C_Read... [15:18:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:18:11]Read from MH i2c: E2 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 FD 00 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 FD 00 30 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 84 AA 1B 70 04 03 00 AC 70 15 72 04 03 00 D8 39 06 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 35 F0 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 AA 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 5C [15:18:11]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 84 AA 1B 70 04 03 00 AC 70 15 72 04 03 00 D8 39 06 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 35 F0 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 AA 3E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:18:11]wFMCommunicate OK [15:18:11]wFMCommunicate request_size=4 [15:18:11]MH_SAM_APDU [15:18:11]CAPDU: 80 17 00 00 [15:18:11]Write to MH i2c: E2 08 00 31 0D 80 17 00 00 00 00 00 00 BE [15:18:11]Write i2c OK [15:18:11]MH_I2C_Read... [15:18:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:11]Read from MH i2c: E2 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 FD 00 [15:18:11]MH_I2C_Read... [15:18:11]Read from MH i2c: E2 FD 00 31 0D 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [15:18:11]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:18:11]wFMCommunicate OK [15:18:11]wFMCommunicate request_size=4 [15:18:11]MH_SAM_APDU [15:18:11]CAPDU: 80 17 00 00 [15:18:11]Write to MH i2c: E2 08 00 32 0D 80 17 00 00 00 00 00 00 BF [15:18:11]Write i2c OK [15:18:11]MH_I2C_Read... [15:18:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:12]Read from MH i2c: E2 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 FD 00 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 FD 00 32 0D 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [15:18:12]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:18:12]wFMCommunicate OK [15:18:12]wFMCommunicate request_size=4 [15:18:12]MH_SAM_APDU [15:18:12]CAPDU: 80 17 00 00 [15:18:12]Write to MH i2c: E2 08 00 33 0D 80 17 00 00 00 00 00 00 C0 [15:18:12]Write i2c OK [15:18:12]MH_I2C_Read... [15:18:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:18:12]Read from MH i2c: E2 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 FD 00 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 FD 00 33 0D 00 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 90 00 2F [15:18:12]RAPDU: 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 90 00 [15:18:12]wFMCommunicate OK [15:18:12]wFMCommunicate request_size=4 [15:18:12]MH_SAM_APDU [15:18:12]CAPDU: 80 17 00 00 [15:18:12]Write to MH i2c: E2 08 00 34 0D 80 17 00 00 00 00 00 00 C1 [15:18:12]Write i2c OK [15:18:12]MH_I2C_Read... [15:18:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:18:12]Read from MH i2c: E2 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 D3 00 [15:18:12]MH_I2C_Read... [15:18:12]Read from MH i2c: E2 D3 00 34 0D 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AE [15:18:12]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:18:12]wFMCommunicate OK [15:18:12]SAM_PROTO_GetShiftData done [15:18:12]requested_item shift.sale.total_cash is exist - process it [15:18:12]requested_item shift.sale_refund.total is exist - process it [15:18:12]requested_item shift.sale_refund.total_cash is exist - process it [15:18:12]produce_requested_data done [15:18:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56798,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18131.24,"shift.sale.total_cash":14051.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:18:12]process_action_free close_receipt [15:18:12]json_value_free [15:18:12]json_value_free done [15:18:12]process_json_proto returns [15:18:12]Send response to host [15:18:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56798,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18131.24,"shift.sale.total_cash":14051.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:18:12]free response buf [15:18:12]execute_script done [15:18:12]execute_script returns [15:18:12]free content buf [15:18:12]Sock 7.Close socket [15:18:12]Sock 7.Thread stoped [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:12]accept exits with 9 [15:28:12]New connection [15:28:12]New thread 3066781028 created [15:28:12]Thread 3066637668 joined [15:28:12]Waiting for new connection... [15:28:12] Sock 9.Parse request [15:28:12]Sock 9.Check first char [15:28:12]Sock 9.First char is OK [15:28:12]request: POST /json_proto HTTP/1.0 [15:28:12]Method: POST [15:28:12]URL: /json_proto [15:28:12]Method is POST - this is cgi request [15:28:12]url: /json_proto [15:28:12]query_string will be loaded in cgi processing [15:28:12]execute_cgi json_proto POST (null) [15:28:12]execute_cgi path=json_proto method=POST [15:28:12]POST find Content-Length [15:28:12]Host: 172.17.39.4:8080 [15:28:12]Content-Length: 755 [15:28:12]Content-Type: application/json [15:28:12] [15:28:12]POST finish read [15:28:12]Found Content-Length = 755 [15:28:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129290", "tax_sys" : 0, "items" : [ { "code": "8591207777786", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 12\u0448\u0442", "price" : 457.00, "quantity" : 1.000, "sum" : 457.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 457.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:28:12]execute_script... [15:28:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129290", "tax_sys" : 0, "items" : [ { "code": "8591207777786", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 12\u0448\u0442", "price" : 457.00, "quantity" : 1.000, "sum" : 457.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 457.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:28:12]POST & json_proto [15:28:12]process_json_proto [15:28:12]json parsed OK: [15:28:12]protocol is kg_v1.0 [15:28:12]action value=close_receipt [15:28:12]process_action close_receipt [15:28:12]cmd_close_receipt [15:28:12]MH_GetDate [15:28:12]Write to MH i2c: F0 00 00 35 0D 31 [15:28:12]Write i2c OK [15:28:12]MH_I2C_Read... [15:28:12]Read from MH i2c: F0 [15:28:12]MH_I2C_Read... [15:28:12]Read from MH i2c: F0 09 00 [15:28:12]MH_I2C_Read... [15:28:12]Read from MH i2c: F0 09 00 35 0D 00 8F 4B 91 66 2D 25 5D 64 1E [15:28:12]GetLastDocTimeStamp 1720797489 [15:28:12]current date 1720798095 [15:28:12]FM_GetShiftState [15:28:12]SAM_PROTO_GetShiftState [15:28:12]wFMCommunicate request_size=4 [15:28:12]MH_SAM_APDU [15:28:12]CAPDU: 80 13 01 00 [15:28:12]Write to MH i2c: E2 08 00 36 0D 80 13 01 00 00 00 00 00 C0 [15:28:12]Write i2c OK [15:28:12]MH_I2C_Read... [15:28:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:12]Read from MH i2c: E2 [15:28:12]MH_I2C_Read... [15:28:12]Read from MH i2c: E2 0E 00 [15:28:12]MH_I2C_Read... [15:28:12]Read from MH i2c: E2 0E 00 36 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C1 [15:28:12]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:28:12]wFMCommunicate OK [15:28:12]SAM_PROTO_GetShiftState done [15:28:12]FM_GetShiftState done [15:28:12]opened in 1720744326 [15:28:12]opened+sec_in_day 1720830726 [15:28:12]quantity*price = 45700 [15:28:12]sum+1 = 45701 [15:28:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 457.00 НСП 1% : 4.04 НДС 12% : 48.53 Наличными: 457.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 67 12.07.2024 15:28 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56799 ФПД: 233808761861335 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152815&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56799&fm=233808761861335&tin=02508201610067®Number=0000000000091208&sum=45700 0 [15:28:13]StoreToDocumentArchive [15:28:13]shift 494 fd 56799 [15:28:13]save to /storage/0494/doc_00056799 [15:28:13]save last doc name /storage/0494/doc_00056799 to /storage/kkm_last_doc_name [15:28:13]save OK [15:28:13]Clear old archive folders... [15:28:13]ProcessDocumentItem done err = 0, tmpTLVsize=279 [15:28:13]tlvbuf is 01AF1A50 [15:28:13]SAM_PROTO_ClearQueue [15:28:13]wFMCommunicate request_size=4 [15:28:13]MH_SAM_APDU [15:28:13]CAPDU: 80 09 00 00 [15:28:13]Write to MH i2c: E2 08 00 43 0D 80 09 00 00 00 00 00 00 C2 [15:28:13]Write i2c OK [15:28:13]MH_I2C_Read... [15:28:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:13]Read from MH i2c: E2 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 03 00 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 03 00 43 0D 00 90 00 C4 [15:28:13]RAPDU: 90 00 [15:28:13]wFMCommunicate OK [15:28:13]SAM_PROTO_ClearQueue done [15:28:13]KKMCreateOFDPacket [15:28:13]OFDProtocolAddRootSTLVToBuf [15:28:13]FM_MakeSignedData [15:28:13]FM_MakeSignedData [15:28:13]SAM_PROTO_SignData [15:28:13]wFMCommunicate request_size=4 [15:28:13]MH_SAM_APDU [15:28:13]CAPDU: 80 0D 01 02 [15:28:13]Write to MH i2c: E2 08 00 44 0D 80 0D 01 02 00 00 00 00 CA [15:28:13]Write i2c OK [15:28:13]MH_I2C_Read... [15:28:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:13]Read from MH i2c: E2 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 03 00 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 03 00 44 0D 00 90 00 C5 [15:28:13]RAPDU: 90 00 [15:28:13]wFMCommunicate OK [15:28:13]wFMCommunicate request_size=255 [15:28:13]MH_SAM_APDU [15:28:13]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 38 36 06 04 25 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 B2 00 00 00 00 13 04 06 00 84 B2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 B2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 94 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 12 00 00 00 00 07 04 06 00 84 B2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 4B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 [15:28:13]Write to MH i2c: E2 02 01 45 0D 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 38 36 06 04 25 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 B2 00 00 00 00 13 04 06 00 84 B2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 B2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 94 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 12 00 00 00 00 07 04 06 00 84 B2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 4B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 00 00 2D [15:28:13]Write i2c OK [15:28:13]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 45 0D 00 90 00 C6 [15:28:14]RAPDU: 90 00 [15:28:14]wFMCommunicate OK [15:28:14]wFMCommunicate request_size=38 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DD 00 00 35 04 06 00 D4 A5 D8 32 34 D7 [15:28:14]Write to MH i2c: E2 29 00 46 0D 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DD 00 00 35 04 06 00 D4 A5 D8 32 34 D7 00 00 A7 [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 46 0D 00 90 00 C7 [15:28:14]RAPDU: 90 00 [15:28:14]wFMCommunicate OK [15:28:14]wFMCommunicate request_size=4 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 0D 03 02 [15:28:14]Write to MH i2c: E2 08 00 47 0D 80 0D 03 02 00 00 00 00 CF [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 0B 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 0B 00 47 0D 00 C4 C8 BC E4 5B 2A 23 45 90 00 E9 [15:28:14]RAPDU: C4 C8 BC E4 5B 2A 23 45 90 00 [15:28:14]wFMCommunicate OK [15:28:14]SAM_PROTO_SignData done [15:28:14]FM_MakeSignedData done [15:28:14]CreateOFDProtocolMessage [15:28:14]wFMCommunicate request_size=4 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 11 00 00 [15:28:14]Write to MH i2c: E2 08 00 48 0D 80 11 00 00 00 00 00 00 CF [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 17 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 17 00 48 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 29 [15:28:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:28:14]wFMCommunicate OK [15:28:14]CreateOFDProtocolMessage done [15:28:14]OFDSenderStorePacket 56799 [15:28:14]StoreOFDPacket docnum=56799 [15:28:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2B 01 00 00 06 52 23 01 48 81 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 38 36 06 04 25 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 B2 00 00 00 00 13 04 06 00 84 B2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 B2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 94 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 12 00 00 00 00 07 04 06 00 84 B2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 4B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DD 00 00 35 04 06 00 D4 A5 D8 32 34 D7 C4 C8 BC E4 5B 2A 23 45 [15:28:14]CheckFolder [15:28:14]dirname=/storage/ofd_packets [15:28:14]CheckFolder done [15:28:14]ProducePacketName [15:28:14]name=ofd_packets/00056799 [15:28:14]NVStorageSaveData ofd_packets/00056799 [15:28:14]File name is /storage/ofd_packets/00056799 [15:28:14]Write 329 bytes [15:28:14]NVStorageSaveData done [15:28:14]OFDSenderStorePacket done [15:28:14]KKMCreateOFDPacket done [15:28:14]NVStorageSaveData kkm_last_timestamp [15:28:14]File name is /storage/kkm_last_timestamp [15:28:14]Write 4 bytes [15:28:14]NVStorageSaveData done [15:28:14]ExternCall_PrintAddStr [15:28:14]wPrintStart [15:28:14]Write to MH i2c: 01 00 00 49 0D 56 [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: 01 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: 01 07 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: 01 07 00 49 0D 00 00 00 00 00 FF 0F 6B [15:28:14]RasterBufferAndPrint [15:28:14]line Счет N : (3)129290 [15:28:14]line ИНН: 02508201610067 [15:28:14]line Контрольно-Кассовый Чек [15:28:14]line ПРОДАЖА [15:28:14]line Товар: 8591207777786 [15:28:14]line Презервативы Datex 12шт [15:28:14]line 1.000 * 457.00 [15:28:14]line = 457.00 [15:28:14]line НДС 12% НСП 1% [15:28:14]line > о реализуемом товаре [15:28:14]line ИТОГО: 457.00 [15:28:14]line НСП 1% : 4.04 [15:28:14]line НДС 12% : 48.53 [15:28:14]line Наличными: 457.00 [15:28:14]line Безнал.: 0.00 [15:28:14]line Место: АЗС № 132 "Партнер Нефть" [15:28:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:28:14]line СНО: Общий режим [15:28:14]line Чек 67 12.07.2024 15:28 [15:28:14]line Смена: 494 ФФД: 1.0 [15:28:14]line ЗНМ: 0300000132 [15:28:14]line РНМ: 0000000000091208 [15:28:14]line Версия ККМ: 001 [15:28:14]line ФМ: 0000000000874857 [15:28:14]line ФД: 56799 [15:28:14]line ФПД: 233808761861335 [15:28:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152815&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56799&fm=233808761861335&tin=02508201610067®Number=0000000000091208&sum=45700 [15:28:14]line 0 [15:28:14]OFD Sender: Processing packet 56799 [packets to send 38, broken 37] [15:28:14]ProducePacketName [15:28:14]name=ofd_packets/00056799 [15:28:14]OFD Sender: To server: pG, [15:28:14]CommunicateWithHost lk.salyk.kg:30040 [15:28:14]ConnectInit lk.salyk.kg [15:28:14]written 0, free lines is 4095 [15:28:14]Connected sock=7 [15:28:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2B 01 00 00 06 52 23 01 48 81 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 38 36 06 04 25 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 B2 00 00 00 00 13 04 06 00 84 B2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 B2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 94 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 12 00 00 00 00 07 04 06 00 84 B2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 8F 4B 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DD 00 00 35 04 06 00 D4 A5 D8 32 34 D7 C4 C8 BC E4 5B 2A 23 45 [15:28:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 8A 0A 47 00 CF 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 38 35 37 10 04 04 00 DF DD 00 00 F4 03 04 00 E6 F1 90 66 B6 04 01 00 00 2F 76 66 DA 3D BA 49 EB [15:28:15]CommunicateWithHost err = 0 [15:28:15]CheckOFDResponse [15:28:15]1017 (14) - 77093643461234 [15:28:15]1041 (16) - 0000000000874857 [15:28:15]1040 (4) - 56799 [15:28:15]1012 (4) - 12.07.2024 09:05 [15:28:15]1206 (1) - 0 [15:28:15]OFD Sender: Remove packet 56799 [15:28:15]ProducePacketName [15:28:15]name=ofd_packets/00056799 [15:28:15]NVStorageDeleteData [15:28:15]Write to MH i2c: 01 00 00 71 0D 7E [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 07 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 07 00 71 0D 00 00 00 00 00 F1 0C 82 [15:28:15]RasterBufferAndPrint [15:28:15]line [15:28:15]line [15:28:15]line [15:28:15]line [15:28:15]line [15:28:15]written 0, free lines is 3323 [15:28:15]MH_Cut [15:28:15]Write to MH i2c: D1 01 00 78 0D 01 57 [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: D1 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: D1 01 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: D1 01 00 78 0D 00 56 [15:28:15]Write to MH i2c: 01 00 00 79 0D 86 [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]OFD Sender: No OFD packet to send [15:28:15]*** Cut start [15:28:15]*** Partial cut [15:28:15]*** CUTSNS_PIN = 1 [15:28:15]*** CUTSNS_PIN = 0 [15:28:16]*** Brake cut motor [15:28:16]Read from MH i2c: 01 [15:28:16]MH_I2C_Read... [15:28:16]*** Stop cut motor [15:28:16]*** Cut end [15:28:16]Read from MH i2c: 01 07 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: 01 07 00 79 0D 00 00 00 00 00 FF 0F 9B [15:28:16]process_action close_receipt done [15:28:16]requested_data is exist [15:28:16]produce_requested_data [15:28:16]requested_item fm.sn is exist - process it [15:28:16]wFMCommunicate request_size=4 [15:28:16]MH_SAM_APDU [15:28:16]CAPDU: 80 11 00 00 [15:28:16]Write to MH i2c: E2 08 00 7A 0D 80 11 00 00 00 00 00 00 01 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:16]Read from MH i2c: E2 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 17 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 17 00 7A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5B [15:28:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:28:16]wFMCommunicate OK [15:28:16]requested_item fd.num is exist - process it [15:28:16]SAM_PROTO_GetFieldsCounters [15:28:16]wFMCommunicate request_size=4 [15:28:16]MH_SAM_APDU [15:28:16]CAPDU: 80 13 00 00 [15:28:16]Write to MH i2c: E2 08 00 7B 0D 80 13 00 00 00 00 00 00 04 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:16]Read from MH i2c: E2 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 62 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 62 00 7B 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DF DD 00 00 0E 04 04 00 EE 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 9B [15:28:16]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DF DD 00 00 0E 04 04 00 EE 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 [15:28:16]wFMCommunicate OK [15:28:16]SAM_PROTO_GetFieldsCounters done [15:28:16]requested_item shift.num is exist - process it [15:28:16]requested_item shift.opened is exist - process it [15:28:16]req_shift_opened [15:28:16]FM_GetShiftState [15:28:16]SAM_PROTO_GetShiftState [15:28:16]wFMCommunicate request_size=4 [15:28:16]MH_SAM_APDU [15:28:16]CAPDU: 80 13 01 00 [15:28:16]Write to MH i2c: E2 08 00 7C 0D 80 13 01 00 00 00 00 00 06 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:16]Read from MH i2c: E2 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 0E 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: E2 0E 00 7C 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 07 [15:28:16]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:28:16]wFMCommunicate OK [15:28:16]SAM_PROTO_GetShiftState done [15:28:16]FM_GetShiftState done [15:28:16]req_shift_opened done [15:28:16]requested_item shift.open_date is exist - process it [15:28:16]req_shift_open_date [15:28:16]req_shift_open_date done [15:28:16]requested_item shift.sale.total is exist - process it [15:28:16]SAM_PROTO_GetShiftData [15:28:16]wFMCommunicate request_size=4 [15:28:16]MH_SAM_APDU [15:28:16]CAPDU: 80 13 02 00 [15:28:16]Write to MH i2c: E2 08 00 7D 0D 80 13 02 00 00 00 00 00 08 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 7D 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 08 5D 1C 70 04 03 00 30 23 16 72 04 03 00 D8 39 06 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 2A 03 03 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 3E 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 BA [15:28:17]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 08 5D 1C 70 04 03 00 30 23 16 72 04 03 00 D8 39 06 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 2A 03 03 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 3E 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:28:17]wFMCommunicate OK [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 17 00 00 [15:28:17]Write to MH i2c: E2 08 00 7E 0D 80 17 00 00 00 00 00 00 0B [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 7E 0D 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4A [15:28:17]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:28:17]wFMCommunicate OK [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 17 00 00 [15:28:17]Write to MH i2c: E2 08 00 7F 0D 80 17 00 00 00 00 00 00 0C [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 FD 00 7F 0D 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CC [15:28:17]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:28:17]wFMCommunicate OK [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 17 00 00 [15:28:17]Write to MH i2c: E2 08 00 80 0D 80 17 00 00 00 00 00 00 0D [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:18]Read from MH i2c: E2 [15:28:18]MH_I2C_Read... [15:28:18]Read from MH i2c: E2 FD 00 [15:28:18]MH_I2C_Read... [15:28:18]Read from MH i2c: E2 FD 00 80 0D 00 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 90 00 7C [15:28:18]RAPDU: 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 90 00 [15:28:18]wFMCommunicate OK [15:28:18]wFMCommunicate request_size=4 [15:28:18]MH_SAM_APDU [15:28:18]CAPDU: 80 17 00 00 [15:28:18]Write to MH i2c: E2 08 00 81 0D 80 17 00 00 00 00 00 00 0E [15:28:18]Write i2c OK [15:28:18]MH_I2C_Read... [15:28:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:28:18]Read from MH i2c: E2 [15:28:18]MH_I2C_Read... [15:28:18]Read from MH i2c: E2 D3 00 [15:28:18]MH_I2C_Read... [15:28:18]Read from MH i2c: E2 D3 00 81 0D 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FB [15:28:18]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:28:18]wFMCommunicate OK [15:28:18]SAM_PROTO_GetShiftData done [15:28:18]requested_item shift.sale.total_cash is exist - process it [15:28:18]requested_item shift.sale_refund.total is exist - process it [15:28:18]requested_item shift.sale_refund.total_cash is exist - process it [15:28:18]produce_requested_data done [15:28:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56799,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18588.24,"shift.sale.total_cash":14508.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:28:18]process_action_free close_receipt [15:28:18]json_value_free [15:28:18]json_value_free done [15:28:18]process_json_proto returns [15:28:18]Send response to host [15:28:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56799,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18588.24,"shift.sale.total_cash":14508.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:28:18]free response buf [15:28:18]execute_script done [15:28:18]execute_script returns [15:28:18]free content buf [15:28:18]Sock 9.Close socket [15:28:18]Sock 9.Thread stoped [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:21]OFD Sender: No OFD packet to send [15:36:26]OFD Sender: No OFD packet to send [15:36:31]OFD Sender: No OFD packet to send [15:36:36]OFD Sender: No OFD packet to send [15:36:41]OFD Sender: No OFD packet to send [15:36:46]OFD Sender: No OFD packet to send [15:36:51]OFD Sender: No OFD packet to send [15:36:56]OFD Sender: No OFD packet to send [15:37:01]OFD Sender: No OFD packet to send [15:37:06]OFD Sender: No OFD packet to send [15:37:11]OFD Sender: No OFD packet to send [15:37:16]OFD Sender: No OFD packet to send [15:37:21]OFD Sender: No OFD packet to send [15:37:26]OFD Sender: No OFD packet to send [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:50]accept exits with 10 [15:59:50]New connection [15:59:50]New thread 3066637668 created [15:59:50]Thread 3066781028 joined [15:59:50]Waiting for new connection... [15:59:50] Sock 10.Parse request [15:59:50]Sock 10.Check first char [15:59:50]Sock 10.First char is OK [15:59:50]request: POST /json_proto HTTP/1.0 [15:59:50]Method: POST [15:59:50]URL: /json_proto [15:59:50]Method is POST - this is cgi request [15:59:50]url: /json_proto [15:59:50]query_string will be loaded in cgi processing [15:59:50]execute_cgi json_proto POST (null) [15:59:50]execute_cgi path=json_proto method=POST [15:59:50]POST find Content-Length [15:59:50]Host: 172.17.39.4:8080 [15:59:50]Content-Length: 1175 [15:59:50]Content-Type: application/json [15:59:50] [15:59:50]POST finish read [15:59:50]Found Content-Length = 1175 [15:59:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129291", "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 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:59:50]execute_script... [15:59: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)129291", "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 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:59:50]POST & json_proto [15:59:50]process_json_proto [15:59:50]json parsed OK: [15:59:50]protocol is kg_v1.0 [15:59:50]action value=close_receipt [15:59:50]process_action close_receipt [15:59:50]cmd_close_receipt [15:59:50]MH_GetDate [15:59:50]Write to MH i2c: F0 00 00 82 0D 7E [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: F0 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: F0 09 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: F0 09 00 82 0D 00 F9 52 91 66 2D 25 5D 64 DC [15:59:50]GetLastDocTimeStamp 1720798095 [15:59:50]current date 1720799993 [15:59:50]FM_GetShiftState [15:59:50]SAM_PROTO_GetShiftState [15:59:50]wFMCommunicate request_size=4 [15:59:50]MH_SAM_APDU [15:59:50]CAPDU: 80 13 01 00 [15:59:50]Write to MH i2c: E2 08 00 83 0D 80 13 01 00 00 00 00 00 0D [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:50]Read from MH i2c: E2 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 0E 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 0E 00 83 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 0E [15:59:50]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:59:50]wFMCommunicate OK [15:59:50]SAM_PROTO_GetShiftState done [15:59:50]FM_GetShiftState done [15:59:50]opened in 1720744326 [15:59:50]opened+sec_in_day 1720830726 [15:59:50]quantity*price = 11000 [15:59:50]sum+1 = 11001 [15:59:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 0.00 Безнал.: 205.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 68 12.07.2024 15:59 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 56800 ФПД: 201070832171257 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T155953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56800&fm=201070832171257&tin=02508201610067®Number=0000000000091208&sum=20500 0 [15:59:51]StoreToDocumentArchive [15:59:51]shift 494 fd 56800 [15:59:51]save to /storage/0494/doc_00056800 [15:59:51]save last doc name /storage/0494/doc_00056800 to /storage/kkm_last_doc_name [15:59:51]save OK [15:59:51]Clear old archive folders... [15:59:51]ProcessDocumentItem done err = 0, tmpTLVsize=405 [15:59:51]tlvbuf is 01AAD0B0 [15:59:51]SAM_PROTO_ClearQueue [15:59:51]wFMCommunicate request_size=4 [15:59:51]MH_SAM_APDU [15:59:51]CAPDU: 80 09 00 00 [15:59:51]Write to MH i2c: E2 08 00 90 0D 80 09 00 00 00 00 00 00 0F [15:59:51]Write i2c OK [15:59:51]MH_I2C_Read... [15:59:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:51]Read from MH i2c: E2 [15:59:51]MH_I2C_Read... [15:59:51]Read from MH i2c: E2 03 00 [15:59:51]MH_I2C_Read... [15:59:51]Read from MH i2c: E2 03 00 90 0D 00 90 00 11 [15:59:51]RAPDU: 90 00 [15:59:51]wFMCommunicate OK [15:59:51]SAM_PROTO_ClearQueue done [15:59:51]KKMCreateOFDPacket [15:59:51]OFDProtocolAddRootSTLVToBuf [15:59:51]FM_MakeSignedData [15:59:51]FM_MakeSignedData [15:59:51]SAM_PROTO_SignData [15:59:51]wFMCommunicate request_size=4 [15:59:51]MH_SAM_APDU [15:59:51]CAPDU: 80 0D 01 02 [15:59:51]Write to MH i2c: E2 08 00 91 0D 80 0D 01 02 00 00 00 00 17 [15:59:51]Write i2c OK [15:59:51]MH_I2C_Read... [15:59:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:51]Read from MH i2c: E2 [15:59:51]MH_I2C_Read... [15:59:51]Read from MH i2c: E2 03 00 [15:59:51]MH_I2C_Read... [15:59:51]Read from MH i2c: E2 03 00 91 0D 00 90 00 12 [15:59:51]RAPDU: 90 00 [15:59:51]wFMCommunicate OK [15:59:51]wFMCommunicate request_size=255 [15:59:51]MH_SAM_APDU [15:59:51]CAPDU: 80 0D 02 02 FA 03 00 95 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 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 14 50 [15:59:51]Write to MH i2c: E2 02 01 92 0D 80 0D 02 02 FA 00 03 00 95 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 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 14 50 00 00 EE [15:59:51]Write i2c OK [15:59:51]MH_I2C_Read... [15:59:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:52]Read from MH i2c: E2 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 03 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 03 00 92 0D 00 90 00 13 [15:59:52]RAPDU: 90 00 [15:59:52]wFMCommunicate OK [15:59:52]wFMCommunicate request_size=164 [15:59:52]MH_SAM_APDU [15:59:52]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F9 52 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DD 00 00 35 04 06 00 B6 DF 73 86 B8 F9 [15:59:52]Write to MH i2c: E2 A7 00 93 0D 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F9 52 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DD 00 00 35 04 06 00 B6 DF 73 86 B8 F9 00 00 AA [15:59:52]OFD Sender: No OFD packet to send [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:52]Read from MH i2c: E2 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 03 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 03 00 93 0D 00 90 00 14 [15:59:52]RAPDU: 90 00 [15:59:52]wFMCommunicate OK [15:59:52]wFMCommunicate request_size=4 [15:59:52]MH_SAM_APDU [15:59:52]CAPDU: 80 0D 03 02 [15:59:52]Write to MH i2c: E2 08 00 94 0D 80 0D 03 02 00 00 00 00 1C [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:52]Read from MH i2c: E2 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 0B 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 0B 00 94 0D 00 3F 18 2D 48 50 BA 11 04 90 00 08 [15:59:52]RAPDU: 3F 18 2D 48 50 BA 11 04 90 00 [15:59:52]wFMCommunicate OK [15:59:52]SAM_PROTO_SignData done [15:59:52]FM_MakeSignedData done [15:59:52]CreateOFDProtocolMessage [15:59:52]wFMCommunicate request_size=4 [15:59:52]MH_SAM_APDU [15:59:52]CAPDU: 80 11 00 00 [15:59:52]Write to MH i2c: E2 08 00 95 0D 80 11 00 00 00 00 00 00 1C [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:52]Read from MH i2c: E2 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 17 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 17 00 95 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [15:59:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:59:52]wFMCommunicate OK [15:59:52]CreateOFDProtocolMessage done [15:59:52]OFDSenderStorePacket 56800 [15:59:52]StoreOFDPacket docnum=56800 [15:59:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A9 01 00 00 A4 B2 A1 01 82 6B 5A 03 01 00 03 00 95 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 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F9 52 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DD 00 00 35 04 06 00 B6 DF 73 86 B8 F9 3F 18 2D 48 50 BA 11 04 [15:59:52]CheckFolder [15:59:52]dirname=/storage/ofd_packets [15:59:52]CheckFolder done [15:59:52]ProducePacketName [15:59:52]name=ofd_packets/00056800 [15:59:52]NVStorageSaveData ofd_packets/00056800 [15:59:52]File name is /storage/ofd_packets/00056800 [15:59:52]Write 455 bytes [15:59:52]NVStorageSaveData done [15:59:52]OFDSenderStorePacket done [15:59:52]KKMCreateOFDPacket done [15:59:52]NVStorageSaveData kkm_last_timestamp [15:59:52]File name is /storage/kkm_last_timestamp [15:59:52]Write 4 bytes [15:59:52]NVStorageSaveData done [15:59:52]ExternCall_PrintAddStr [15:59:52]wPrintStart [15:59:52]Write to MH i2c: 01 00 00 96 0D A3 [15:59:52]OFD Sender: Processing packet 56800 [packets to send 38, broken 37] [15:59:52]ProducePacketName [15:59:52]name=ofd_packets/00056800 [15:59:52]OFD Sender: To server: pG, [15:59:52]CommunicateWithHost lk.salyk.kg:30040 [15:59:52]ConnectInit lk.salyk.kg [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: 01 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: 01 07 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: 01 07 00 96 0D 00 00 00 00 00 FF 0F B8 [15:59:52]RasterBufferAndPrint [15:59:52]line Счет N : (3)129291 [15:59:52]line ИНН: 02508201610067 [15:59:52]line Контрольно-Кассовый Чек [15:59:52]line ПРОДАЖА [15:59:52]line Товар: 4650243871781 [15:59:52]line Gorilla эн нап Orange 0,45 ж/б [15:59:52]line 1.000 * 110.00 [15:59:52]line = 110.00 [15:59:52]line НДС 12% НСП 1% [15:59:52]line > о реализуемом товаре [15:59:52]line Товар: 4631150682851 [15:59:52]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [15:59:52]line 1.000 * 95.00 [15:59:52]line = 95.00 [15:59:52]line НДС 12% НСП 1% [15:59:52]line > о реализуемом товаре [15:59:52]line ИТОГО: 205.00 [15:59:52]line НСП 1% : 1.81 [15:59:52]line НДС 12% : 21.77 [15:59:52]line Наличными: 0.00 [15:59:52]line Безнал.: 205.00 [15:59:52]line Место: АЗС № 132 "Партнер Нефть" [15:59:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:59:52]line СНО: Общий режим [15:59:52]line Чек 68 12.07.2024 15:59 [15:59:52]line Смена: 494 ФФД: 1.0 [15:59:52]line ЗНМ: 0300000132 [15:59:52]line РНМ: 0000000000091208 [15:59:52]line Версия ККМ: 001 [15:59:52]line Платежная система: О! деньги [15:59:52]line ФМ: 0000000000874857 [15:59:52]line ФД: 56800 [15:59:52]line ФПД: 201070832171257 [15:59:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T155953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56800&fm=201070832171257&tin=02508201610067®Number=0000000000091208&sum=20500 [15:59:52]line 0 [15:59:52]written 0, free lines is 4095 [15:59:52]Connected sock=9 [15:59:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A9 01 00 00 A4 B2 A1 01 82 6B 5A 03 01 00 03 00 95 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 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F9 52 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DD 00 00 35 04 06 00 B6 DF 73 86 B8 F9 3F 18 2D 48 50 BA 11 04 [15:59:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 38 5F 47 00 91 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DD 00 00 F4 03 04 00 50 F9 90 66 B6 04 01 00 00 39 78 D8 CC DC F7 E4 58 [15:59:53]CommunicateWithHost err = 0 [15:59:53]CheckOFDResponse [15:59:53]1017 (14) - 77093643461234 [15:59:53]1041 (16) - 0000000000874857 [15:59:53]1040 (4) - 56800 [15:59:53]1012 (4) - 12.07.2024 09:37 [15:59:53]1206 (1) - 0 [15:59:53]OFD Sender: Remove packet 56800 [15:59:53]ProducePacketName [15:59:53]name=ofd_packets/00056800 [15:59:53]NVStorageDeleteData [15:59:53]Write to MH i2c: 01 00 00 C7 0D D4 [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: 01 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: 01 07 00 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: 01 07 00 C7 0D 00 00 00 00 00 94 0C 7B [15:59:53]RasterBufferAndPrint [15:59:53]line [15:59:53]line [15:59:53]line [15:59:53]line [15:59:53]line [15:59:53]written 0, free lines is 3229 [15:59:53]MH_Cut [15:59:53]Write to MH i2c: D1 01 00 CE 0D 01 AD [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: D1 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: D1 01 00 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: D1 01 00 CE 0D 00 AC [15:59:53]Write to MH i2c: 01 00 00 CF 0D DC [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:53]OFD Sender: No OFD packet to send [15:59:54]*** Cut start [15:59:54]*** Partial cut [15:59:54]*** CUTSNS_PIN = 1 [15:59:54]*** CUTSNS_PIN = 0 [15:59:54]*** Brake cut motor [15:59:54]Read from MH i2c: 01 [15:59:54]MH_I2C_Read... [15:59:54]*** Stop cut motor [15:59:54]*** Cut end [15:59:54]Read from MH i2c: 01 07 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: 01 07 00 CF 0D 00 00 00 00 00 FF 0F F1 [15:59:54]process_action close_receipt done [15:59:54]requested_data is exist [15:59:54]produce_requested_data [15:59:54]requested_item fm.sn is exist - process it [15:59:54]wFMCommunicate request_size=4 [15:59:54]MH_SAM_APDU [15:59:54]CAPDU: 80 11 00 00 [15:59:54]Write to MH i2c: E2 08 00 D0 0D 80 11 00 00 00 00 00 00 57 [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:54]Read from MH i2c: E2 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 17 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 17 00 D0 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B1 [15:59:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:59:54]wFMCommunicate OK [15:59:54]requested_item fd.num is exist - process it [15:59:54]SAM_PROTO_GetFieldsCounters [15:59:54]wFMCommunicate request_size=4 [15:59:54]MH_SAM_APDU [15:59:54]CAPDU: 80 13 00 00 [15:59:54]Write to MH i2c: E2 08 00 D1 0D 80 13 00 00 00 00 00 00 5A [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:55]Read from MH i2c: E2 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 62 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 62 00 D1 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E0 DD 00 00 0E 04 04 00 EE 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 F5 [15:59: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E0 DD 00 00 0E 04 04 00 EE 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 [15:59:55]wFMCommunicate OK [15:59:55]SAM_PROTO_GetFieldsCounters done [15:59:55]requested_item shift.num is exist - process it [15:59:55]requested_item shift.opened is exist - process it [15:59:55]req_shift_opened [15:59:55]FM_GetShiftState [15:59:55]SAM_PROTO_GetShiftState [15:59:55]wFMCommunicate request_size=4 [15:59:55]MH_SAM_APDU [15:59:55]CAPDU: 80 13 01 00 [15:59:55]Write to MH i2c: E2 08 00 D2 0D 80 13 01 00 00 00 00 00 5C [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:55]Read from MH i2c: E2 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 0E 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 0E 00 D2 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 5D [15:59:55]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [15:59:55]wFMCommunicate OK [15:59:55]SAM_PROTO_GetShiftState done [15:59:55]FM_GetShiftState done [15:59:55]req_shift_opened done [15:59:55]requested_item shift.open_date is exist - process it [15:59:55]req_shift_open_date [15:59:55]req_shift_open_date done [15:59:55]requested_item shift.sale.total is exist - process it [15:59:55]SAM_PROTO_GetShiftData [15:59:55]wFMCommunicate request_size=4 [15:59:55]MH_SAM_APDU [15:59:55]CAPDU: 80 13 02 00 [15:59:55]Write to MH i2c: E2 08 00 D3 0D 80 13 02 00 00 00 00 00 5E [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:59:55]Read from MH i2c: E2 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 FD 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 FD 00 D3 0D 00 B6 04 AA 04 B2 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 1C AD 1C 70 04 03 00 30 23 16 72 04 03 00 EC 89 06 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 0B 03 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 F3 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 18 [15:59:55]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 1C AD 1C 70 04 03 00 30 23 16 72 04 03 00 EC 89 06 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 0B 03 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 F3 40 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [15:59:55]wFMCommunicate OK [15:59:55]wFMCommunicate request_size=4 [15:59:55]MH_SAM_APDU [15:59:55]CAPDU: 80 17 00 00 [15:59:55]Write to MH i2c: E2 08 00 D4 0D 80 17 00 00 00 00 00 00 61 [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:55]Read from MH i2c: E2 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 FD 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: E2 FD 00 D4 0D 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A0 [15:59:55]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:59:55]wFMCommunicate OK [15:59:55]wFMCommunicate request_size=4 [15:59:55]MH_SAM_APDU [15:59:55]CAPDU: 80 17 00 00 [15:59:55]Write to MH i2c: E2 08 00 D5 0D 80 17 00 00 00 00 00 00 62 [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 FD 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 FD 00 D5 0D 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 22 [15:59:56]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:59:56]wFMCommunicate OK [15:59:56]wFMCommunicate request_size=4 [15:59:56]MH_SAM_APDU [15:59:56]CAPDU: 80 17 00 00 [15:59:56]Write to MH i2c: E2 08 00 D6 0D 80 17 00 00 00 00 00 00 63 [15:59:56]Write i2c OK [15:59:56]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 FD 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 FD 00 D6 0D 00 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 90 00 D2 [15:59:56]RAPDU: 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 90 00 [15:59:56]wFMCommunicate OK [15:59:56]wFMCommunicate request_size=4 [15:59:56]MH_SAM_APDU [15:59:56]CAPDU: 80 17 00 00 [15:59:56]Write to MH i2c: E2 08 00 D7 0D 80 17 00 00 00 00 00 00 64 [15:59:56]Write i2c OK [15:59:56]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 D3 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 D3 00 D7 0D 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 51 [15:59:56]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:59:56]wFMCommunicate OK [15:59:56]SAM_PROTO_GetShiftData done [15:59:56]requested_item shift.sale.total_cash is exist - process it [15:59:56]requested_item shift.sale_refund.total is exist - process it [15:59:56]requested_item shift.sale_refund.total_cash is exist - process it [15:59:56]produce_requested_data done [15:59:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56800,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18793.24,"shift.sale.total_cash":14508.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [15:59:56]process_action_free close_receipt [15:59:56]json_value_free [15:59:56]json_value_free done [15:59:56]process_json_proto returns [15:59:56]Send response to host [15:59:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56800,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":18793.24,"shift.sale.total_cash":14508.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [15:59:56]free response buf [15:59:56]execute_script done [15:59:56]execute_script returns [15:59:56]free content buf [15:59:56]Sock 10.Close socket [15:59:56]Sock 10.Thread stoped [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:04]accept exits with 7 [16:05:04]New connection [16:05:04]New thread 3066781028 created [16:05:04]Thread 3066637668 joined [16:05:04]Waiting for new connection... [16:05:04] Sock 7.Parse request [16:05:04]Sock 7.Check first char [16:05:04]Sock 7.First char is OK [16:05:04]request: POST /json_proto HTTP/1.0 [16:05:04]Method: POST [16:05:04]URL: /json_proto [16:05:04]Method is POST - this is cgi request [16:05:04]url: /json_proto [16:05:04]query_string will be loaded in cgi processing [16:05:04]execute_cgi json_proto POST (null) [16:05:04]execute_cgi path=json_proto method=POST [16:05:04]POST find Content-Length [16:05:04]Host: 172.17.39.4:8080 [16:05:04]Content-Length: 781 [16:05:04]Content-Type: application/json [16:05:04] [16:05:04]POST finish read [16:05:04]Found Content-Length = 781 [16:05:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854274", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:05:04]execute_script... [16:05:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854274", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 7.550, "sum" : 500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:05:04]POST & json_proto [16:05:04]process_json_proto [16:05:04]json parsed OK: [16:05:04]protocol is kg_v1.0 [16:05:04]action value=close_receipt [16:05:04]process_action close_receipt [16:05:04]cmd_close_receipt [16:05:04]MH_GetDate [16:05:04]Write to MH i2c: F0 00 00 D8 0D D4 [16:05:04]Write i2c OK [16:05:04]MH_I2C_Read... [16:05:04]Read from MH i2c: F0 [16:05:04]MH_I2C_Read... [16:05:04]Read from MH i2c: F0 09 00 [16:05:04]MH_I2C_Read... [16:05:04]Read from MH i2c: F0 09 00 D8 0D 00 32 54 91 66 2D 25 5D 64 6D [16:05:04]GetLastDocTimeStamp 1720799993 [16:05:04]current date 1720800306 [16:05:04]FM_GetShiftState [16:05:04]SAM_PROTO_GetShiftState [16:05:04]wFMCommunicate request_size=4 [16:05:04]MH_SAM_APDU [16:05:04]CAPDU: 80 13 01 00 [16:05:04]Write to MH i2c: E2 08 00 D9 0D 80 13 01 00 00 00 00 00 63 [16:05:04]Write i2c OK [16:05:04]MH_I2C_Read... [16:05:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:04]Read from MH i2c: E2 [16:05:04]MH_I2C_Read... [16:05:04]Read from MH i2c: E2 0E 00 [16:05:04]MH_I2C_Read... [16:05:04]Read from MH i2c: E2 0E 00 D9 0D 00 09 00 01 86 79 90 66 00 00 00 00 90 00 64 [16:05:04]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:05:04]wFMCommunicate OK [16:05:04]SAM_PROTO_GetShiftState done [16:05:04]FM_GetShiftState done [16:05:04]opened in 1720744326 [16:05:04]opened+sec_in_day 1720830726 [16:05:04]quantity*price = 50056 [16:05:04]sum+1 = 50058 [16:05:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 69 12.07.2024 16:05 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56801 ФПД: 165556880157178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160506&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56801&fm=165556880157178&tin=02508201610067®Number=0000000000091208&sum=50000 [16:05:05]StoreToDocumentArchive [16:05:05]shift 494 fd 56801 [16:05:05]save to /storage/0494/doc_00056801 [16:05:05]save last doc name /storage/0494/doc_00056801 to /storage/kkm_last_doc_name [16:05:05]save OK [16:05:05]Clear old archive folders... [16:05:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:05:05]tlvbuf is 01AD2100 [16:05:05]SAM_PROTO_ClearQueue [16:05:05]wFMCommunicate request_size=4 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 09 00 00 [16:05:05]Write to MH i2c: E2 08 00 E6 0D 80 09 00 00 00 00 00 00 65 [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 E6 0D 00 90 00 67 [16:05:05]RAPDU: 90 00 [16:05:05]wFMCommunicate OK [16:05:05]SAM_PROTO_ClearQueue done [16:05:05]KKMCreateOFDPacket [16:05:05]OFDProtocolAddRootSTLVToBuf [16:05:05]FM_MakeSignedData [16:05:05]FM_MakeSignedData [16:05:05]SAM_PROTO_SignData [16:05:05]wFMCommunicate request_size=4 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 0D 01 02 [16:05:05]Write to MH i2c: E2 08 00 E7 0D 80 0D 01 02 00 00 00 00 6D [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 E7 0D 00 90 00 68 [16:05:05]RAPDU: 90 00 [16:05:05]wFMCommunicate OK [16:05:05]wFMCommunicate request_size=255 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DD 00 00 35 04 06 00 96 [16:05:05]Write to MH i2c: E2 02 01 E8 0D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DD 00 00 35 04 06 00 96 00 00 1E [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 E8 0D 00 90 00 69 [16:05:05]RAPDU: 90 00 [16:05:05]wFMCommunicate OK [16:05:05]wFMCommunicate request_size=10 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 0D 02 02 05 92 B7 08 29 FA [16:05:05]Write to MH i2c: E2 0D 00 E9 0D 80 0D 02 02 05 00 92 B7 08 29 FA 00 00 EE [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 03 00 E9 0D 00 90 00 6A [16:05:05]RAPDU: 90 00 [16:05:05]wFMCommunicate OK [16:05:05]wFMCommunicate request_size=4 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 0D 03 02 [16:05:05]Write to MH i2c: E2 08 00 EA 0D 80 0D 03 02 00 00 00 00 72 [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 0B 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 0B 00 EA 0D 00 DA 45 BF 84 A6 CD AC F4 90 00 E8 [16:05:05]RAPDU: DA 45 BF 84 A6 CD AC F4 90 00 [16:05:05]wFMCommunicate OK [16:05:05]SAM_PROTO_SignData done [16:05:05]FM_MakeSignedData done [16:05:05]CreateOFDProtocolMessage [16:05:05]wFMCommunicate request_size=4 [16:05:05]MH_SAM_APDU [16:05:05]CAPDU: 80 11 00 00 [16:05:05]Write to MH i2c: E2 08 00 EB 0D 80 11 00 00 00 00 00 00 72 [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:05]Read from MH i2c: E2 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 17 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: E2 17 00 EB 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CC [16:05:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:05:05]wFMCommunicate OK [16:05:05]CreateOFDProtocolMessage done [16:05:05]OFDSenderStorePacket 56801 [16:05:05]StoreOFDPacket docnum=56801 [16:05:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 6E 7E 07 01 7A 73 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DD 00 00 35 04 06 00 96 92 B7 08 29 FA DA 45 BF 84 A6 CD AC F4 [16:05:05]CheckFolder [16:05:05]dirname=/storage/ofd_packets [16:05:05]CheckFolder done [16:05:05]ProducePacketName [16:05:05]name=ofd_packets/00056801 [16:05:05]NVStorageSaveData ofd_packets/00056801 [16:05:05]File name is /storage/ofd_packets/00056801 [16:05:05]Write 301 bytes [16:05:05]NVStorageSaveData done [16:05:05]OFDSenderStorePacket done [16:05:05]KKMCreateOFDPacket done [16:05:05]NVStorageSaveData kkm_last_timestamp [16:05:05]File name is /storage/kkm_last_timestamp [16:05:05]Write 4 bytes [16:05:05]NVStorageSaveData done [16:05:05]ExternCall_PrintAddStr [16:05:05]wPrintStart [16:05:05]Write to MH i2c: 01 00 00 EC 0D F9 [16:05:05]Write i2c OK [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: 01 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: 01 07 00 [16:05:05]MH_I2C_Read... [16:05:05]Read from MH i2c: 01 07 00 EC 0D 00 00 00 00 00 FF 0F 0E [16:05:05]RasterBufferAndPrint [16:05:05]line Счет N : (1)854274 [16:05:05]line ИНН: 02508201610067 [16:05:05]line Контрольно-Кассовый Чек [16:05:05]line ПРОДАЖА [16:05:05]line ТРК (МРК, ГНК) : 33 [16:05:05]line Товар: 2710124130 [16:05:05]line Аи-92-К-5 [16:05:05]line 7.550 * 66.30 [16:05:05]line = 500.57 [16:05:05]line НДС 12% НСП 1% [16:05:05]line > о реализуемом товаре [16:05:05]line ОКРУГЛЕНИЕ: -0.57 [16:05:05]line ИТОГО: 500.00 [16:05:05]line Внесено: 500.00 [16:05:05]line СДАЧА: 0.00 [16:05:05]line НСП 1% : 4.43 [16:05:05]line НДС 12% : 53.16 [16:05:05]line Наличными: 500.00 [16:05:05]line Безнал.: 0.00 [16:05:05]line Место: АЗС № 132 "Партнер Нефть" [16:05:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:05:05]line СНО: Общий режим [16:05:05]line Чек 69 12.07.2024 16:05 [16:05:05]line Смена: 494 ФФД: 1.0 [16:05:05]line ЗНМ: 0300000132 [16:05:05]line РНМ: 0000000000091208 [16:05:05]line Версия ККМ: 001 [16:05:05]line ФМ: 0000000000874857 [16:05:05]line ФД: 56801 [16:05:05]line ФПД: 165556880157178 [16:05:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160506&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56801&fm=165556880157178&tin=02508201610067®Number=0000000000091208&sum=50000 [16:05:06]written 0, free lines is 4095 [16:05:06]OFD Sender: Processing packet 56801 [packets to send 38, broken 37] [16:05:06]ProducePacketName [16:05:06]name=ofd_packets/00056801 [16:05:06]OFD Sender: To server: pG, [16:05:06]CommunicateWithHost lk.salyk.kg:30040 [16:05:06]ConnectInit lk.salyk.kg [16:05:06]Connected sock=10 [16:05:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 6E 7E 07 01 7A 73 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 7E 1D 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 89 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DD 00 00 35 04 06 00 96 92 B7 08 29 FA DA 45 BF 84 A6 CD AC F4 [16:05:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D4 F7 47 00 CD 15 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 38 35 37 10 04 04 00 E1 DD 00 00 F4 03 04 00 89 FA 90 66 B6 04 01 00 00 AD 94 FF 3C 78 2C 41 23 [16:05:06]CommunicateWithHost err = 0 [16:05:06]CheckOFDResponse [16:05:06]1017 (14) - 77093643461234 [16:05:06]1041 (16) - 0000000000874857 [16:05:06]1040 (4) - 56801 [16:05:06]1012 (4) - 12.07.2024 09:42 [16:05:06]1206 (1) - 0 [16:05:06]OFD Sender: Remove packet 56801 [16:05:06]ProducePacketName [16:05:06]name=ofd_packets/00056801 [16:05:06]NVStorageDeleteData [16:05:06]Write to MH i2c: 01 00 00 17 0E 25 [16:05:06]Write i2c OK [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: 01 [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: 01 07 00 [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: 01 07 00 17 0E 00 00 00 00 00 DC 0C 14 [16:05:06]RasterBufferAndPrint [16:05:06]line [16:05:06]line [16:05:06]line [16:05:06]line [16:05:06]line [16:05:06]written 0, free lines is 3298 [16:05:06]MH_Cut [16:05:06]Write to MH i2c: D1 01 00 1E 0E 01 FE [16:05:06]Write i2c OK [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: D1 [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: D1 01 00 [16:05:06]MH_I2C_Read... [16:05:06]Read from MH i2c: D1 01 00 1E 0E 00 FD [16:05:06]Write to MH i2c: 01 00 00 1F 0E 2D [16:05:06]Write i2c OK [16:05:06]MH_I2C_Read... [16:05:07]OFD Sender: No OFD packet to send [16:05:07]*** Cut start [16:05:07]*** Partial cut [16:05:07]*** CUTSNS_PIN = 1 [16:05:07]*** CUTSNS_PIN = 0 [16:05:07]*** Brake cut motor [16:05:07]Read from MH i2c: 01 [16:05:07]MH_I2C_Read... [16:05:07]*** Stop cut motor [16:05:07]*** Cut end [16:05:07]Read from MH i2c: 01 07 00 [16:05:07]MH_I2C_Read... [16:05:07]Read from MH i2c: 01 07 00 1F 0E 00 00 00 00 00 FF 0F 42 [16:05:07]process_action close_receipt done [16:05:07]requested_data is exist [16:05:07]produce_requested_data [16:05:07]requested_item fm.sn is exist - process it [16:05:07]wFMCommunicate request_size=4 [16:05:07]MH_SAM_APDU [16:05:07]CAPDU: 80 11 00 00 [16:05:07]Write to MH i2c: E2 08 00 20 0E 80 11 00 00 00 00 00 00 A8 [16:05:07]Write i2c OK [16:05:07]MH_I2C_Read... [16:05:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:08]Read from MH i2c: E2 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 17 00 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 17 00 20 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 02 [16:05:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:05:08]wFMCommunicate OK [16:05:08]requested_item fd.num is exist - process it [16:05:08]SAM_PROTO_GetFieldsCounters [16:05:08]wFMCommunicate request_size=4 [16:05:08]MH_SAM_APDU [16:05:08]CAPDU: 80 13 00 00 [16:05:08]Write to MH i2c: E2 08 00 21 0E 80 13 00 00 00 00 00 00 AB [16:05:08]Write i2c OK [16:05:08]MH_I2C_Read... [16:05:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:05:08]Read from MH i2c: E2 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 62 00 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 62 00 21 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E1 DD 00 00 0E 04 04 00 EE 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 4A [16:05:08]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E1 DD 00 00 0E 04 04 00 EE 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 [16:05:08]wFMCommunicate OK [16:05:08]SAM_PROTO_GetFieldsCounters done [16:05:08]requested_item shift.num is exist - process it [16:05:08]requested_item shift.opened is exist - process it [16:05:08]req_shift_opened [16:05:08]FM_GetShiftState [16:05:08]SAM_PROTO_GetShiftState [16:05:08]wFMCommunicate request_size=4 [16:05:08]MH_SAM_APDU [16:05:08]CAPDU: 80 13 01 00 [16:05:08]Write to MH i2c: E2 08 00 22 0E 80 13 01 00 00 00 00 00 AD [16:05:08]Write i2c OK [16:05:08]MH_I2C_Read... [16:05:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:08]Read from MH i2c: E2 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 0E 00 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 0E 00 22 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 AE [16:05:08]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:05:08]wFMCommunicate OK [16:05:08]SAM_PROTO_GetShiftState done [16:05:08]FM_GetShiftState done [16:05:08]req_shift_opened done [16:05:08]requested_item shift.open_date is exist - process it [16:05:08]req_shift_open_date [16:05:08]req_shift_open_date done [16:05:08]requested_item shift.sale.total is exist - process it [16:05:08]SAM_PROTO_GetShiftData [16:05:08]wFMCommunicate request_size=4 [16:05:08]MH_SAM_APDU [16:05:08]CAPDU: 80 13 02 00 [16:05:08]Write to MH i2c: E2 08 00 23 0E 80 13 02 00 00 00 00 00 AF [16:05:08]Write i2c OK [16:05:08]MH_I2C_Read... [16:05:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:05:08]Read from MH i2c: E2 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 FD 00 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 FD 00 23 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 6C 70 1D 70 04 03 00 80 E6 16 72 04 03 00 EC 89 06 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 6F 20 03 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 AE 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 28 [16:05:08]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 6C 70 1D 70 04 03 00 80 E6 16 72 04 03 00 EC 89 06 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 6F 20 03 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 AE 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [16:05:08]wFMCommunicate OK [16:05:08]wFMCommunicate request_size=4 [16:05:08]MH_SAM_APDU [16:05:08]CAPDU: 80 17 00 00 [16:05:08]Write to MH i2c: E2 08 00 24 0E 80 17 00 00 00 00 00 00 B2 [16:05:08]Write i2c OK [16:05:08]MH_I2C_Read... [16:05:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:05:08]Read from MH i2c: E2 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 FD 00 [16:05:08]MH_I2C_Read... [16:05:08]Read from MH i2c: E2 FD 00 24 0E 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F1 [16:05:08]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:05:08]wFMCommunicate OK [16:05:08]wFMCommunicate request_size=4 [16:05:08]MH_SAM_APDU [16:05:08]CAPDU: 80 17 00 00 [16:05:08]Write to MH i2c: E2 08 00 25 0E 80 17 00 00 00 00 00 00 B3 [16:05:08]Write i2c OK [16:05:08]MH_I2C_Read... [16:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:05:09]Read from MH i2c: E2 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 FD 00 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 FD 00 25 0E 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [16:05:09]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:05:09]wFMCommunicate OK [16:05:09]wFMCommunicate request_size=4 [16:05:09]MH_SAM_APDU [16:05:09]CAPDU: 80 17 00 00 [16:05:09]Write to MH i2c: E2 08 00 26 0E 80 17 00 00 00 00 00 00 B4 [16:05:09]Write i2c OK [16:05:09]MH_I2C_Read... [16:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:05:09]Read from MH i2c: E2 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 FD 00 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 FD 00 26 0E 00 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 90 00 23 [16:05:09]RAPDU: 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 90 00 [16:05:09]wFMCommunicate OK [16:05:09]wFMCommunicate request_size=4 [16:05:09]MH_SAM_APDU [16:05:09]CAPDU: 80 17 00 00 [16:05:09]Write to MH i2c: E2 08 00 27 0E 80 17 00 00 00 00 00 00 B5 [16:05:09]Write i2c OK [16:05:09]MH_I2C_Read... [16:05:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:05:09]Read from MH i2c: E2 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 D3 00 [16:05:09]MH_I2C_Read... [16:05:09]Read from MH i2c: E2 D3 00 27 0E 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 [16:05:09]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:05:09]wFMCommunicate OK [16:05:09]SAM_PROTO_GetShiftData done [16:05:09]requested_item shift.sale.total_cash is exist - process it [16:05:09]requested_item shift.sale_refund.total is exist - process it [16:05:09]requested_item shift.sale_refund.total_cash is exist - process it [16:05:09]produce_requested_data done [16:05:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56801,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19293.24,"shift.sale.total_cash":15008.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [16:05:09]process_action_free close_receipt [16:05:09]json_value_free [16:05:09]json_value_free done [16:05:09]process_json_proto returns [16:05:09]Send response to host [16:05:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56801,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19293.24,"shift.sale.total_cash":15008.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [16:05:09]free response buf [16:05:09]execute_script done [16:05:09]execute_script returns [16:05:09]free content buf [16:05:09]Sock 7.Close socket [16:05:09]Sock 7.Thread stoped [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:50]accept exits with 9 [16:06:50]New connection [16:06:50]New thread 3066637668 created [16:06:50]Thread 3066781028 joined [16:06:50]Waiting for new connection... [16:06:50] Sock 9.Parse request [16:06:50]Sock 9.Check first char [16:06:50]Sock 9.First char is OK [16:06:50]request: POST /json_proto HTTP/1.0 [16:06:50]Method: POST [16:06:50]URL: /json_proto [16:06:50]Method is POST - this is cgi request [16:06:50]url: /json_proto [16:06:50]query_string will be loaded in cgi processing [16:06:50]execute_cgi json_proto POST (null) [16:06:50]execute_cgi path=json_proto method=POST [16:06:50]POST find Content-Length [16:06:50]Host: 172.17.39.4:8080 [16:06:50]Content-Length: 762 [16:06:50]Content-Type: application/json [16:06:50] [16:06:50]POST finish read [16:06:50]Found Content-Length = 762 [16:06:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129292", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:06:50]execute_script... [16:06: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)129292", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:06:50]POST & json_proto [16:06:50]process_json_proto [16:06:50]json parsed OK: [16:06:50]protocol is kg_v1.0 [16:06:50]action value=close_receipt [16:06:50]process_action close_receipt [16:06:50]cmd_close_receipt [16:06:50]MH_GetDate [16:06:50]Write to MH i2c: F0 00 00 28 0E 25 [16:06:50]Write i2c OK [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 09 00 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 09 00 28 0E 00 9D 54 91 66 2D 25 5D 64 29 [16:06:50]GetLastDocTimeStamp 1720800306 [16:06:50]current date 1720800413 [16:06:50]FM_GetShiftState [16:06:50]SAM_PROTO_GetShiftState [16:06:50]wFMCommunicate request_size=4 [16:06:50]MH_SAM_APDU [16:06:50]CAPDU: 80 13 01 00 [16:06:50]Write to MH i2c: E2 08 00 29 0E 80 13 01 00 00 00 00 00 B4 [16:06:50]Write i2c OK [16:06:50]MH_I2C_Read... [16:06:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:50]Read from MH i2c: E2 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: E2 0E 00 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: E2 0E 00 29 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 B5 [16:06:50]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:06:50]wFMCommunicate OK [16:06:50]SAM_PROTO_GetShiftState done [16:06:50]FM_GetShiftState done [16:06:50]opened in 1720744326 [16:06:50]opened+sec_in_day 1720830726 [16:06:50]quantity*price = 4900 [16:06:50]sum+1 = 4901 [16:06:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 70 12.07.2024 16:06 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56802 ФПД: 12603824928871 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160653&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56802&fm=12603824928871&tin=02508201610067®Number=0000000000091208&sum=4900 0 [16:06:51]StoreToDocumentArchive [16:06:51]shift 494 fd 56802 [16:06:51]save to /storage/0494/doc_00056802 [16:06:51]save last doc name /storage/0494/doc_00056802 to /storage/kkm_last_doc_name [16:06:51]save OK [16:06:51]Clear old archive folders... [16:06:51]ProcessDocumentItem done err = 0, tmpTLVsize=277 [16:06:51]tlvbuf is 01A90840 [16:06:51]SAM_PROTO_ClearQueue [16:06:51]wFMCommunicate request_size=4 [16:06:51]MH_SAM_APDU [16:06:51]CAPDU: 80 09 00 00 [16:06:51]Write to MH i2c: E2 08 00 36 0E 80 09 00 00 00 00 00 00 B6 [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:06:51]Read from MH i2c: E2 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 36 0E 00 90 00 B8 [16:06:51]RAPDU: 90 00 [16:06:51]wFMCommunicate OK [16:06:51]SAM_PROTO_ClearQueue done [16:06:51]KKMCreateOFDPacket [16:06:51]OFDProtocolAddRootSTLVToBuf [16:06:51]FM_MakeSignedData [16:06:51]FM_MakeSignedData [16:06:51]SAM_PROTO_SignData [16:06:51]wFMCommunicate request_size=4 [16:06:51]MH_SAM_APDU [16:06:51]CAPDU: 80 0D 01 02 [16:06:51]Write to MH i2c: E2 08 00 37 0E 80 0D 01 02 00 00 00 00 BE [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:06:51]Read from MH i2c: E2 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 37 0E 00 90 00 B9 [16:06:51]RAPDU: 90 00 [16:06:51]wFMCommunicate OK [16:06:51]wFMCommunicate request_size=255 [16:06:51]MH_SAM_APDU [16:06:51]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 46 00 00 00 F4 03 04 00 9D 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 [16:06:51]Write to MH i2c: E2 02 01 38 0E 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 46 00 00 00 F4 03 04 00 9D 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 00 00 C5 [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:52]OFD Sender: No OFD packet to send [16:06:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 38 0E 00 90 00 BA [16:06:52]RAPDU: 90 00 [16:06:52]wFMCommunicate OK [16:06:52]wFMCommunicate request_size=36 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DD 00 00 35 04 06 00 0B 76 8E 81 F8 67 [16:06:52]Write to MH i2c: E2 27 00 39 0E 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DD 00 00 35 04 06 00 0B 76 8E 81 F8 67 00 00 9B [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 39 0E 00 90 00 BB [16:06:52]RAPDU: 90 00 [16:06:52]wFMCommunicate OK [16:06:52]wFMCommunicate request_size=4 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 0D 03 02 [16:06:52]Write to MH i2c: E2 08 00 3A 0E 80 0D 03 02 00 00 00 00 C3 [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 0B 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 0B 00 3A 0E 00 9E 2A A3 63 10 68 F1 A1 90 00 9C [16:06:52]RAPDU: 9E 2A A3 63 10 68 F1 A1 90 00 [16:06:52]wFMCommunicate OK [16:06:52]SAM_PROTO_SignData done [16:06:52]FM_MakeSignedData done [16:06:52]CreateOFDProtocolMessage [16:06:52]wFMCommunicate request_size=4 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 11 00 00 [16:06:52]Write to MH i2c: E2 08 00 3B 0E 80 11 00 00 00 00 00 00 C3 [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 17 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 17 00 3B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1D [16:06:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:06:52]wFMCommunicate OK [16:06:52]CreateOFDProtocolMessage done [16:06:52]OFDSenderStorePacket 56802 [16:06:52]StoreOFDPacket docnum=56802 [16:06:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 29 01 00 00 97 57 21 01 F5 2E 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 46 00 00 00 F4 03 04 00 9D 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DD 00 00 35 04 06 00 0B 76 8E 81 F8 67 9E 2A A3 63 10 68 F1 A1 [16:06:52]CheckFolder [16:06:52]dirname=/storage/ofd_packets [16:06:52]CheckFolder done [16:06:52]ProducePacketName [16:06:52]name=ofd_packets/00056802 [16:06:52]NVStorageSaveData ofd_packets/00056802 [16:06:52]File name is /storage/ofd_packets/00056802 [16:06:52]Write 327 bytes [16:06:52]NVStorageSaveData done [16:06:52]OFDSenderStorePacket done [16:06:52]KKMCreateOFDPacket done [16:06:52]NVStorageSaveData kkm_last_timestamp [16:06:52]File name is /storage/kkm_last_timestamp [16:06:52]Write 4 bytes [16:06:52]NVStorageSaveData done [16:06:52]ExternCall_PrintAddStr [16:06:52]wPrintStart [16:06:52]Write to MH i2c: 01 00 00 3C 0E 4A [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 07 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 07 00 3C 0E 00 00 00 00 00 FF 0F 5F [16:06:52]RasterBufferAndPrint [16:06:52]line Счет N : (3)129292 [16:06:52]line ИНН: 02508201610067 [16:06:52]line Контрольно-Кассовый Чек [16:06:52]line ПРОДАЖА [16:06:52]line Товар: 4700026030017 [16:06:52]line Курут классический [16:06:52]line 1.000 * 49.00 [16:06:52]line = 49.00 [16:06:52]line НДС 12% НСП 1% [16:06:52]line > о реализуемом товаре [16:06:52]line ИТОГО: 49.00 [16:06:52]line НСП 1% : 0.43 [16:06:52]line НДС 12% : 5.20 [16:06:52]line Наличными: 49.00 [16:06:52]line Безнал.: 0.00 [16:06:52]line Место: АЗС № 132 "Партнер Нефть" [16:06:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:06:52]line СНО: Общий режим [16:06:52]line Чек 70 12.07.2024 16:06 [16:06:52]line Смена: 494 ФФД: 1.0 [16:06:52]line ЗНМ: 0300000132 [16:06:52]line РНМ: 0000000000091208 [16:06:52]line Версия ККМ: 001 [16:06:52]line ФМ: 0000000000874857 [16:06:52]line ФД: 56802 [16:06:52]line ФПД: 12603824928871 [16:06:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T160653&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56802&fm=12603824928871&tin=02508201610067®Number=0000000000091208&sum=4900 [16:06:52]line 0 [16:06:52]OFD Sender: Processing packet 56802 [packets to send 38, broken 37] [16:06:52]ProducePacketName [16:06:52]name=ofd_packets/00056802 [16:06:52]OFD Sender: To server: pG, [16:06:52]CommunicateWithHost lk.salyk.kg:30040 [16:06:52]ConnectInit lk.salyk.kg [16:06:52]written 0, free lines is 4095 [16:06:52]Connected sock=10 [16:06:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 29 01 00 00 97 57 21 01 F5 2E 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 46 00 00 00 F4 03 04 00 9D 54 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DD 00 00 35 04 06 00 0B 76 8E 81 F8 67 9E 2A A3 63 10 68 F1 A1 [16:06:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 53 89 47 00 C9 DA 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 38 35 37 10 04 04 00 E2 DD 00 00 F4 03 04 00 F4 FA 90 66 B6 04 01 00 00 7C 78 9A 40 C9 03 9C AD [16:06:53]CommunicateWithHost err = 0 [16:06:53]CheckOFDResponse [16:06:53]1017 (14) - 77093643461234 [16:06:53]1041 (16) - 0000000000874857 [16:06:53]1040 (4) - 56802 [16:06:53]1012 (4) - 12.07.2024 09:44 [16:06:53]1206 (1) - 0 [16:06:53]OFD Sender: Remove packet 56802 [16:06:53]ProducePacketName [16:06:53]name=ofd_packets/00056802 [16:06:53]NVStorageDeleteData [16:06:53]Write to MH i2c: 01 00 00 64 0E 72 [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 07 00 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 07 00 64 0E 00 00 00 00 00 09 0D 8F [16:06:53]RasterBufferAndPrint [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]written 0, free lines is 3343 [16:06:53]MH_Cut [16:06:53]Write to MH i2c: D1 01 00 6B 0E 01 4B [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 01 00 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 01 00 6B 0E 00 4A [16:06:53]Write to MH i2c: 01 00 00 6C 0E 7A [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]OFD Sender: No OFD packet to send [16:06:53]*** Cut start [16:06:53]*** Partial cut [16:06:53]*** CUTSNS_PIN = 1 [16:06:53]*** CUTSNS_PIN = 0 [16:06:54]*** Brake cut motor [16:06:54]Read from MH i2c: 01 [16:06:54]MH_I2C_Read... [16:06:54]*** Stop cut motor [16:06:54]*** Cut end [16:06:54]Read from MH i2c: 01 07 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: 01 07 00 6C 0E 00 00 00 00 00 FF 0F 8F [16:06:54]process_action close_receipt done [16:06:54]requested_data is exist [16:06:54]produce_requested_data [16:06:54]requested_item fm.sn is exist - process it [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 11 00 00 [16:06:54]Write to MH i2c: E2 08 00 6D 0E 80 11 00 00 00 00 00 00 F5 [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:54]Read from MH i2c: E2 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 17 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 17 00 6D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [16:06:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:06:54]wFMCommunicate OK [16:06:54]requested_item fd.num is exist - process it [16:06:54]SAM_PROTO_GetFieldsCounters [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 13 00 00 [16:06:54]Write to MH i2c: E2 08 00 6E 0E 80 13 00 00 00 00 00 00 F8 [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:06:54]Read from MH i2c: E2 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 62 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 62 00 6E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E2 DD 00 00 0E 04 04 00 EE 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 9B [16:06: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E2 DD 00 00 0E 04 04 00 EE 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 [16:06:54]wFMCommunicate OK [16:06:54]SAM_PROTO_GetFieldsCounters done [16:06:54]requested_item shift.num is exist - process it [16:06:54]requested_item shift.opened is exist - process it [16:06:54]req_shift_opened [16:06:54]FM_GetShiftState [16:06:54]SAM_PROTO_GetShiftState [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 13 01 00 [16:06:54]Write to MH i2c: E2 08 00 6F 0E 80 13 01 00 00 00 00 00 FA [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:54]Read from MH i2c: E2 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 0E 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 0E 00 6F 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 FB [16:06:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:06:54]wFMCommunicate OK [16:06:54]SAM_PROTO_GetShiftState done [16:06:54]FM_GetShiftState done [16:06:54]req_shift_opened done [16:06:54]requested_item shift.open_date is exist - process it [16:06:54]req_shift_open_date [16:06:54]req_shift_open_date done [16:06:54]requested_item shift.sale.total is exist - process it [16:06:54]SAM_PROTO_GetShiftData [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 13 02 00 [16:06:54]Write to MH i2c: E2 08 00 70 0E 80 13 02 00 00 00 00 00 FC [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:06:55]Read from MH i2c: E2 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 70 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 90 83 1D 70 04 03 00 A4 F9 16 72 04 03 00 EC 89 06 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 77 22 03 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 D9 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 1A [16:06:55]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 90 83 1D 70 04 03 00 A4 F9 16 72 04 03 00 EC 89 06 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 77 22 03 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 D9 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [16:06:55]wFMCommunicate OK [16:06:55]wFMCommunicate request_size=4 [16:06:55]MH_SAM_APDU [16:06:55]CAPDU: 80 17 00 00 [16:06:55]Write to MH i2c: E2 08 00 71 0E 80 17 00 00 00 00 00 00 FF [16:06:55]Write i2c OK [16:06:55]MH_I2C_Read... [16:06:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:55]Read from MH i2c: E2 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 71 0E 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [16:06:55]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:06:55]wFMCommunicate OK [16:06:55]wFMCommunicate request_size=4 [16:06:55]MH_SAM_APDU [16:06:55]CAPDU: 80 17 00 00 [16:06:55]Write to MH i2c: E2 08 00 72 0E 80 17 00 00 00 00 00 00 00 [16:06:55]Write i2c OK [16:06:55]MH_I2C_Read... [16:06:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:55]Read from MH i2c: E2 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 FD 00 72 0E 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [16:06:55]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:06:55]wFMCommunicate OK [16:06:55]wFMCommunicate request_size=4 [16:06:55]MH_SAM_APDU [16:06:55]CAPDU: 80 17 00 00 [16:06:55]Write to MH i2c: E2 08 00 73 0E 80 17 00 00 00 00 00 00 01 [16:06:55]Write i2c OK [16:06:55]MH_I2C_Read... [16:06:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:06:56]Read from MH i2c: E2 [16:06:56]MH_I2C_Read... [16:06:56]Read from MH i2c: E2 FD 00 [16:06:56]MH_I2C_Read... [16:06:56]Read from MH i2c: E2 FD 00 73 0E 00 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 90 00 70 [16:06:56]RAPDU: 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 90 00 [16:06:56]wFMCommunicate OK [16:06:56]wFMCommunicate request_size=4 [16:06:56]MH_SAM_APDU [16:06:56]CAPDU: 80 17 00 00 [16:06:56]Write to MH i2c: E2 08 00 74 0E 80 17 00 00 00 00 00 00 02 [16:06:56]Write i2c OK [16:06:56]MH_I2C_Read... [16:06:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:06:56]Read from MH i2c: E2 [16:06:56]MH_I2C_Read... [16:06:56]Read from MH i2c: E2 D3 00 [16:06:56]MH_I2C_Read... [16:06:56]Read from MH i2c: E2 D3 00 74 0E 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EF [16:06:56]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:06:56]wFMCommunicate OK [16:06:56]SAM_PROTO_GetShiftData done [16:06:56]requested_item shift.sale.total_cash is exist - process it [16:06:56]requested_item shift.sale_refund.total is exist - process it [16:06:56]requested_item shift.sale_refund.total_cash is exist - process it [16:06:56]produce_requested_data done [16:06:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56802,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19342.24,"shift.sale.total_cash":15057.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [16:06:56]process_action_free close_receipt [16:06:56]json_value_free [16:06:56]json_value_free done [16:06:56]process_json_proto returns [16:06:56]Send response to host [16:06:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56802,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19342.24,"shift.sale.total_cash":15057.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [16:06:56]free response buf [16:06:56]execute_script done [16:06:56]execute_script returns [16:06:56]free content buf [16:06:56]Sock 9.Close socket [16:06:56]Sock 9.Thread stoped [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:50]accept exits with 7 [16:11:50]New connection [16:11:50]New thread 3066781028 created [16:11:50]Thread 3066637668 joined [16:11:50]Waiting for new connection... [16:11:50] Sock 7.Parse request [16:11:50]Sock 7.Check first char [16:11:50]Sock 7.First char is OK [16:11:50]request: POST /json_proto HTTP/1.0 [16:11:50]Method: POST [16:11:50]URL: /json_proto [16:11:50]Method is POST - this is cgi request [16:11:50]url: /json_proto [16:11:50]query_string will be loaded in cgi processing [16:11:50]execute_cgi json_proto POST (null) [16:11:50]execute_cgi path=json_proto method=POST [16:11:50]POST find Content-Length [16:11:50]Host: 172.17.39.4:8080 [16:11:50]Content-Length: 763 [16:11:50]Content-Type: application/json [16:11:50] [16:11:50]POST finish read [16:11:50]Found Content-Length = 763 [16:11:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129293", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:11:50]execute_script... [16:11: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)129293", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:11:50]POST & json_proto [16:11:50]process_json_proto [16:11:50]json parsed OK: [16:11:50]protocol is kg_v1.0 [16:11:50]action value=close_receipt [16:11:50]process_action close_receipt [16:11:50]cmd_close_receipt [16:11:50]MH_GetDate [16:11:50]Write to MH i2c: F0 00 00 75 0E 72 [16:11:50]Write i2c OK [16:11:50]MH_I2C_Read... [16:11:50]Read from MH i2c: F0 [16:11:50]MH_I2C_Read... [16:11:50]Read from MH i2c: F0 09 00 [16:11:50]MH_I2C_Read... [16:11:50]Read from MH i2c: F0 09 00 75 0E 00 C9 55 91 66 2D 25 5D 64 A3 [16:11:50]GetLastDocTimeStamp 1720800413 [16:11:50]current date 1720800713 [16:11:50]FM_GetShiftState [16:11:50]SAM_PROTO_GetShiftState [16:11:50]wFMCommunicate request_size=4 [16:11:50]MH_SAM_APDU [16:11:50]CAPDU: 80 13 01 00 [16:11:50]Write to MH i2c: E2 08 00 76 0E 80 13 01 00 00 00 00 00 01 [16:11:50]Write i2c OK [16:11:50]MH_I2C_Read... [16:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:11:50]Read from MH i2c: E2 [16:11:50]MH_I2C_Read... [16:11:50]Read from MH i2c: E2 0E 00 [16:11:50]MH_I2C_Read... [16:11:50]Read from MH i2c: E2 0E 00 76 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 02 [16:11:50]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:11:50]wFMCommunicate OK [16:11:50]SAM_PROTO_GetShiftState done [16:11:50]FM_GetShiftState done [16:11:50]opened in 1720744326 [16:11:50]opened+sec_in_day 1720830726 [16:11:50]quantity*price = 4000 [16:11:50]sum+1 = 4001 [16:11:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 71 12.07.2024 16:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56803 ФПД: 46277044124863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T161153&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56803&fm=46277044124863&tin=02508201610067®Number=0000000000091208&sum=4000 0 [16:11:51]StoreToDocumentArchive [16:11:51]shift 494 fd 56803 [16:11:51]save to /storage/0494/doc_00056803 [16:11:51]save last doc name /storage/0494/doc_00056803 to /storage/kkm_last_doc_name [16:11:51]save OK [16:11:51]Clear old archive folders... [16:11:51]ProcessDocumentItem done err = 0, tmpTLVsize=286 [16:11:51]tlvbuf is 01AF13A0 [16:11:51]SAM_PROTO_ClearQueue [16:11:51]wFMCommunicate request_size=4 [16:11:51]MH_SAM_APDU [16:11:51]CAPDU: 80 09 00 00 [16:11:51]Write to MH i2c: E2 08 00 83 0E 80 09 00 00 00 00 00 00 03 [16:11:51]Write i2c OK [16:11:51]MH_I2C_Read... [16:11:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:11:51]Read from MH i2c: E2 [16:11:51]MH_I2C_Read... [16:11:51]Read from MH i2c: E2 03 00 [16:11:51]MH_I2C_Read... [16:11:51]Read from MH i2c: E2 03 00 83 0E 00 90 00 05 [16:11:51]RAPDU: 90 00 [16:11:51]wFMCommunicate OK [16:11:51]SAM_PROTO_ClearQueue done [16:11:51]KKMCreateOFDPacket [16:11:51]OFDProtocolAddRootSTLVToBuf [16:11:51]FM_MakeSignedData [16:11:51]FM_MakeSignedData [16:11:51]SAM_PROTO_SignData [16:11:51]wFMCommunicate request_size=4 [16:11:51]MH_SAM_APDU [16:11:51]CAPDU: 80 0D 01 02 [16:11:51]Write to MH i2c: E2 08 00 84 0E 80 0D 01 02 00 00 00 00 0B [16:11:51]Write i2c OK [16:11:51]MH_I2C_Read... [16:11:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:11:51]Read from MH i2c: E2 [16:11:51]MH_I2C_Read... [16:11:51]Read from MH i2c: E2 03 00 [16:11:51]MH_I2C_Read... [16:11:51]Read from MH i2c: E2 03 00 84 0E 00 90 00 06 [16:11:51]RAPDU: 90 00 [16:11:51]wFMCommunicate OK [16:11:51]wFMCommunicate request_size=255 [16:11:51]MH_SAM_APDU [16:11:51]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 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 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 47 00 00 00 F4 03 04 00 C9 55 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 [16:11:51]Write to MH i2c: E2 02 01 85 0E 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 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 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 47 00 00 00 F4 03 04 00 C9 55 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 00 00 92 [16:11:51]Write i2c OK [16:11:51]MH_I2C_Read... [16:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:11:52]Read from MH i2c: E2 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 03 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 03 00 85 0E 00 90 00 07 [16:11:52]RAPDU: 90 00 [16:11:52]wFMCommunicate OK [16:11:52]wFMCommunicate request_size=45 [16:11:52]MH_SAM_APDU [16:11:52]CAPDU: 80 0D 02 02 28 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DD 00 00 35 04 06 00 2A 16 B6 C6 BC BF [16:11:52]Write to MH i2c: E2 30 00 86 0E 80 0D 02 02 28 00 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DD 00 00 35 04 06 00 2A 16 B6 C6 BC BF 00 00 60 [16:11:52]Write i2c OK [16:11:52]MH_I2C_Read... [16:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:11:52]Read from MH i2c: E2 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 03 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 03 00 86 0E 00 90 00 08 [16:11:52]RAPDU: 90 00 [16:11:52]wFMCommunicate OK [16:11:52]wFMCommunicate request_size=4 [16:11:52]MH_SAM_APDU [16:11:52]CAPDU: 80 0D 03 02 [16:11:52]Write to MH i2c: E2 08 00 87 0E 80 0D 03 02 00 00 00 00 10 [16:11:52]Write i2c OK [16:11:52]MH_I2C_Read... [16:11:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:11:52]Read from MH i2c: E2 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 0B 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 0B 00 87 0E 00 27 C6 EC 6A 3B 85 40 4C 90 00 A0 [16:11:52]RAPDU: 27 C6 EC 6A 3B 85 40 4C 90 00 [16:11:52]wFMCommunicate OK [16:11:52]SAM_PROTO_SignData done [16:11:52]FM_MakeSignedData done [16:11:52]CreateOFDProtocolMessage [16:11:52]wFMCommunicate request_size=4 [16:11:52]MH_SAM_APDU [16:11:52]CAPDU: 80 11 00 00 [16:11:52]Write to MH i2c: E2 08 00 88 0E 80 11 00 00 00 00 00 00 10 [16:11:52]Write i2c OK [16:11:52]MH_I2C_Read... [16:11:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:11:52]Read from MH i2c: E2 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 17 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: E2 17 00 88 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6A [16:11:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:11:52]wFMCommunicate OK [16:11:52]CreateOFDProtocolMessage done [16:11:52]OFDSenderStorePacket 56803 [16:11:52]StoreOFDPacket docnum=56803 [16:11:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 32 01 00 00 11 06 2A 01 05 E3 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 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 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 47 00 00 00 F4 03 04 00 C9 55 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DD 00 00 35 04 06 00 2A 16 B6 C6 BC BF 27 C6 EC 6A 3B 85 40 4C [16:11:52]CheckFolder [16:11:52]dirname=/storage/ofd_packets [16:11:52]CheckFolder done [16:11:52]ProducePacketName [16:11:52]name=ofd_packets/00056803 [16:11:52]NVStorageSaveData ofd_packets/00056803 [16:11:52]File name is /storage/ofd_packets/00056803 [16:11:52]Write 336 bytes [16:11:52]NVStorageSaveData done [16:11:52]OFDSenderStorePacket done [16:11:52]KKMCreateOFDPacket done [16:11:52]NVStorageSaveData kkm_last_timestamp [16:11:52]File name is /storage/kkm_last_timestamp [16:11:52]Write 4 bytes [16:11:52]NVStorageSaveData done [16:11:52]ExternCall_PrintAddStr [16:11:52]wPrintStart [16:11:52]Write to MH i2c: 01 00 00 89 0E 97 [16:11:52]Write i2c OK [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 07 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 07 00 89 0E 00 00 00 00 00 FF 0F AC [16:11:52]RasterBufferAndPrint [16:11:52]line Счет N : (3)129293 [16:11:52]line ИНН: 02508201610067 [16:11:52]line Контрольно-Кассовый Чек [16:11:52]line ПРОДАЖА [16:11:52]line Товар: 4700041420152 [16:11:52]line Салфетки влажн BEST GOLD 20шт [16:11:52]line 1.000 * 40.00 [16:11:52]line = 40.00 [16:11:52]line НДС 12% НСП 1% [16:11:52]line > о реализуемом товаре [16:11:52]line ИТОГО: 40.00 [16:11:52]line НСП 1% : 0.35 [16:11:52]line НДС 12% : 4.25 [16:11:52]line Наличными: 40.00 [16:11:52]line Безнал.: 0.00 [16:11:52]line Место: АЗС № 132 "Партнер Нефть" [16:11:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:11:52]line СНО: Общий режим [16:11:52]line Чек 71 12.07.2024 16:11 [16:11:52]line Смена: 494 ФФД: 1.0 [16:11:52]line ЗНМ: 0300000132 [16:11:52]line РНМ: 0000000000091208 [16:11:52]line Версия ККМ: 001 [16:11:52]line ФМ: 0000000000874857 [16:11:52]line ФД: 56803 [16:11:52]line ФПД: 46277044124863 [16:11:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T161153&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56803&fm=46277044124863&tin=02508201610067®Number=0000000000091208&sum=4000 [16:11:52]line 0 [16:11:52]OFD Sender: Processing packet 56803 [packets to send 38, broken 37] [16:11:52]ProducePacketName [16:11:52]name=ofd_packets/00056803 [16:11:52]OFD Sender: To server: pG, [16:11:52]CommunicateWithHost lk.salyk.kg:30040 [16:11:52]ConnectInit lk.salyk.kg [16:11:52]written 0, free lines is 4095 [16:11:52]Connected sock=10 [16:11:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 32 01 00 00 11 06 2A 01 05 E3 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 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 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 47 00 00 00 F4 03 04 00 C9 55 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DD 00 00 35 04 06 00 2A 16 B6 C6 BC BF 27 C6 EC 6A 3B 85 40 4C [16:11:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 CB F0 47 00 D1 D9 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 38 35 37 10 04 04 00 E3 DD 00 00 F4 03 04 00 20 FC 90 66 B6 04 01 00 00 92 CD C3 97 6D 47 68 AB [16:11:52]CommunicateWithHost err = 0 [16:11:52]CheckOFDResponse [16:11:52]1017 (14) - 77093643461234 [16:11:52]1041 (16) - 0000000000874857 [16:11:52]1040 (4) - 56803 [16:11:52]1012 (4) - 12.07.2024 09:49 [16:11:52]1206 (1) - 0 [16:11:52]OFD Sender: Remove packet 56803 [16:11:52]ProducePacketName [16:11:52]name=ofd_packets/00056803 [16:11:52]NVStorageDeleteData [16:11:52]Write to MH i2c: 01 00 00 B2 0E C0 [16:11:52]Write i2c OK [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 07 00 [16:11:52]MH_I2C_Read... [16:11:52]Read from MH i2c: 01 07 00 B2 0E 00 00 00 00 00 E2 0C B5 [16:11:52]RasterBufferAndPrint [16:11:52]line [16:11:52]line [16:11:52]line [16:11:52]line [16:11:52]line [16:11:52]written 0, free lines is 3307 [16:11:53]MH_Cut [16:11:53]Write to MH i2c: D1 01 00 B9 0E 01 99 [16:11:53]Write i2c OK [16:11:53]MH_I2C_Read... [16:11:53]Read from MH i2c: D1 [16:11:53]MH_I2C_Read... [16:11:53]Read from MH i2c: D1 01 00 [16:11:53]MH_I2C_Read... [16:11:53]Read from MH i2c: D1 01 00 B9 0E 00 98 [16:11:53]Write to MH i2c: 01 00 00 BA 0E C8 [16:11:53]Write i2c OK [16:11:53]MH_I2C_Read... [16:11:53]OFD Sender: No OFD packet to send [16:11:53]*** Cut start [16:11:53]*** Partial cut [16:11:53]*** CUTSNS_PIN = 1 [16:11:53]*** CUTSNS_PIN = 0 [16:11:53]*** Brake cut motor [16:11:54]Read from MH i2c: 01 [16:11:54]MH_I2C_Read... [16:11:54]*** Stop cut motor [16:11:54]*** Cut end [16:11:54]Read from MH i2c: 01 07 00 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: 01 07 00 BA 0E 00 00 00 00 00 FF 0F DD [16:11:54]process_action close_receipt done [16:11:54]requested_data is exist [16:11:54]produce_requested_data [16:11:54]requested_item fm.sn is exist - process it [16:11:54]wFMCommunicate request_size=4 [16:11:54]MH_SAM_APDU [16:11:54]CAPDU: 80 11 00 00 [16:11:54]Write to MH i2c: E2 08 00 BB 0E 80 11 00 00 00 00 00 00 43 [16:11:54]Write i2c OK [16:11:54]MH_I2C_Read... [16:11:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:11:54]Read from MH i2c: E2 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 17 00 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 17 00 BB 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9D [16:11:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:11:54]wFMCommunicate OK [16:11:54]requested_item fd.num is exist - process it [16:11:54]SAM_PROTO_GetFieldsCounters [16:11:54]wFMCommunicate request_size=4 [16:11:54]MH_SAM_APDU [16:11:54]CAPDU: 80 13 00 00 [16:11:54]Write to MH i2c: E2 08 00 BC 0E 80 13 00 00 00 00 00 00 46 [16:11:54]Write i2c OK [16:11:54]MH_I2C_Read... [16:11:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:11:54]Read from MH i2c: E2 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 62 00 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 62 00 BC 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E3 DD 00 00 0E 04 04 00 EE 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 ED [16:11: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E3 DD 00 00 0E 04 04 00 EE 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 [16:11:54]wFMCommunicate OK [16:11:54]SAM_PROTO_GetFieldsCounters done [16:11:54]requested_item shift.num is exist - process it [16:11:54]requested_item shift.opened is exist - process it [16:11:54]req_shift_opened [16:11:54]FM_GetShiftState [16:11:54]SAM_PROTO_GetShiftState [16:11:54]wFMCommunicate request_size=4 [16:11:54]MH_SAM_APDU [16:11:54]CAPDU: 80 13 01 00 [16:11:54]Write to MH i2c: E2 08 00 BD 0E 80 13 01 00 00 00 00 00 48 [16:11:54]Write i2c OK [16:11:54]MH_I2C_Read... [16:11:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:11:54]Read from MH i2c: E2 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 0E 00 [16:11:54]MH_I2C_Read... [16:11:54]Read from MH i2c: E2 0E 00 BD 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 49 [16:11:54]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:11:54]wFMCommunicate OK [16:11:54]SAM_PROTO_GetShiftState done [16:11:54]FM_GetShiftState done [16:11:54]req_shift_opened done [16:11:54]requested_item shift.open_date is exist - process it [16:11:54]req_shift_open_date [16:11:54]req_shift_open_date done [16:11:54]requested_item shift.sale.total is exist - process it [16:11:54]SAM_PROTO_GetShiftData [16:11:54]wFMCommunicate request_size=4 [16:11:54]MH_SAM_APDU [16:11:54]CAPDU: 80 13 02 00 [16:11:54]Write to MH i2c: E2 08 00 BE 0E 80 13 02 00 00 00 00 00 4A [16:11:54]Write i2c OK [16:11:54]MH_I2C_Read... [16:11:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:11:55]Read from MH i2c: E2 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 BE 0E 00 B6 04 AA 04 B2 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 30 93 1D 70 04 03 00 44 09 17 72 04 03 00 EC 89 06 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 20 24 03 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 FC 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 99 [16:11:55]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 30 93 1D 70 04 03 00 44 09 17 72 04 03 00 EC 89 06 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 20 24 03 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 FC 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [16:11:55]wFMCommunicate OK [16:11:55]wFMCommunicate request_size=4 [16:11:55]MH_SAM_APDU [16:11:55]CAPDU: 80 17 00 00 [16:11:55]Write to MH i2c: E2 08 00 BF 0E 80 17 00 00 00 00 00 00 4D [16:11:55]Write i2c OK [16:11:55]MH_I2C_Read... [16:11:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:11:55]Read from MH i2c: E2 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 BF 0E 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8C [16:11:55]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:11:55]wFMCommunicate OK [16:11:55]wFMCommunicate request_size=4 [16:11:55]MH_SAM_APDU [16:11:55]CAPDU: 80 17 00 00 [16:11:55]Write to MH i2c: E2 08 00 C0 0E 80 17 00 00 00 00 00 00 4E [16:11:55]Write i2c OK [16:11:55]MH_I2C_Read... [16:11:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:11:55]Read from MH i2c: E2 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 C0 0E 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [16:11:55]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:11:55]wFMCommunicate OK [16:11:55]wFMCommunicate request_size=4 [16:11:55]MH_SAM_APDU [16:11:55]CAPDU: 80 17 00 00 [16:11:55]Write to MH i2c: E2 08 00 C1 0E 80 17 00 00 00 00 00 00 4F [16:11:55]Write i2c OK [16:11:55]MH_I2C_Read... [16:11:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:11:55]Read from MH i2c: E2 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 [16:11:55]MH_I2C_Read... [16:11:55]Read from MH i2c: E2 FD 00 C1 0E 00 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 90 00 BE [16:11:55]RAPDU: 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 90 00 [16:11:55]wFMCommunicate OK [16:11:55]wFMCommunicate request_size=4 [16:11:55]MH_SAM_APDU [16:11:55]CAPDU: 80 17 00 00 [16:11:55]Write to MH i2c: E2 08 00 C2 0E 80 17 00 00 00 00 00 00 50 [16:11:55]Write i2c OK [16:11:55]MH_I2C_Read... [16:11:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:11:56]Read from MH i2c: E2 [16:11:56]MH_I2C_Read... [16:11:56]Read from MH i2c: E2 D3 00 [16:11:56]MH_I2C_Read... [16:11:56]Read from MH i2c: E2 D3 00 C2 0E 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3D [16:11:56]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:11:56]wFMCommunicate OK [16:11:56]SAM_PROTO_GetShiftData done [16:11:56]requested_item shift.sale.total_cash is exist - process it [16:11:56]requested_item shift.sale_refund.total is exist - process it [16:11:56]requested_item shift.sale_refund.total_cash is exist - process it [16:11:56]produce_requested_data done [16:11:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56803,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19382.24,"shift.sale.total_cash":15097.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [16:11:56]process_action_free close_receipt [16:11:56]json_value_free [16:11:56]json_value_free done [16:11:56]process_json_proto returns [16:11:56]Send response to host [16:11:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56803,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19382.24,"shift.sale.total_cash":15097.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [16:11:56]free response buf [16:11:56]execute_script done [16:11:56]execute_script returns [16:11:56]free content buf [16:11:56]Sock 7.Close socket [16:11:56]Sock 7.Thread stoped [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:08]accept exits with 9 [16:39:08]New connection [16:39:08]New thread 3066637668 created [16:39:08]Thread 3066781028 joined [16:39:08]Waiting for new connection... [16:39:08] Sock 9.Parse request [16:39:08]Sock 9.Check first char [16:39:08]Sock 9.First char is OK [16:39:08]request: POST /json_proto HTTP/1.0 [16:39:08]Method: POST [16:39:08]URL: /json_proto [16:39:08]Method is POST - this is cgi request [16:39:08]url: /json_proto [16:39:08]query_string will be loaded in cgi processing [16:39:08]execute_cgi json_proto POST (null) [16:39:08]execute_cgi path=json_proto method=POST [16:39:08]POST find Content-Length [16:39:08]Host: 172.17.39.4:8080 [16:39:08]Content-Length: 725 [16:39:08]Content-Type: application/json [16:39:08] [16:39:08]POST finish read [16:39:08]Found Content-Length = 725 [16:39:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129294", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:39:08]execute_script... [16:39: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)129294", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:39:08]POST & json_proto [16:39:08]process_json_proto [16:39:08]json parsed OK: [16:39:08]protocol is kg_v1.0 [16:39:08]action value=close_receipt [16:39:08]process_action close_receipt [16:39:08]cmd_close_receipt [16:39:08]MH_GetDate [16:39:08]Write to MH i2c: F0 00 00 C3 0E C0 [16:39:08]Write i2c OK [16:39:08]MH_I2C_Read... [16:39:08]Read from MH i2c: F0 [16:39:08]MH_I2C_Read... [16:39:08]Read from MH i2c: F0 09 00 [16:39:08]MH_I2C_Read... [16:39:08]Read from MH i2c: F0 09 00 C3 0E 00 2F 5C 91 66 2D 25 5D 64 5E [16:39:08]GetLastDocTimeStamp 1720800713 [16:39:08]current date 1720802351 [16:39:08]FM_GetShiftState [16:39:08]SAM_PROTO_GetShiftState [16:39:08]wFMCommunicate request_size=4 [16:39:08]MH_SAM_APDU [16:39:08]CAPDU: 80 13 01 00 [16:39:08]Write to MH i2c: E2 08 00 C4 0E 80 13 01 00 00 00 00 00 4F [16:39:08]Write i2c OK [16:39:08]MH_I2C_Read... [16:39:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:08]Read from MH i2c: E2 [16:39:08]MH_I2C_Read... [16:39:08]Read from MH i2c: E2 0E 00 [16:39:08]MH_I2C_Read... [16:39:08]Read from MH i2c: E2 0E 00 C4 0E 00 09 00 01 86 79 90 66 00 00 00 00 90 00 50 [16:39:08]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:39:08]wFMCommunicate OK [16:39:08]SAM_PROTO_GetShiftState done [16:39:08]FM_GetShiftState done [16:39:08]opened in 1720744326 [16:39:08]opened+sec_in_day 1720830726 [16:39:08]quantity*price = 14000 [16:39:08]sum+1 = 14001 [16:39:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 72 12.07.2024 16:39 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56804 ФПД: 189229303995808 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163911&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56804&fm=189229303995808&tin=02508201610067®Number=0000000000091208&sum=14000 0 [16:39:09]StoreToDocumentArchive [16:39:09]shift 494 fd 56804 [16:39:09]save to /storage/0494/doc_00056804 [16:39:09]save last doc name /storage/0494/doc_00056804 to /storage/kkm_last_doc_name [16:39:09]save OK [16:39:09]Clear old archive folders... [16:39:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:39:09]tlvbuf is 01AD2D90 [16:39:09]SAM_PROTO_ClearQueue [16:39:09]wFMCommunicate request_size=4 [16:39:09]MH_SAM_APDU [16:39:09]CAPDU: 80 09 00 00 [16:39:09]Write to MH i2c: E2 08 00 D1 0E 80 09 00 00 00 00 00 00 51 [16:39:09]Write i2c OK [16:39:09]MH_I2C_Read... [16:39:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:09]Read from MH i2c: E2 [16:39:09]MH_I2C_Read... [16:39:09]Read from MH i2c: E2 03 00 [16:39:09]MH_I2C_Read... [16:39:09]Read from MH i2c: E2 03 00 D1 0E 00 90 00 53 [16:39:09]RAPDU: 90 00 [16:39:09]wFMCommunicate OK [16:39:09]SAM_PROTO_ClearQueue done [16:39:09]KKMCreateOFDPacket [16:39:09]OFDProtocolAddRootSTLVToBuf [16:39:09]FM_MakeSignedData [16:39:09]FM_MakeSignedData [16:39:09]SAM_PROTO_SignData [16:39:09]wFMCommunicate request_size=4 [16:39:09]MH_SAM_APDU [16:39:09]CAPDU: 80 0D 01 02 [16:39:09]Write to MH i2c: E2 08 00 D2 0E 80 0D 01 02 00 00 00 00 59 [16:39:09]Write i2c OK [16:39:09]MH_I2C_Read... [16:39:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:09]Read from MH i2c: E2 [16:39:09]MH_I2C_Read... [16:39:09]Read from MH i2c: E2 03 00 [16:39:09]MH_I2C_Read... [16:39:09]Read from MH i2c: E2 03 00 D2 0E 00 90 00 54 [16:39:09]RAPDU: 90 00 [16:39:09]wFMCommunicate OK [16:39:09]wFMCommunicate request_size=255 [16:39:09]MH_SAM_APDU [16:39:09]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 48 00 00 00 F4 03 04 00 2F 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [16:39:09]Write to MH i2c: E2 02 01 D3 0E 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 48 00 00 00 F4 03 04 00 2F 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 02 [16:39:09]Write i2c OK [16:39:09]MH_I2C_Read... [16:39:09]OFD Sender: No OFD packet to send [16:39:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:10]Read from MH i2c: E2 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 03 00 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 03 00 D3 0E 00 90 00 55 [16:39:10]RAPDU: 90 00 [16:39:10]wFMCommunicate OK [16:39:10]wFMCommunicate request_size=32 [16:39:10]MH_SAM_APDU [16:39:10]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DD 00 00 35 04 06 00 AC 1A 61 72 1D A0 [16:39:10]Write to MH i2c: E2 23 00 D4 0E 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DD 00 00 35 04 06 00 AC 1A 61 72 1D A0 00 00 D7 [16:39:10]Write i2c OK [16:39:10]MH_I2C_Read... [16:39:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:10]Read from MH i2c: E2 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 03 00 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 03 00 D4 0E 00 90 00 56 [16:39:10]RAPDU: 90 00 [16:39:10]wFMCommunicate OK [16:39:10]wFMCommunicate request_size=4 [16:39:10]MH_SAM_APDU [16:39:10]CAPDU: 80 0D 03 02 [16:39:10]Write to MH i2c: E2 08 00 D5 0E 80 0D 03 02 00 00 00 00 5E [16:39:10]Write i2c OK [16:39:10]MH_I2C_Read... [16:39:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:10]Read from MH i2c: E2 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 0B 00 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 0B 00 D5 0E 00 5E A8 30 98 56 7A 58 30 90 00 85 [16:39:10]RAPDU: 5E A8 30 98 56 7A 58 30 90 00 [16:39:10]wFMCommunicate OK [16:39:10]SAM_PROTO_SignData done [16:39:10]FM_MakeSignedData done [16:39:10]CreateOFDProtocolMessage [16:39:10]wFMCommunicate request_size=4 [16:39:10]MH_SAM_APDU [16:39:10]CAPDU: 80 11 00 00 [16:39:10]Write to MH i2c: E2 08 00 D6 0E 80 11 00 00 00 00 00 00 5E [16:39:10]Write i2c OK [16:39:10]MH_I2C_Read... [16:39:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:10]Read from MH i2c: E2 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 17 00 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: E2 17 00 D6 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B8 [16:39:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:39:10]wFMCommunicate OK [16:39:10]CreateOFDProtocolMessage done [16:39:10]OFDSenderStorePacket 56804 [16:39:10]StoreOFDPacket docnum=56804 [16:39:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 7F 4A 1D 01 EA D7 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 48 00 00 00 F4 03 04 00 2F 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DD 00 00 35 04 06 00 AC 1A 61 72 1D A0 5E A8 30 98 56 7A 58 30 [16:39:10]CheckFolder [16:39:10]dirname=/storage/ofd_packets [16:39:10]CheckFolder done [16:39:10]ProducePacketName [16:39:10]name=ofd_packets/00056804 [16:39:10]NVStorageSaveData ofd_packets/00056804 [16:39:10]File name is /storage/ofd_packets/00056804 [16:39:10]Write 323 bytes [16:39:10]NVStorageSaveData done [16:39:10]OFDSenderStorePacket done [16:39:10]KKMCreateOFDPacket done [16:39:10]NVStorageSaveData kkm_last_timestamp [16:39:10]File name is /storage/kkm_last_timestamp [16:39:10]Write 4 bytes [16:39:10]NVStorageSaveData done [16:39:10]ExternCall_PrintAddStr [16:39:10]wPrintStart [16:39:10]Write to MH i2c: 01 00 00 D7 0E E5 [16:39:10]Write i2c OK [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: 01 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: 01 07 00 [16:39:10]MH_I2C_Read... [16:39:10]Read from MH i2c: 01 07 00 D7 0E 00 00 00 00 00 FF 0F FA [16:39:10]RasterBufferAndPrint [16:39:10]line Счет N : (3)129294 [16:39:10]line ИНН: 02508201610067 [16:39:10]line Контрольно-Кассовый Чек [16:39:10]line ПРОДАЖА [16:39:10]line Товар: 48743570 [16:39:10]line Сигареты Winston XStyle Blue [16:39:10]line 1.000 * 140.00 [16:39:10]line = 140.00 [16:39:10]line НДС 12% НСП 1% [16:39:10]line > о реализуемом товаре [16:39:10]line ИТОГО: 140.00 [16:39:10]line НСП 1% : 1.24 [16:39:10]line НДС 12% : 14.87 [16:39:10]line Наличными: 140.00 [16:39:10]line Безнал.: 0.00 [16:39:10]line Место: АЗС № 132 "Партнер Нефть" [16:39:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:39:10]line СНО: Общий режим [16:39:10]line Чек 72 12.07.2024 16:39 [16:39:10]line Смена: 494 ФФД: 1.0 [16:39:10]line ЗНМ: 0300000132 [16:39:10]line РНМ: 0000000000091208 [16:39:10]line Версия ККМ: 001 [16:39:10]line ФМ: 0000000000874857 [16:39:10]line ФД: 56804 [16:39:10]line ФПД: 189229303995808 [16:39:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163911&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56804&fm=189229303995808&tin=02508201610067®Number=0000000000091208&sum=14000 [16:39:10]OFD Sender: Processing packet 56804 [packets to send 38, broken 37] [16:39:10]ProducePacketName [16:39:10]name=ofd_packets/00056804 [16:39:10]OFD Sender: To server: pG, [16:39:10]CommunicateWithHost lk.salyk.kg:30040 [16:39:10]ConnectInit lk.salyk.kg [16:39:10]line 0 [16:39:10]written 0, free lines is 4095 [16:39:10]Connected sock=10 [16:39: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 38 35 37 25 01 00 00 7F 4A 1D 01 EA D7 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 48 00 00 00 F4 03 04 00 2F 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DD 00 00 35 04 06 00 AC 1A 61 72 1D A0 5E A8 30 98 56 7A 58 30 [16:39:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 58 E4 47 00 A5 BD 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 38 35 37 10 04 04 00 E4 DD 00 00 F4 03 04 00 86 02 91 66 B6 04 01 00 00 28 DA D7 C5 9B 37 9B 3C [16:39:11]CommunicateWithHost err = 0 [16:39:11]CheckOFDResponse [16:39:11]1017 (14) - 77093643461234 [16:39:11]1041 (16) - 0000000000874857 [16:39:11]1040 (4) - 56804 [16:39:11]1012 (4) - 12.07.2024 10:16 [16:39:11]1206 (1) - 0 [16:39:11]OFD Sender: Remove packet 56804 [16:39:11]ProducePacketName [16:39:11]name=ofd_packets/00056804 [16:39:11]NVStorageDeleteData [16:39:11]Write to MH i2c: 01 00 00 FF 0E 0D [16:39:11]Write i2c OK [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: 01 [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: 01 07 00 [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: 01 07 00 FF 0E 00 00 00 00 00 0E 0D 2F [16:39:11]RasterBufferAndPrint [16:39:11]line [16:39:11]line [16:39:11]line [16:39:11]line [16:39:11]line [16:39:11]written 0, free lines is 3348 [16:39:11]MH_Cut [16:39:11]Write to MH i2c: D1 01 00 06 0F 01 E7 [16:39:11]Write i2c OK [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: D1 [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: D1 01 00 [16:39:11]MH_I2C_Read... [16:39:11]Read from MH i2c: D1 01 00 06 0F 00 E6 [16:39:11]Write to MH i2c: 01 00 00 07 0F 16 [16:39:11]Write i2c OK [16:39:11]MH_I2C_Read... [16:39:11]OFD Sender: No OFD packet to send [16:39:11]*** Cut start [16:39:11]*** Partial cut [16:39:11]*** CUTSNS_PIN = 1 [16:39:11]*** CUTSNS_PIN = 0 [16:39:12]*** Brake cut motor [16:39:12]Read from MH i2c: 01 [16:39:12]MH_I2C_Read... [16:39:12]*** Stop cut motor [16:39:12]*** Cut end [16:39:12]Read from MH i2c: 01 07 00 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: 01 07 00 07 0F 00 00 00 00 00 FF 0F 2B [16:39:12]process_action close_receipt done [16:39:12]requested_data is exist [16:39:12]produce_requested_data [16:39:12]requested_item fm.sn is exist - process it [16:39:12]wFMCommunicate request_size=4 [16:39:12]MH_SAM_APDU [16:39:12]CAPDU: 80 11 00 00 [16:39:12]Write to MH i2c: E2 08 00 08 0F 80 11 00 00 00 00 00 00 91 [16:39:12]Write i2c OK [16:39:12]MH_I2C_Read... [16:39:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:12]Read from MH i2c: E2 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 17 00 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 17 00 08 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EB [16:39:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:39:12]wFMCommunicate OK [16:39:12]requested_item fd.num is exist - process it [16:39:12]SAM_PROTO_GetFieldsCounters [16:39:12]wFMCommunicate request_size=4 [16:39:12]MH_SAM_APDU [16:39:12]CAPDU: 80 13 00 00 [16:39:12]Write to MH i2c: E2 08 00 09 0F 80 13 00 00 00 00 00 00 94 [16:39:12]Write i2c OK [16:39:12]MH_I2C_Read... [16:39:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:12]Read from MH i2c: E2 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 62 00 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 62 00 09 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E4 DD 00 00 0E 04 04 00 EE 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 3F [16:39: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E4 DD 00 00 0E 04 04 00 EE 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 [16:39:12]wFMCommunicate OK [16:39:12]SAM_PROTO_GetFieldsCounters done [16:39:12]requested_item shift.num is exist - process it [16:39:12]requested_item shift.opened is exist - process it [16:39:12]req_shift_opened [16:39:12]FM_GetShiftState [16:39:12]SAM_PROTO_GetShiftState [16:39:12]wFMCommunicate request_size=4 [16:39:12]MH_SAM_APDU [16:39:12]CAPDU: 80 13 01 00 [16:39:12]Write to MH i2c: E2 08 00 0A 0F 80 13 01 00 00 00 00 00 96 [16:39:12]Write i2c OK [16:39:12]MH_I2C_Read... [16:39:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:12]Read from MH i2c: E2 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 0E 00 [16:39:12]MH_I2C_Read... [16:39:12]Read from MH i2c: E2 0E 00 0A 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 97 [16:39:12]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:39:12]wFMCommunicate OK [16:39:12]SAM_PROTO_GetShiftState done [16:39:12]FM_GetShiftState done [16:39:12]req_shift_opened done [16:39:12]requested_item shift.open_date is exist - process it [16:39:12]req_shift_open_date [16:39:12]req_shift_open_date done [16:39:12]requested_item shift.sale.total is exist - process it [16:39:12]SAM_PROTO_GetShiftData [16:39:12]wFMCommunicate request_size=4 [16:39:12]MH_SAM_APDU [16:39:12]CAPDU: 80 13 02 00 [16:39:12]Write to MH i2c: E2 08 00 0B 0F 80 13 02 00 00 00 00 00 98 [16:39:12]Write i2c OK [16:39:12]MH_I2C_Read... [16:39:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:39:13]Read from MH i2c: E2 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 0B 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 E0 C9 1D 70 04 03 00 F4 3F 17 72 04 03 00 EC 89 06 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 EF 29 03 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 78 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 06 [16:39:13]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 E0 C9 1D 70 04 03 00 F4 3F 17 72 04 03 00 EC 89 06 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 EF 29 03 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 78 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [16:39:13]wFMCommunicate OK [16:39:13]wFMCommunicate request_size=4 [16:39:13]MH_SAM_APDU [16:39:13]CAPDU: 80 17 00 00 [16:39:13]Write to MH i2c: E2 08 00 0C 0F 80 17 00 00 00 00 00 00 9B [16:39:13]Write i2c OK [16:39:13]MH_I2C_Read... [16:39:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:39:13]Read from MH i2c: E2 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 0C 0F 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DA [16:39:13]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:39:13]wFMCommunicate OK [16:39:13]wFMCommunicate request_size=4 [16:39:13]MH_SAM_APDU [16:39:13]CAPDU: 80 17 00 00 [16:39:13]Write to MH i2c: E2 08 00 0D 0F 80 17 00 00 00 00 00 00 9C [16:39:13]Write i2c OK [16:39:13]MH_I2C_Read... [16:39:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:39:13]Read from MH i2c: E2 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 0D 0F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5C [16:39:13]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:39:13]wFMCommunicate OK [16:39:13]wFMCommunicate request_size=4 [16:39:13]MH_SAM_APDU [16:39:13]CAPDU: 80 17 00 00 [16:39:13]Write to MH i2c: E2 08 00 0E 0F 80 17 00 00 00 00 00 00 9D [16:39:13]Write i2c OK [16:39:13]MH_I2C_Read... [16:39:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:39:13]Read from MH i2c: E2 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 [16:39:13]MH_I2C_Read... [16:39:13]Read from MH i2c: E2 FD 00 0E 0F 00 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 90 00 0C [16:39:13]RAPDU: 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 90 00 [16:39:14]wFMCommunicate OK [16:39:14]wFMCommunicate request_size=4 [16:39:14]MH_SAM_APDU [16:39:14]CAPDU: 80 17 00 00 [16:39:14]Write to MH i2c: E2 08 00 0F 0F 80 17 00 00 00 00 00 00 9E [16:39:14]Write i2c OK [16:39:14]MH_I2C_Read... [16:39:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:39:14]Read from MH i2c: E2 [16:39:14]MH_I2C_Read... [16:39:14]Read from MH i2c: E2 D3 00 [16:39:14]MH_I2C_Read... [16:39:14]Read from MH i2c: E2 D3 00 0F 0F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8B [16:39:14]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:39:14]wFMCommunicate OK [16:39:14]SAM_PROTO_GetShiftData done [16:39:14]requested_item shift.sale.total_cash is exist - process it [16:39:14]requested_item shift.sale_refund.total is exist - process it [16:39:14]requested_item shift.sale_refund.total_cash is exist - process it [16:39:14]produce_requested_data done [16:39:14]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56804,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19522.24,"shift.sale.total_cash":15237.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [16:39:14]process_action_free close_receipt [16:39:14]json_value_free [16:39:14]json_value_free done [16:39:14]process_json_proto returns [16:39:14]Send response to host [16:39:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56804,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19522.24,"shift.sale.total_cash":15237.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [16:39:14]free response buf [16:39:14]execute_script done [16:39:14]execute_script returns [16:39:14]free content buf [16:39:14]Sock 9.Close socket [16:39:14]Sock 9.Thread stoped [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:47]accept exits with 7 [16:41:47]New connection [16:41:47]New thread 3066781028 created [16:41:47]Thread 3066637668 joined [16:41:47]Waiting for new connection... [16:41:47] Sock 7.Parse request [16:41:47]Sock 7.Check first char [16:41:47]Sock 7.First char is OK [16:41:47]request: POST /json_proto HTTP/1.0 [16:41:47]Method: POST [16:41:47]URL: /json_proto [16:41:47]Method is POST - this is cgi request [16:41:47]url: /json_proto [16:41:47]query_string will be loaded in cgi processing [16:41:47]execute_cgi json_proto POST (null) [16:41:47]execute_cgi path=json_proto method=POST [16:41:47]POST find Content-Length [16:41:47]Host: 172.17.39.4:8080 [16:41:47]Content-Length: 815 [16:41:47]Content-Type: application/json [16:41:47] [16:41:47]POST finish read [16:41:47]Found Content-Length = 815 [16:41:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129295", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:41:47]execute_script... [16:41:47]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)129295", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:41:47]POST & json_proto [16:41:47]process_json_proto [16:41:47]json parsed OK: [16:41:47]protocol is kg_v1.0 [16:41:47]action value=close_receipt [16:41:47]process_action close_receipt [16:41:47]cmd_close_receipt [16:41:47]MH_GetDate [16:41:47]Write to MH i2c: F0 00 00 10 0F 0E [16:41:47]Write i2c OK [16:41:47]MH_I2C_Read... [16:41:47]Read from MH i2c: F0 [16:41:47]MH_I2C_Read... [16:41:47]Read from MH i2c: F0 09 00 [16:41:47]MH_I2C_Read... [16:41:47]Read from MH i2c: F0 09 00 10 0F 00 CE 5C 91 66 2D 25 5D 64 4B [16:41:47]GetLastDocTimeStamp 1720802351 [16:41:47]current date 1720802510 [16:41:47]FM_GetShiftState [16:41:47]SAM_PROTO_GetShiftState [16:41:47]wFMCommunicate request_size=4 [16:41:47]MH_SAM_APDU [16:41:47]CAPDU: 80 13 01 00 [16:41:47]Write to MH i2c: E2 08 00 11 0F 80 13 01 00 00 00 00 00 9D [16:41:47]Write i2c OK [16:41:47]MH_I2C_Read... [16:41:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:47]Read from MH i2c: E2 [16:41:47]MH_I2C_Read... [16:41:47]Read from MH i2c: E2 0E 00 [16:41:47]MH_I2C_Read... [16:41:47]Read from MH i2c: E2 0E 00 11 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 9E [16:41:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:41:47]wFMCommunicate OK [16:41:47]SAM_PROTO_GetShiftState done [16:41:47]FM_GetShiftState done [16:41:47]opened in 1720744326 [16:41:47]opened+sec_in_day 1720830726 [16:41:47]quantity*price = 11000 [16:41:47]sum+1 = 11001 [16:41:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 73 12.07.2024 16:41 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56805 ФПД: 190001752128151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T164150&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56805&fm=190001752128151&tin=02508201610067®Number=0000000000091208&sum=11000 0 [16:41:48]StoreToDocumentArchive [16:41:48]shift 494 fd 56805 [16:41:48]save to /storage/0494/doc_00056805 [16:41:48]save last doc name /storage/0494/doc_00056805 to /storage/kkm_last_doc_name [16:41:48]save OK [16:41:48]Clear old archive folders... [16:41:48]ProcessDocumentItem done err = 0, tmpTLVsize=303 [16:41:48]tlvbuf is 01AADA40 [16:41:48]SAM_PROTO_ClearQueue [16:41:48]wFMCommunicate request_size=4 [16:41:48]MH_SAM_APDU [16:41:48]CAPDU: 80 09 00 00 [16:41:48]Write to MH i2c: E2 08 00 1E 0F 80 09 00 00 00 00 00 00 9F [16:41:48]Write i2c OK [16:41:48]MH_I2C_Read... [16:41:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:41:48]Read from MH i2c: E2 [16:41:48]MH_I2C_Read... [16:41:48]Read from MH i2c: E2 03 00 [16:41:48]MH_I2C_Read... [16:41:48]Read from MH i2c: E2 03 00 1E 0F 00 90 00 A1 [16:41:48]RAPDU: 90 00 [16:41:48]wFMCommunicate OK [16:41:48]SAM_PROTO_ClearQueue done [16:41:48]KKMCreateOFDPacket [16:41:48]OFDProtocolAddRootSTLVToBuf [16:41:48]FM_MakeSignedData [16:41:48]FM_MakeSignedData [16:41:48]SAM_PROTO_SignData [16:41:48]wFMCommunicate request_size=4 [16:41:48]MH_SAM_APDU [16:41:48]CAPDU: 80 0D 01 02 [16:41:48]Write to MH i2c: E2 08 00 1F 0F 80 0D 01 02 00 00 00 00 A7 [16:41:48]Write i2c OK [16:41:48]MH_I2C_Read... [16:41:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:41:48]Read from MH i2c: E2 [16:41:48]MH_I2C_Read... [16:41:48]Read from MH i2c: E2 03 00 [16:41:48]MH_I2C_Read... [16:41:48]Read from MH i2c: E2 03 00 1F 0F 00 90 00 A2 [16:41:48]RAPDU: 90 00 [16:41:48]wFMCommunicate OK [16:41:48]wFMCommunicate request_size=255 [16:41:48]MH_SAM_APDU [16:41:48]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 49 00 00 00 F4 03 04 00 CE 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D [16:41:48]Write to MH i2c: E2 02 01 20 0F 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 49 00 00 00 F4 03 04 00 CE 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 00 00 F0 [16:41:48]Write i2c OK [16:41:48]MH_I2C_Read... [16:41:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:49]Read from MH i2c: E2 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 03 00 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 03 00 20 0F 00 90 00 A3 [16:41:49]RAPDU: 90 00 [16:41:49]wFMCommunicate OK [16:41:49]wFMCommunicate request_size=62 [16:41:49]MH_SAM_APDU [16:41:49]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DD 00 00 35 04 06 00 AC CE 3A F1 3A 97 [16:41:49]Write to MH i2c: E2 41 00 21 0F 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DD 00 00 35 04 06 00 AC CE 3A F1 3A 97 00 00 1F [16:41:49]Write i2c OK [16:41:49]MH_I2C_Read... [16:41:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:49]Read from MH i2c: E2 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 03 00 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 03 00 21 0F 00 90 00 A4 [16:41:49]RAPDU: 90 00 [16:41:49]wFMCommunicate OK [16:41:49]wFMCommunicate request_size=4 [16:41:49]MH_SAM_APDU [16:41:49]CAPDU: 80 0D 03 02 [16:41:49]Write to MH i2c: E2 08 00 22 0F 80 0D 03 02 00 00 00 00 AC [16:41:49]Write i2c OK [16:41:49]MH_I2C_Read... [16:41:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:41:49]Read from MH i2c: E2 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 0B 00 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 0B 00 22 0F 00 D3 B2 52 FB 11 65 A1 14 90 00 AA [16:41:49]RAPDU: D3 B2 52 FB 11 65 A1 14 90 00 [16:41:49]wFMCommunicate OK [16:41:49]SAM_PROTO_SignData done [16:41:49]FM_MakeSignedData done [16:41:49]CreateOFDProtocolMessage [16:41:49]wFMCommunicate request_size=4 [16:41:49]MH_SAM_APDU [16:41:49]CAPDU: 80 11 00 00 [16:41:49]Write to MH i2c: E2 08 00 23 0F 80 11 00 00 00 00 00 00 AC [16:41:49]Write i2c OK [16:41:49]MH_I2C_Read... [16:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:49]Read from MH i2c: E2 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 17 00 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: E2 17 00 23 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 06 [16:41:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:41:49]wFMCommunicate OK [16:41:49]CreateOFDProtocolMessage done [16:41:49]OFDSenderStorePacket 56805 [16:41:49]StoreOFDPacket docnum=56805 [16:41:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 05 95 3B 01 70 74 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 49 00 00 00 F4 03 04 00 CE 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DD 00 00 35 04 06 00 AC CE 3A F1 3A 97 D3 B2 52 FB 11 65 A1 14 [16:41:49]CheckFolder [16:41:49]dirname=/storage/ofd_packets [16:41:49]CheckFolder done [16:41:49]ProducePacketName [16:41:49]name=ofd_packets/00056805 [16:41:49]NVStorageSaveData ofd_packets/00056805 [16:41:49]File name is /storage/ofd_packets/00056805 [16:41:49]Write 353 bytes [16:41:49]NVStorageSaveData done [16:41:49]OFDSenderStorePacket done [16:41:49]KKMCreateOFDPacket done [16:41:49]NVStorageSaveData kkm_last_timestamp [16:41:49]File name is /storage/kkm_last_timestamp [16:41:49]Write 4 bytes [16:41:49]NVStorageSaveData done [16:41:49]ExternCall_PrintAddStr [16:41:49]wPrintStart [16:41:49]Write to MH i2c: 01 00 00 24 0F 33 [16:41:49]Write i2c OK [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: 01 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: 01 07 00 [16:41:49]MH_I2C_Read... [16:41:49]Read from MH i2c: 01 07 00 24 0F 00 00 00 00 00 FF 0F 48 [16:41:49]RasterBufferAndPrint [16:41:49]line Счет N : (3)129295 [16:41:49]line ИНН: 02508201610067 [16:41:49]line Контрольно-Кассовый Чек [16:41:49]line ПРОДАЖА [16:41:49]line Товар: 4870202521216 [16:41:49]line Напиток MAXI чай 1,2 зел.лимон (новый) [16:41:49]line 1.000 * 110.00 [16:41:49]line = 110.00 [16:41:49]line НДС 12% НСП 1% [16:41:49]line > о реализуемом товаре [16:41:49]line ИТОГО: 110.00 [16:41:49]line НСП 1% : 0.97 [16:41:49]line НДС 12% : 11.68 [16:41:49]line Наличными: 110.00 [16:41:49]line Безнал.: 0.00 [16:41:49]line Место: АЗС № 132 "Партнер Нефть" [16:41:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:41:49]line СНО: Общий режим [16:41:49]line Чек 73 12.07.2024 16:41 [16:41:49]line Смена: 494 ФФД: 1.0 [16:41:49]line ЗНМ: 0300000132 [16:41:49]line РНМ: 0000000000091208 [16:41:49]line Версия ККМ: 001 [16:41:49]line ФМ: 0000000000874857 [16:41:49]line ФД: 56805 [16:41:49]line ФПД: 190001752128151 [16:41:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T164150&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56805&fm=190001752128151&tin=02508201610067®Number=0000000000091208&sum=11000 [16:41:49]line 0 [16:41:49]OFD Sender: Processing packet 56805 [packets to send 38, broken 37] [16:41:49]ProducePacketName [16:41:49]name=ofd_packets/00056805 [16:41:49]OFD Sender: To server: pG, [16:41:49]CommunicateWithHost lk.salyk.kg:30040 [16:41:49]ConnectInit lk.salyk.kg [16:41:49]written 0, free lines is 4095 [16:41:49]Connected sock=10 [16:41: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 38 35 37 43 01 00 00 05 95 3B 01 70 74 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 49 00 00 00 F4 03 04 00 CE 5C 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DD 00 00 35 04 06 00 AC CE 3A F1 3A 97 D3 B2 52 FB 11 65 A1 14 [16:41:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 8B F1 47 00 B5 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DD 00 00 F4 03 04 00 25 03 91 66 B6 04 01 00 00 65 7D 0E 6B 95 20 79 87 [16:41:49]CommunicateWithHost err = 0 [16:41:49]CheckOFDResponse [16:41:49]1017 (14) - 77093643461234 [16:41:49]1041 (16) - 0000000000874857 [16:41:49]1040 (4) - 56805 [16:41:49]1012 (4) - 12.07.2024 10:19 [16:41:49]1206 (1) - 0 [16:41:49]OFD Sender: Remove packet 56805 [16:41:49]ProducePacketName [16:41:49]name=ofd_packets/00056805 [16:41:49]NVStorageDeleteData [16:41:50]Write to MH i2c: 01 00 00 4D 0F 5C [16:41:50]Write i2c OK [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: 01 [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: 01 07 00 [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: 01 07 00 4D 0F 00 00 00 00 00 01 0D 71 [16:41:50]RasterBufferAndPrint [16:41:50]line [16:41:50]line [16:41:50]line [16:41:50]line [16:41:50]line [16:41:50]written 0, free lines is 3336 [16:41:50]MH_Cut [16:41:50]Write to MH i2c: D1 01 00 54 0F 01 35 [16:41:50]Write i2c OK [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: D1 [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: D1 01 00 [16:41:50]MH_I2C_Read... [16:41:50]Read from MH i2c: D1 01 00 54 0F 00 34 [16:41:50]Write to MH i2c: 01 00 00 55 0F 64 [16:41:50]Write i2c OK [16:41:50]MH_I2C_Read... [16:41:50]OFD Sender: No OFD packet to send [16:41:50]*** Cut start [16:41:50]*** Partial cut [16:41:50]*** CUTSNS_PIN = 1 [16:41:50]*** CUTSNS_PIN = 0 [16:41:51]*** Brake cut motor [16:41:51]Read from MH i2c: 01 [16:41:51]MH_I2C_Read... [16:41:51]*** Stop cut motor [16:41:51]*** Cut end [16:41:51]Read from MH i2c: 01 07 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: 01 07 00 55 0F 00 00 00 00 00 FF 0F 79 [16:41:51]process_action close_receipt done [16:41:51]requested_data is exist [16:41:51]produce_requested_data [16:41:51]requested_item fm.sn is exist - process it [16:41:51]wFMCommunicate request_size=4 [16:41:51]MH_SAM_APDU [16:41:51]CAPDU: 80 11 00 00 [16:41:51]Write to MH i2c: E2 08 00 56 0F 80 11 00 00 00 00 00 00 DF [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:51]Read from MH i2c: E2 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 17 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 17 00 56 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 39 [16:41:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:41:51]wFMCommunicate OK [16:41:51]requested_item fd.num is exist - process it [16:41:51]SAM_PROTO_GetFieldsCounters [16:41:51]wFMCommunicate request_size=4 [16:41:51]MH_SAM_APDU [16:41:51]CAPDU: 80 13 00 00 [16:41:51]Write to MH i2c: E2 08 00 57 0F 80 13 00 00 00 00 00 00 E2 [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:41:51]Read from MH i2c: E2 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 62 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 62 00 57 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E5 DD 00 00 0E 04 04 00 EE 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 91 [16:41:51]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E5 DD 00 00 0E 04 04 00 EE 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 [16:41:51]wFMCommunicate OK [16:41:51]SAM_PROTO_GetFieldsCounters done [16:41:51]requested_item shift.num is exist - process it [16:41:51]requested_item shift.opened is exist - process it [16:41:51]req_shift_opened [16:41:51]FM_GetShiftState [16:41:51]SAM_PROTO_GetShiftState [16:41:51]wFMCommunicate request_size=4 [16:41:51]MH_SAM_APDU [16:41:51]CAPDU: 80 13 01 00 [16:41:51]Write to MH i2c: E2 08 00 58 0F 80 13 01 00 00 00 00 00 E4 [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:51]Read from MH i2c: E2 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 0E 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 0E 00 58 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E5 [16:41:51]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [16:41:51]wFMCommunicate OK [16:41:51]SAM_PROTO_GetShiftState done [16:41:51]FM_GetShiftState done [16:41:51]req_shift_opened done [16:41:51]requested_item shift.open_date is exist - process it [16:41:51]req_shift_open_date [16:41:51]req_shift_open_date done [16:41:51]requested_item shift.sale.total is exist - process it [16:41:51]SAM_PROTO_GetShiftData [16:41:51]wFMCommunicate request_size=4 [16:41:51]MH_SAM_APDU [16:41:51]CAPDU: 80 13 02 00 [16:41:51]Write to MH i2c: E2 08 00 59 0F 80 13 02 00 00 00 00 00 E6 [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 59 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 D8 F4 1D 70 04 03 00 EC 6A 17 72 04 03 00 EC 89 06 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 7F 2E 03 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 D9 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 92 [16:41:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 D8 F4 1D 70 04 03 00 EC 6A 17 72 04 03 00 EC 89 06 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 7F 2E 03 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 D9 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [16:41:52]wFMCommunicate OK [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 17 00 00 [16:41:52]Write to MH i2c: E2 08 00 5A 0F 80 17 00 00 00 00 00 00 E9 [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 5A 0F 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [16:41:52]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:41:52]wFMCommunicate OK [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 17 00 00 [16:41:52]Write to MH i2c: E2 08 00 5B 0F 80 17 00 00 00 00 00 00 EA [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 5B 0F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [16:41:52]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:41:52]wFMCommunicate OK [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 17 00 00 [16:41:52]Write to MH i2c: E2 08 00 5C 0F 80 17 00 00 00 00 00 00 EB [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 FD 00 5C 0F 00 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 90 00 5A [16:41:52]RAPDU: 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 90 00 [16:41:52]wFMCommunicate OK [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 17 00 00 [16:41:52]Write to MH i2c: E2 08 00 5D 0F 80 17 00 00 00 00 00 00 EC [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [16:41:53]Read from MH i2c: E2 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 D3 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 D3 00 5D 0F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [16:41:53]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:41:53]wFMCommunicate OK [16:41:53]SAM_PROTO_GetShiftData done [16:41:53]requested_item shift.sale.total_cash is exist - process it [16:41:53]requested_item shift.sale_refund.total is exist - process it [16:41:53]requested_item shift.sale_refund.total_cash is exist - process it [16:41:53]produce_requested_data done [16:41:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56805,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19632.24,"shift.sale.total_cash":15347.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [16:41:53]process_action_free close_receipt [16:41:53]json_value_free [16:41:53]json_value_free done [16:41:53]process_json_proto returns [16:41:53]Send response to host [16:41:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56805,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19632.24,"shift.sale.total_cash":15347.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [16:41:53]free response buf [16:41:53]execute_script done [16:41:53]execute_script returns [16:41:53]free content buf [16:41:53]Sock 7.Close socket [16:41:53]Sock 7.Thread stoped [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:55]OFD Sender: No OFD packet to send [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [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:40]OFD Sender: No OFD packet to send [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:35]OFD Sender: No OFD packet to send [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:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]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:46]OFD Sender: No OFD packet to send [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:11]OFD Sender: No OFD packet to send [16:54:16]OFD Sender: No OFD packet to send [16:54:21]OFD Sender: No OFD packet to send [16:54:26]OFD Sender: No OFD packet to send [16:54:31]OFD Sender: No OFD packet to send [16:54:36]OFD Sender: No OFD packet to send [16:54:41]OFD Sender: No OFD packet to send [16:54:46]OFD Sender: No OFD packet to send [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [16:55:01]OFD Sender: No OFD packet to send [16:55:06]OFD Sender: No OFD packet to send [16:55:11]OFD Sender: No OFD packet to send [16:55:16]OFD Sender: No OFD packet to send [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]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:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:06]accept exits with 9 [17:31:06]New connection [17:31:06]New thread 3066637668 created [17:31:06]Thread 3066781028 joined [17:31:06]Waiting for new connection... [17:31:06] Sock 9.Parse request [17:31:06]Sock 9.Check first char [17:31:06]Sock 9.First char is OK [17:31:06]request: POST /json_proto HTTP/1.0 [17:31:06]Method: POST [17:31:06]URL: /json_proto [17:31:06]Method is POST - this is cgi request [17:31:06]url: /json_proto [17:31:06]query_string will be loaded in cgi processing [17:31:06]execute_cgi json_proto POST (null) [17:31:06]execute_cgi path=json_proto method=POST [17:31:06]POST find Content-Length [17:31:06]Host: 172.17.39.4:8080 [17:31:06]Content-Length: 758 [17:31:06]Content-Type: application/json [17:31:06] [17:31:06]POST finish read [17:31:06]Found Content-Length = 758 [17:31:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129296", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:31:06]execute_script... [17:31: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)129296", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:31:06]POST & json_proto [17:31:06]process_json_proto [17:31:06]json parsed OK: [17:31:06]protocol is kg_v1.0 [17:31:06]action value=close_receipt [17:31:06]process_action close_receipt [17:31:06]cmd_close_receipt [17:31:06]MH_GetDate [17:31:06]Write to MH i2c: F0 00 00 5E 0F 5C [17:31:06]Write i2c OK [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: F0 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: F0 09 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: F0 09 00 5E 0F 00 5D 68 91 66 2D 25 5D 64 34 [17:31:06]GetLastDocTimeStamp 1720802510 [17:31:06]current date 1720805469 [17:31:06]FM_GetShiftState [17:31:06]SAM_PROTO_GetShiftState [17:31:06]wFMCommunicate request_size=4 [17:31:06]MH_SAM_APDU [17:31:06]CAPDU: 80 13 01 00 [17:31:06]Write to MH i2c: E2 08 00 5F 0F 80 13 01 00 00 00 00 00 EB [17:31:06]Write i2c OK [17:31:06]MH_I2C_Read... [17:31:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:06]Read from MH i2c: E2 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 0E 00 [17:31:06]MH_I2C_Read... [17:31:06]Read from MH i2c: E2 0E 00 5F 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 EC [17:31:06]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [17:31:06]wFMCommunicate OK [17:31:06]SAM_PROTO_GetShiftState done [17:31:06]FM_GetShiftState done [17:31:06]opened in 1720744326 [17:31:06]opened+sec_in_day 1720830726 [17:31:06]quantity*price = 9500 [17:31:06]sum+1 = 9501 [17:31:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 74 12.07.2024 17:31 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56806 ФПД: 227162723432957 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173109&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56806&fm=227162723432957&tin=02508201610067®Number=0000000000091208&sum=9500 0 [17:31:07]StoreToDocumentArchive [17:31:07]shift 494 fd 56806 [17:31:07]save to /storage/0494/doc_00056806 [17:31:07]save last doc name /storage/0494/doc_00056806 to /storage/kkm_last_doc_name [17:31:07]save OK [17:31:07]Clear old archive folders... [17:31:07]ProcessDocumentItem done err = 0, tmpTLVsize=293 [17:31:07]tlvbuf is 01AAD330 [17:31:07]SAM_PROTO_ClearQueue [17:31:07]wFMCommunicate request_size=4 [17:31:07]MH_SAM_APDU [17:31:07]CAPDU: 80 09 00 00 [17:31:07]Write to MH i2c: E2 08 00 6C 0F 80 09 00 00 00 00 00 00 ED [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:31:07]Read from MH i2c: E2 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 6C 0F 00 90 00 EF [17:31:07]RAPDU: 90 00 [17:31:07]wFMCommunicate OK [17:31:07]SAM_PROTO_ClearQueue done [17:31:07]KKMCreateOFDPacket [17:31:07]OFDProtocolAddRootSTLVToBuf [17:31:07]FM_MakeSignedData [17:31:07]FM_MakeSignedData [17:31:07]SAM_PROTO_SignData [17:31:07]wFMCommunicate request_size=4 [17:31:07]MH_SAM_APDU [17:31:07]CAPDU: 80 0D 01 02 [17:31:07]Write to MH i2c: E2 08 00 6D 0F 80 0D 01 02 00 00 00 00 F5 [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:31:07]Read from MH i2c: E2 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 6D 0F 00 90 00 F0 [17:31:07]RAPDU: 90 00 [17:31:07]wFMCommunicate OK [17:31:07]wFMCommunicate request_size=255 [17:31:07]MH_SAM_APDU [17:31:07]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 4A 00 00 00 F4 03 04 00 5D 68 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [17:31:07]Write to MH i2c: E2 02 01 6E 0F 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 4A 00 00 00 F4 03 04 00 5D 68 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 8A [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:07]Read from MH i2c: E2 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 6E 0F 00 90 00 F1 [17:31:07]RAPDU: 90 00 [17:31:07]wFMCommunicate OK [17:31:07]wFMCommunicate request_size=52 [17:31:07]MH_SAM_APDU [17:31:07]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DD 00 00 35 04 06 00 CE 9A 71 6F B9 FD [17:31:07]Write to MH i2c: E2 37 00 6F 0F 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DD 00 00 35 04 06 00 CE 9A 71 6F B9 FD 00 00 7E [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:07]Read from MH i2c: E2 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 03 00 6F 0F 00 90 00 F2 [17:31:07]RAPDU: 90 00 [17:31:07]wFMCommunicate OK [17:31:07]wFMCommunicate request_size=4 [17:31:07]MH_SAM_APDU [17:31:07]CAPDU: 80 0D 03 02 [17:31:07]Write to MH i2c: E2 08 00 70 0F 80 0D 03 02 00 00 00 00 FA [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:31:07]Read from MH i2c: E2 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 0B 00 [17:31:07]MH_I2C_Read... [17:31:07]Read from MH i2c: E2 0B 00 70 0F 00 58 14 56 C0 C0 5D F6 D1 90 00 61 [17:31:07]RAPDU: 58 14 56 C0 C0 5D F6 D1 90 00 [17:31:07]wFMCommunicate OK [17:31:07]SAM_PROTO_SignData done [17:31:07]FM_MakeSignedData done [17:31:07]CreateOFDProtocolMessage [17:31:07]wFMCommunicate request_size=4 [17:31:07]MH_SAM_APDU [17:31:07]CAPDU: 80 11 00 00 [17:31:07]Write to MH i2c: E2 08 00 71 0F 80 11 00 00 00 00 00 00 FA [17:31:07]Write i2c OK [17:31:07]MH_I2C_Read... [17:31:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:08]Read from MH i2c: E2 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: E2 17 00 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: E2 17 00 71 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 54 [17:31:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:31:08]wFMCommunicate OK [17:31:08]CreateOFDProtocolMessage done [17:31:08]OFDSenderStorePacket 56806 [17:31:08]StoreOFDPacket docnum=56806 [17:31:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 7F F3 31 01 50 CF 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 4A 00 00 00 F4 03 04 00 5D 68 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DD 00 00 35 04 06 00 CE 9A 71 6F B9 FD 58 14 56 C0 C0 5D F6 D1 [17:31:08]CheckFolder [17:31:08]dirname=/storage/ofd_packets [17:31:08]CheckFolder done [17:31:08]ProducePacketName [17:31:08]name=ofd_packets/00056806 [17:31:08]NVStorageSaveData ofd_packets/00056806 [17:31:08]File name is /storage/ofd_packets/00056806 [17:31:08]Write 343 bytes [17:31:08]NVStorageSaveData done [17:31:08]OFDSenderStorePacket done [17:31:08]KKMCreateOFDPacket done [17:31:08]NVStorageSaveData kkm_last_timestamp [17:31:08]File name is /storage/kkm_last_timestamp [17:31:08]Write 4 bytes [17:31:08]NVStorageSaveData done [17:31:08]ExternCall_PrintAddStr [17:31:08]wPrintStart [17:31:08]Write to MH i2c: 01 00 00 72 0F 81 [17:31:08]Write i2c OK [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 07 00 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 07 00 72 0F 00 00 00 00 00 FF 0F 96 [17:31:08]RasterBufferAndPrint [17:31:08]line Счет N : (3)129296 [17:31:08]line ИНН: 02508201610067 [17:31:08]line Контрольно-Кассовый Чек [17:31:08]line ПРОДАЖА [17:31:08]line Товар: 4700000480050 [17:31:08]line Напиток Nitro Energy эн green ж/б 0,45л [17:31:08]line 1.000 * 95.00 [17:31:08]line = 95.00 [17:31:08]line НДС 12% НСП 1% [17:31:08]line > о реализуемом товаре [17:31:08]line ИТОГО: 95.00 [17:31:08]line НСП 1% : 0.84 [17:31:08]line НДС 12% : 10.09 [17:31:08]line Наличными: 95.00 [17:31:08]line Безнал.: 0.00 [17:31:08]line Место: АЗС № 132 "Партнер Нефть" [17:31:08]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [17:31:08]line СНО: Общий режим [17:31:08]line Чек 74 12.07.2024 17:31 [17:31:08]line Смена: 494 ФФД: 1.0 [17:31:08]line ЗНМ: 0300000132 [17:31:08]line РНМ: 0000000000091208 [17:31:08]line Версия ККМ: 001 [17:31:08]line ФМ: 0000000000874857 [17:31:08]line ФД: 56806 [17:31:08]line ФПД: 227162723432957 [17:31:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173109&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56806&fm=227162723432957&tin=02508201610067®Number=0000000000091208&sum=9500 [17:31:08]OFD Sender: Processing packet 56806 [packets to send 38, broken 37] [17:31:08]ProducePacketName [17:31:08]name=ofd_packets/00056806 [17:31:08]OFD Sender: To server: pG, [17:31:08]CommunicateWithHost lk.salyk.kg:30040 [17:31:08]ConnectInit lk.salyk.kg [17:31:08]line 0 [17:31:08]written 0, free lines is 4095 [17:31:08]Connected sock=10 [17:31: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 38 35 37 39 01 00 00 7F F3 31 01 50 CF 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 4A 00 00 00 F4 03 04 00 5D 68 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DD 00 00 35 04 06 00 CE 9A 71 6F B9 FD 58 14 56 C0 C0 5D F6 D1 [17:31:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 09 EA 47 00 BA 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 38 35 37 10 04 04 00 E6 DD 00 00 F4 03 04 00 B4 0E 91 66 B6 04 01 00 00 F3 DB 2E CC 5A D1 E4 34 [17:31:08]CommunicateWithHost err = 0 [17:31:08]CheckOFDResponse [17:31:08]1017 (14) - 77093643461234 [17:31:08]1041 (16) - 0000000000874857 [17:31:08]1040 (4) - 56806 [17:31:08]1012 (4) - 12.07.2024 11:08 [17:31:08]1206 (1) - 0 [17:31:08]OFD Sender: Remove packet 56806 [17:31:08]ProducePacketName [17:31:08]name=ofd_packets/00056806 [17:31:08]NVStorageDeleteData [17:31:08]Write to MH i2c: 01 00 00 9B 0F AA [17:31:08]Write i2c OK [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 07 00 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: 01 07 00 9B 0F 00 00 00 00 00 00 0D BE [17:31:08]RasterBufferAndPrint [17:31:08]line [17:31:08]line [17:31:08]line [17:31:08]line [17:31:08]line [17:31:08]written 0, free lines is 3334 [17:31:08]MH_Cut [17:31:08]Write to MH i2c: D1 01 00 A2 0F 01 83 [17:31:08]Write i2c OK [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: D1 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: D1 01 00 [17:31:08]MH_I2C_Read... [17:31:08]Read from MH i2c: D1 01 00 A2 0F 00 82 [17:31:08]Write to MH i2c: 01 00 00 A3 0F B2 [17:31:08]Write i2c OK [17:31:08]MH_I2C_Read... [17:31:09]OFD Sender: No OFD packet to send [17:31:09]*** Cut start [17:31:09]*** Partial cut [17:31:09]*** CUTSNS_PIN = 1 [17:31:09]*** CUTSNS_PIN = 0 [17:31:09]*** Brake cut motor [17:31:10]Read from MH i2c: 01 [17:31:10]MH_I2C_Read... [17:31:10]*** Stop cut motor [17:31:10]*** Cut end [17:31:10]Read from MH i2c: 01 07 00 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: 01 07 00 A3 0F 00 00 00 00 00 FF 0F C7 [17:31:10]process_action close_receipt done [17:31:10]requested_data is exist [17:31:10]produce_requested_data [17:31:10]requested_item fm.sn is exist - process it [17:31:10]wFMCommunicate request_size=4 [17:31:10]MH_SAM_APDU [17:31:10]CAPDU: 80 11 00 00 [17:31:10]Write to MH i2c: E2 08 00 A4 0F 80 11 00 00 00 00 00 00 2D [17:31:10]Write i2c OK [17:31:10]MH_I2C_Read... [17:31:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:10]Read from MH i2c: E2 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 17 00 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 17 00 A4 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 87 [17:31:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:31:10]wFMCommunicate OK [17:31:10]requested_item fd.num is exist - process it [17:31:10]SAM_PROTO_GetFieldsCounters [17:31:10]wFMCommunicate request_size=4 [17:31:10]MH_SAM_APDU [17:31:10]CAPDU: 80 13 00 00 [17:31:10]Write to MH i2c: E2 08 00 A5 0F 80 13 00 00 00 00 00 00 30 [17:31:10]Write i2c OK [17:31:10]MH_I2C_Read... [17:31:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:31:10]Read from MH i2c: E2 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 62 00 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 62 00 A5 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [17:31: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:31:10]wFMCommunicate OK [17:31:10]SAM_PROTO_GetFieldsCounters done [17:31:10]requested_item shift.num is exist - process it [17:31:10]requested_item shift.opened is exist - process it [17:31:10]req_shift_opened [17:31:10]FM_GetShiftState [17:31:10]SAM_PROTO_GetShiftState [17:31:10]wFMCommunicate request_size=4 [17:31:10]MH_SAM_APDU [17:31:10]CAPDU: 80 13 01 00 [17:31:10]Write to MH i2c: E2 08 00 A6 0F 80 13 01 00 00 00 00 00 32 [17:31:10]Write i2c OK [17:31:10]MH_I2C_Read... [17:31:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:10]Read from MH i2c: E2 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 0E 00 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 0E 00 A6 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 33 [17:31:10]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [17:31:10]wFMCommunicate OK [17:31:10]SAM_PROTO_GetShiftState done [17:31:10]FM_GetShiftState done [17:31:10]req_shift_opened done [17:31:10]requested_item shift.open_date is exist - process it [17:31:10]req_shift_open_date [17:31:10]req_shift_open_date done [17:31:10]requested_item shift.sale.total is exist - process it [17:31:10]SAM_PROTO_GetShiftData [17:31:10]wFMCommunicate request_size=4 [17:31:10]MH_SAM_APDU [17:31:10]CAPDU: 80 13 02 00 [17:31:10]Write to MH i2c: E2 08 00 A7 0F 80 13 02 00 00 00 00 00 34 [17:31:10]Write i2c OK [17:31:10]MH_I2C_Read... [17:31:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:31:10]Read from MH i2c: E2 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 FD 00 [17:31:10]MH_I2C_Read... [17:31:10]Read from MH i2c: E2 FD 00 A7 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 F4 19 1E 70 04 03 00 08 90 17 72 04 03 00 EC 89 06 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 70 32 03 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 2D 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 B0 [17:31:10]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 F4 19 1E 70 04 03 00 08 90 17 72 04 03 00 EC 89 06 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 70 32 03 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 2D 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [17:31:10]wFMCommunicate OK [17:31:10]wFMCommunicate request_size=4 [17:31:10]MH_SAM_APDU [17:31:10]CAPDU: 80 17 00 00 [17:31:10]Write to MH i2c: E2 08 00 A8 0F 80 17 00 00 00 00 00 00 37 [17:31:10]Write i2c OK [17:31:10]MH_I2C_Read... [17:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:31:11]Read from MH i2c: E2 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 A8 0F 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 76 [17:31:11]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:31:11]wFMCommunicate OK [17:31:11]wFMCommunicate request_size=4 [17:31:11]MH_SAM_APDU [17:31:11]CAPDU: 80 17 00 00 [17:31:11]Write to MH i2c: E2 08 00 A9 0F 80 17 00 00 00 00 00 00 38 [17:31:11]Write i2c OK [17:31:11]MH_I2C_Read... [17:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:31:11]Read from MH i2c: E2 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 A9 0F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F8 [17:31:11]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:31:11]wFMCommunicate OK [17:31:11]wFMCommunicate request_size=4 [17:31:11]MH_SAM_APDU [17:31:11]CAPDU: 80 17 00 00 [17:31:11]Write to MH i2c: E2 08 00 AA 0F 80 17 00 00 00 00 00 00 39 [17:31:11]Write i2c OK [17:31:11]MH_I2C_Read... [17:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:31:11]Read from MH i2c: E2 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 [17:31:11]MH_I2C_Read... [17:31:11]Read from MH i2c: E2 FD 00 AA 0F 00 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 90 00 A8 [17:31:11]RAPDU: 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 90 00 [17:31:11]wFMCommunicate OK [17:31:11]wFMCommunicate request_size=4 [17:31:11]MH_SAM_APDU [17:31:11]CAPDU: 80 17 00 00 [17:31:11]Write to MH i2c: E2 08 00 AB 0F 80 17 00 00 00 00 00 00 3A [17:31:11]Write i2c OK [17:31:11]MH_I2C_Read... [17:31:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [17:31:12]Read from MH i2c: E2 [17:31:12]MH_I2C_Read... [17:31:12]Read from MH i2c: E2 D3 00 [17:31:12]MH_I2C_Read... [17:31:12]Read from MH i2c: E2 D3 00 AB 0F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 27 [17:31:12]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:31:12]wFMCommunicate OK [17:31:12]SAM_PROTO_GetShiftData done [17:31:12]requested_item shift.sale.total_cash is exist - process it [17:31:12]requested_item shift.sale_refund.total is exist - process it [17:31:12]requested_item shift.sale_refund.total_cash is exist - process it [17:31:12]produce_requested_data done [17:31:12]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56806,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19727.24,"shift.sale.total_cash":15442.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [17:31:12]process_action_free close_receipt [17:31:12]json_value_free [17:31:12]json_value_free done [17:31:12]process_json_proto returns [17:31:12]Send response to host [17:31:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56806,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19727.24,"shift.sale.total_cash":15442.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [17:31:12]free response buf [17:31:12]execute_script done [17:31:12]execute_script returns [17:31:12]free content buf [17:31:12]Sock 9.Close socket [17:31:12]Sock 9.Thread stoped [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]OFD Sender: No OFD packet to send [17:32:04]OFD Sender: No OFD packet to send [17:32:09]OFD Sender: No OFD packet to send [17:32:14]OFD Sender: No OFD packet to send [17:32:19]OFD Sender: No OFD packet to send [17:32:24]OFD Sender: No OFD packet to send [17:32:29]OFD Sender: No OFD packet to send [17:32:34]OFD Sender: No OFD packet to send [17:32:39]OFD Sender: No OFD packet to send [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:34]OFD Sender: No OFD packet to send [17:33:39]OFD Sender: No OFD packet to send [17:33:44]OFD Sender: No OFD packet to send [17:33:49]OFD Sender: No OFD packet to send [17:33:54]OFD Sender: No OFD packet to send [17:33:59]OFD Sender: No OFD packet to send [17:34:04]OFD Sender: No OFD packet to send [17:34:09]OFD Sender: No OFD packet to send [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:14]OFD Sender: No OFD packet to send [17:36:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [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:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]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:08]accept exits with 7 [18:11:08]New connection [18:11:08]New thread 3066781028 created [18:11:08]Thread 3066637668 joined [18:11:08]Waiting for new connection... [18:11:08] Sock 7.Parse request [18:11:08]Sock 7.Check first char [18:11:08]Sock 7.First char is OK [18:11:08]request: POST /json_proto HTTP/1.0 [18:11:08]Method: POST [18:11:08]URL: /json_proto [18:11:08]Method is POST - this is cgi request [18:11:08]url: /json_proto [18:11:08]query_string will be loaded in cgi processing [18:11:08]execute_cgi json_proto POST (null) [18:11:08]execute_cgi path=json_proto method=POST [18:11:08]POST find Content-Length [18:11:08]Host: 172.17.39.4:8080 [18:11:08]Content-Length: 713 [18:11:08]Content-Type: application/json [18:11:08] [18:11:08]POST finish read [18:11:08]Found Content-Length = 713 [18:11:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129297", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:11:08]execute_script... [18:11: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)129297", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:11:08]POST & json_proto [18:11:08]process_json_proto [18:11:08]json parsed OK: [18:11:08]protocol is kg_v1.0 [18:11:08]action value=close_receipt [18:11:08]process_action close_receipt [18:11:08]cmd_close_receipt [18:11:08]MH_GetDate [18:11:08]Write to MH i2c: F0 00 00 AC 0F AA [18:11:08]Write i2c OK [18:11:08]MH_I2C_Read... [18:11:08]Read from MH i2c: F0 [18:11:08]MH_I2C_Read... [18:11:08]Read from MH i2c: F0 09 00 [18:11:08]MH_I2C_Read... [18:11:08]Read from MH i2c: F0 09 00 AC 0F 00 BF 71 91 66 2D 25 5D 64 ED [18:11:08]GetLastDocTimeStamp 1720805469 [18:11:08]current date 1720807871 [18:11:08]FM_GetShiftState [18:11:08]SAM_PROTO_GetShiftState [18:11:08]wFMCommunicate request_size=4 [18:11:08]MH_SAM_APDU [18:11:08]CAPDU: 80 13 01 00 [18:11:08]Write to MH i2c: E2 08 00 AD 0F 80 13 01 00 00 00 00 00 39 [18:11:08]Write i2c OK [18:11:08]MH_I2C_Read... [18:11:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:08]Read from MH i2c: E2 [18:11:08]MH_I2C_Read... [18:11:08]Read from MH i2c: E2 0E 00 [18:11:08]MH_I2C_Read... [18:11:08]Read from MH i2c: E2 0E 00 AD 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 3A [18:11:08]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:11:08]wFMCommunicate OK [18:11:08]SAM_PROTO_GetShiftState done [18:11:08]FM_GetShiftState done [18:11:08]opened in 1720744326 [18:11:08]opened+sec_in_day 1720830726 [18:11:08]quantity*price = 13000 [18:11:08]sum+1 = 13001 [18:11:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 75 12.07.2024 18:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56807 ФПД: 126646151217787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181111&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56807&fm=126646151217787&tin=02508201610067®Number=0000000000091208&sum=13000 0 [18:11:09]StoreToDocumentArchive [18:11:09]shift 494 fd 56807 [18:11:09]save to /storage/0494/doc_00056807 [18:11:09]save last doc name /storage/0494/doc_00056807 to /storage/kkm_last_doc_name [18:11:09]save OK [18:11:09]Clear old archive folders... [18:11:09]ProcessDocumentItem done err = 0, tmpTLVsize=261 [18:11:09]tlvbuf is 01AAD910 [18:11:09]SAM_PROTO_ClearQueue [18:11:09]wFMCommunicate request_size=4 [18:11:09]MH_SAM_APDU [18:11:09]CAPDU: 80 09 00 00 [18:11:09]Write to MH i2c: E2 08 00 BA 0F 80 09 00 00 00 00 00 00 3B [18:11:09]Write i2c OK [18:11:09]MH_I2C_Read... [18:11:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:11:09]Read from MH i2c: E2 [18:11:09]MH_I2C_Read... [18:11:09]Read from MH i2c: E2 03 00 [18:11:09]MH_I2C_Read... [18:11:09]Read from MH i2c: E2 03 00 BA 0F 00 90 00 3D [18:11:09]RAPDU: 90 00 [18:11:09]wFMCommunicate OK [18:11:09]SAM_PROTO_ClearQueue done [18:11:09]KKMCreateOFDPacket [18:11:09]OFDProtocolAddRootSTLVToBuf [18:11:09]FM_MakeSignedData [18:11:09]FM_MakeSignedData [18:11:09]SAM_PROTO_SignData [18:11:09]wFMCommunicate request_size=4 [18:11:09]MH_SAM_APDU [18:11:09]CAPDU: 80 0D 01 02 [18:11:09]Write to MH i2c: E2 08 00 BB 0F 80 0D 01 02 00 00 00 00 43 [18:11:09]Write i2c OK [18:11:09]MH_I2C_Read... [18:11:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:11:09]Read from MH i2c: E2 [18:11:09]MH_I2C_Read... [18:11:09]Read from MH i2c: E2 03 00 [18:11:09]MH_I2C_Read... [18:11:09]Read from MH i2c: E2 03 00 BB 0F 00 90 00 3E [18:11:09]RAPDU: 90 00 [18:11:09]wFMCommunicate OK [18:11:09]wFMCommunicate request_size=255 [18:11:09]MH_SAM_APDU [18:11:09]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 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 4B 00 00 00 F4 03 04 00 BF 71 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 [18:11:09]Write to MH i2c: E2 02 01 BC 0F 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 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 4B 00 00 00 F4 03 04 00 BF 71 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 4E [18:11:09]Write i2c OK [18:11:09]MH_I2C_Read... [18:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:10]Read from MH i2c: E2 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 03 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 03 00 BC 0F 00 90 00 3F [18:11:10]RAPDU: 90 00 [18:11:10]wFMCommunicate OK [18:11:10]wFMCommunicate request_size=20 [18:11:10]MH_SAM_APDU [18:11:10]CAPDU: 80 0D 02 02 0F 00 E7 DD 00 00 35 04 06 00 73 2F 1A DB 02 7B [18:11:10]Write to MH i2c: E2 17 00 BD 0F 80 0D 02 02 0F 00 00 E7 DD 00 00 35 04 06 00 73 2F 1A DB 02 7B 00 00 7B [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:10]Read from MH i2c: E2 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 03 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 03 00 BD 0F 00 90 00 40 [18:11:10]RAPDU: 90 00 [18:11:10]wFMCommunicate OK [18:11:10]wFMCommunicate request_size=4 [18:11:10]MH_SAM_APDU [18:11:10]CAPDU: 80 0D 03 02 [18:11:10]Write to MH i2c: E2 08 00 BE 0F 80 0D 03 02 00 00 00 00 48 [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:11:10]Read from MH i2c: E2 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 0B 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 0B 00 BE 0F 00 B2 77 D3 60 31 8C DD 63 90 00 A2 [18:11:10]RAPDU: B2 77 D3 60 31 8C DD 63 90 00 [18:11:10]wFMCommunicate OK [18:11:10]SAM_PROTO_SignData done [18:11:10]FM_MakeSignedData done [18:11:10]CreateOFDProtocolMessage [18:11:10]wFMCommunicate request_size=4 [18:11:10]MH_SAM_APDU [18:11:10]CAPDU: 80 11 00 00 [18:11:10]Write to MH i2c: E2 08 00 BF 0F 80 11 00 00 00 00 00 00 48 [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:10]Read from MH i2c: E2 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 17 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: E2 17 00 BF 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A2 [18:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:11:10]wFMCommunicate OK [18:11:10]CreateOFDProtocolMessage done [18:11:10]OFDSenderStorePacket 56807 [18:11:10]StoreOFDPacket docnum=56807 [18:11:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 19 01 00 00 81 00 11 01 36 A6 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 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 4B 00 00 00 F4 03 04 00 BF 71 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DD 00 00 35 04 06 00 73 2F 1A DB 02 7B B2 77 D3 60 31 8C DD 63 [18:11:10]CheckFolder [18:11:10]dirname=/storage/ofd_packets [18:11:10]CheckFolder done [18:11:10]ProducePacketName [18:11:10]name=ofd_packets/00056807 [18:11:10]NVStorageSaveData ofd_packets/00056807 [18:11:10]File name is /storage/ofd_packets/00056807 [18:11:10]Write 311 bytes [18:11:10]NVStorageSaveData done [18:11:10]OFDSenderStorePacket done [18:11:10]KKMCreateOFDPacket done [18:11:10]NVStorageSaveData kkm_last_timestamp [18:11:10]File name is /storage/kkm_last_timestamp [18:11:10]Write 4 bytes [18:11:10]NVStorageSaveData done [18:11:10]ExternCall_PrintAddStr [18:11:10]wPrintStart [18:11:10]Write to MH i2c: 01 00 00 C0 0F CF [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 07 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 07 00 C0 0F 00 00 00 00 00 FF 0F E4 [18:11:10]RasterBufferAndPrint [18:11:10]line Счет N : (3)129297 [18:11:10]line ИНН: 02508201610067 [18:11:10]line Контрольно-Кассовый Чек [18:11:10]line ПРОДАЖА [18:11:10]line Товар: 48741156 [18:11:10]line Сигареты LD Blue [18:11:10]line 1.000 * 130.00 [18:11:10]line = 130.00 [18:11:10]line НДС 12% НСП 1% [18:11:10]line > о реализуемом товаре [18:11:10]line ИТОГО: 130.00 [18:11:10]line НСП 1% : 1.15 [18:11:10]line НДС 12% : 13.80 [18:11:10]line Наличными: 130.00 [18:11:10]line Безнал.: 0.00 [18:11:10]line Место: АЗС № 132 "Партнер Нефть" [18:11:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:11:10]line СНО: Общий режим [18:11:10]line Чек 75 12.07.2024 18:11 [18:11:10]line Смена: 494 ФФД: 1.0 [18:11:10]line ЗНМ: 0300000132 [18:11:10]line РНМ: 0000000000091208 [18:11:10]line Версия ККМ: 001 [18:11:10]line ФМ: 0000000000874857 [18:11:10]line ФД: 56807 [18:11:10]line ФПД: 126646151217787 [18:11:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181111&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56807&fm=126646151217787&tin=02508201610067®Number=0000000000091208&sum=13000 [18:11:10]line 0 [18:11:10]written 0, free lines is 4095 [18:11:10]OFD Sender: Processing packet 56807 [packets to send 38, broken 37] [18:11:10]ProducePacketName [18:11:10]name=ofd_packets/00056807 [18:11:10]OFD Sender: To server: pG, [18:11:10]CommunicateWithHost lk.salyk.kg:30040 [18:11:10]ConnectInit lk.salyk.kg [18:11:10]Connected sock=11 [18:11: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 38 35 37 19 01 00 00 81 00 11 01 36 A6 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 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 4B 00 00 00 F4 03 04 00 BF 71 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DD 00 00 35 04 06 00 73 2F 1A DB 02 7B B2 77 D3 60 31 8C DD 63 [18:11:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 79 6F 47 00 A9 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DD 00 00 F4 03 04 00 16 18 91 66 B6 04 01 00 00 91 02 4C CE 34 1A 2D 6C [18:11:10]CommunicateWithHost err = 0 [18:11:10]CheckOFDResponse [18:11:10]1017 (14) - 77093643461234 [18:11:10]1041 (16) - 0000000000874857 [18:11:10]1040 (4) - 56807 [18:11:10]1012 (4) - 12.07.2024 11:48 [18:11:10]1206 (1) - 0 [18:11:10]OFD Sender: Remove packet 56807 [18:11:10]ProducePacketName [18:11:10]name=ofd_packets/00056807 [18:11:10]NVStorageDeleteData [18:11:10]Write to MH i2c: 01 00 00 E8 0F F7 [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 07 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: 01 07 00 E8 0F 00 00 00 00 00 09 0D 14 [18:11:10]RasterBufferAndPrint [18:11:10]line [18:11:10]line [18:11:10]line [18:11:10]line [18:11:10]line [18:11:10]written 0, free lines is 3343 [18:11:10]MH_Cut [18:11:10]Write to MH i2c: D1 01 00 EF 0F 01 D0 [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: D1 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: D1 01 00 [18:11:10]MH_I2C_Read... [18:11:10]Read from MH i2c: D1 01 00 EF 0F 00 CF [18:11:10]Write to MH i2c: 01 00 00 F0 0F FF [18:11:10]Write i2c OK [18:11:10]MH_I2C_Read... [18:11:11]OFD Sender: No OFD packet to send [18:11:11]*** Cut start [18:11:11]*** Partial cut [18:11:11]*** CUTSNS_PIN = 1 [18:11:11]*** CUTSNS_PIN = 0 [18:11:11]*** Brake cut motor [18:11:12]Read from MH i2c: 01 [18:11:12]MH_I2C_Read... [18:11:12]*** Stop cut motor [18:11:12]*** Cut end [18:11:12]Read from MH i2c: 01 07 00 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: 01 07 00 F0 0F 00 00 00 00 00 FF 0F 14 [18:11:12]process_action close_receipt done [18:11:12]requested_data is exist [18:11:12]produce_requested_data [18:11:12]requested_item fm.sn is exist - process it [18:11:12]wFMCommunicate request_size=4 [18:11:12]MH_SAM_APDU [18:11:12]CAPDU: 80 11 00 00 [18:11:12]Write to MH i2c: E2 08 00 F1 0F 80 11 00 00 00 00 00 00 7A [18:11:12]Write i2c OK [18:11:12]MH_I2C_Read... [18:11:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:12]Read from MH i2c: E2 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 17 00 [18:11:12]MH_I2C_Read... [18:11:12]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 38 35 37 90 00 D4 [18:11:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:11:12]wFMCommunicate OK [18:11:12]requested_item fd.num is exist - process it [18:11:12]SAM_PROTO_GetFieldsCounters [18:11:12]wFMCommunicate request_size=4 [18:11:12]MH_SAM_APDU [18:11:12]CAPDU: 80 13 00 00 [18:11:12]Write to MH i2c: E2 08 00 F2 0F 80 13 00 00 00 00 00 00 7D [18:11:12]Write i2c OK [18:11:12]MH_I2C_Read... [18:11:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:11:12]Read from MH i2c: E2 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 62 00 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 62 00 F2 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E7 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [18:11: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E7 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:11:12]wFMCommunicate OK [18:11:12]SAM_PROTO_GetFieldsCounters done [18:11:12]requested_item shift.num is exist - process it [18:11:12]requested_item shift.opened is exist - process it [18:11:12]req_shift_opened [18:11:12]FM_GetShiftState [18:11:12]SAM_PROTO_GetShiftState [18:11:12]wFMCommunicate request_size=4 [18:11:12]MH_SAM_APDU [18:11:12]CAPDU: 80 13 01 00 [18:11:12]Write to MH i2c: E2 08 00 F3 0F 80 13 01 00 00 00 00 00 7F [18:11:12]Write i2c OK [18:11:12]MH_I2C_Read... [18:11:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:12]Read from MH i2c: E2 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 0E 00 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 0E 00 F3 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 80 [18:11:12]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:11:12]wFMCommunicate OK [18:11:12]SAM_PROTO_GetShiftState done [18:11:12]FM_GetShiftState done [18:11:12]req_shift_opened done [18:11:12]requested_item shift.open_date is exist - process it [18:11:12]req_shift_open_date [18:11:12]req_shift_open_date done [18:11:12]requested_item shift.sale.total is exist - process it [18:11:12]SAM_PROTO_GetShiftData [18:11:12]wFMCommunicate request_size=4 [18:11:12]MH_SAM_APDU [18:11:12]CAPDU: 80 13 02 00 [18:11:12]Write to MH i2c: E2 08 00 F4 0F 80 13 02 00 00 00 00 00 81 [18:11:12]Write i2c OK [18:11:12]MH_I2C_Read... [18:11:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:11:12]Read from MH i2c: E2 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 FD 00 [18:11:12]MH_I2C_Read... [18:11:12]Read from MH i2c: E2 FD 00 F4 0F 00 B6 04 AA 04 B2 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 BC 4C 1E 70 04 03 00 D0 C2 17 72 04 03 00 EC 89 06 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 D4 37 03 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 A0 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 D0 [18:11:12]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 BC 4C 1E 70 04 03 00 D0 C2 17 72 04 03 00 EC 89 06 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 D4 37 03 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 A0 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:11:12]wFMCommunicate OK [18:11:12]wFMCommunicate request_size=4 [18:11:12]MH_SAM_APDU [18:11:12]CAPDU: 80 17 00 00 [18:11:12]Write to MH i2c: E2 08 00 F5 0F 80 17 00 00 00 00 00 00 84 [18:11:12]Write i2c OK [18:11:12]MH_I2C_Read... [18:11:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:11:13]Read from MH i2c: E2 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 F5 0F 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [18:11:13]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:11:13]wFMCommunicate OK [18:11:13]wFMCommunicate request_size=4 [18:11:13]MH_SAM_APDU [18:11:13]CAPDU: 80 17 00 00 [18:11:13]Write to MH i2c: E2 08 00 F6 0F 80 17 00 00 00 00 00 00 85 [18:11:13]Write i2c OK [18:11:13]MH_I2C_Read... [18:11:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:11:13]Read from MH i2c: E2 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 F6 0F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 45 [18:11:13]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:11:13]wFMCommunicate OK [18:11:13]wFMCommunicate request_size=4 [18:11:13]MH_SAM_APDU [18:11:13]CAPDU: 80 17 00 00 [18:11:13]Write to MH i2c: E2 08 00 F7 0F 80 17 00 00 00 00 00 00 86 [18:11:13]Write i2c OK [18:11:13]MH_I2C_Read... [18:11:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:11:13]Read from MH i2c: E2 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 [18:11:13]MH_I2C_Read... [18:11:13]Read from MH i2c: E2 FD 00 F7 0F 00 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 90 00 F5 [18:11:13]RAPDU: 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 90 00 [18:11:13]wFMCommunicate OK [18:11:13]wFMCommunicate request_size=4 [18:11:13]MH_SAM_APDU [18:11:13]CAPDU: 80 17 00 00 [18:11:13]Write to MH i2c: E2 08 00 F8 0F 80 17 00 00 00 00 00 00 87 [18:11:13]Write i2c OK [18:11:13]MH_I2C_Read... [18:11:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:11:14]Read from MH i2c: E2 [18:11:14]MH_I2C_Read... [18:11:14]Read from MH i2c: E2 D3 00 [18:11:14]MH_I2C_Read... [18:11:14]Read from MH i2c: E2 D3 00 F8 0F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 74 [18:11:14]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:11:14]wFMCommunicate OK [18:11:14]SAM_PROTO_GetShiftData done [18:11:14]requested_item shift.sale.total_cash is exist - process it [18:11:14]requested_item shift.sale_refund.total is exist - process it [18:11:14]requested_item shift.sale_refund.total_cash is exist - process it [18:11:14]produce_requested_data done [18:11:14]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56807,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19857.24,"shift.sale.total_cash":15572.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:11:14]process_action_free close_receipt [18:11:14]json_value_free [18:11:14]json_value_free done [18:11:14]process_json_proto returns [18:11:14]Send response to host [18:11:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56807,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19857.24,"shift.sale.total_cash":15572.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:11:14]free response buf [18:11:14]execute_script done [18:11:14]execute_script returns [18:11:14]free content buf [18:11:14]Sock 7.Close socket [18:11:14]Sock 7.Thread stoped [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:43]accept exits with 9 [18:18:43]New connection [18:18:43]New thread 3066637668 created [18:18:43]Thread 3066781028 joined [18:18:43]Waiting for new connection... [18:18:43] Sock 9.Parse request [18:18:43]Sock 9.Check first char [18:18:43]Sock 9.First char is OK [18:18:43]request: POST /json_proto HTTP/1.0 [18:18:43]Method: POST [18:18:43]URL: /json_proto [18:18:43]Method is POST - this is cgi request [18:18:43]url: /json_proto [18:18:43]query_string will be loaded in cgi processing [18:18:43]execute_cgi json_proto POST (null) [18:18:43]execute_cgi path=json_proto method=POST [18:18:43]POST find Content-Length [18:18:43]Host: 172.17.39.4:8080 [18:18:43]Content-Length: 809 [18:18:43]Content-Type: application/json [18:18:43] [18:18:43]POST finish read [18:18:43]Found Content-Length = 809 [18:18:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129298", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:18:43]execute_script... [18:18: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)129298", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:18:43]POST & json_proto [18:18:43]process_json_proto [18:18:43]json parsed OK: [18:18:43]protocol is kg_v1.0 [18:18:43]action value=close_receipt [18:18:43]process_action close_receipt [18:18:43]cmd_close_receipt [18:18:43]MH_GetDate [18:18:43]Write to MH i2c: F0 00 00 F9 0F F7 [18:18:43]Write i2c OK [18:18:43]MH_I2C_Read... [18:18:43]Read from MH i2c: F0 [18:18:43]MH_I2C_Read... [18:18:43]Read from MH i2c: F0 09 00 [18:18:43]MH_I2C_Read... [18:18:43]Read from MH i2c: F0 09 00 F9 0F 00 86 73 91 66 2D 25 5D 64 03 [18:18:43]GetLastDocTimeStamp 1720807871 [18:18:43]current date 1720808326 [18:18:43]FM_GetShiftState [18:18:43]SAM_PROTO_GetShiftState [18:18:43]wFMCommunicate request_size=4 [18:18:43]MH_SAM_APDU [18:18:43]CAPDU: 80 13 01 00 [18:18:43]Write to MH i2c: E2 08 00 FA 0F 80 13 01 00 00 00 00 00 86 [18:18:43]Write i2c OK [18:18:43]MH_I2C_Read... [18:18:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:18:43]Read from MH i2c: E2 [18:18:43]MH_I2C_Read... [18:18:43]Read from MH i2c: E2 0E 00 [18:18:43]MH_I2C_Read... [18:18:43]Read from MH i2c: E2 0E 00 FA 0F 00 09 00 01 86 79 90 66 00 00 00 00 90 00 87 [18:18:43]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:18:43]wFMCommunicate OK [18:18:43]SAM_PROTO_GetShiftState done [18:18:43]FM_GetShiftState done [18:18:43]opened in 1720744326 [18:18:43]opened+sec_in_day 1720830726 [18:18:43]quantity*price = 7500 [18:18:43]sum+1 = 7501 [18:18:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 76 12.07.2024 18:18 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56808 ФПД: 274194333824002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181846&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56808&fm=274194333824002&tin=02508201610067®Number=0000000000091208&sum=7500 0 [18:18:44]StoreToDocumentArchive [18:18:44]shift 494 fd 56808 [18:18:44]save to /storage/0494/doc_00056808 [18:18:44]save last doc name /storage/0494/doc_00056808 to /storage/kkm_last_doc_name [18:18:44]save OK [18:18:44]Clear old archive folders... [18:18:44]ProcessDocumentItem done err = 0, tmpTLVsize=300 [18:18:44]tlvbuf is 01AADC40 [18:18:44]SAM_PROTO_ClearQueue [18:18:44]wFMCommunicate request_size=4 [18:18:44]MH_SAM_APDU [18:18:44]CAPDU: 80 09 00 00 [18:18:44]Write to MH i2c: E2 08 00 07 10 80 09 00 00 00 00 00 00 89 [18:18:44]Write i2c OK [18:18:44]MH_I2C_Read... [18:18:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:18:44]Read from MH i2c: E2 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 07 10 00 90 00 8B [18:18:44]RAPDU: 90 00 [18:18:44]wFMCommunicate OK [18:18:44]SAM_PROTO_ClearQueue done [18:18:44]KKMCreateOFDPacket [18:18:44]OFDProtocolAddRootSTLVToBuf [18:18:44]FM_MakeSignedData [18:18:44]FM_MakeSignedData [18:18:44]SAM_PROTO_SignData [18:18:44]wFMCommunicate request_size=4 [18:18:44]MH_SAM_APDU [18:18:44]CAPDU: 80 0D 01 02 [18:18:44]Write to MH i2c: E2 08 00 08 10 80 0D 01 02 00 00 00 00 91 [18:18:44]Write i2c OK [18:18:44]MH_I2C_Read... [18:18:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:18:44]Read from MH i2c: E2 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 08 10 00 90 00 8C [18:18:44]RAPDU: 90 00 [18:18:44]wFMCommunicate OK [18:18:44]wFMCommunicate request_size=255 [18:18:44]MH_SAM_APDU [18:18:44]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 86 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 [18:18:44]Write to MH i2c: E2 02 01 09 10 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 86 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 27 [18:18:44]Write i2c OK [18:18:44]MH_I2C_Read... [18:18:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:18:44]Read from MH i2c: E2 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 [18:18:44]MH_I2C_Read... [18:18:44]Read from MH i2c: E2 03 00 09 10 00 90 00 8D [18:18:44]RAPDU: 90 00 [18:18:44]wFMCommunicate OK [18:18:44]wFMCommunicate request_size=59 [18:18:44]MH_SAM_APDU [18:18:44]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DD 00 00 35 04 06 00 F9 60 D7 DD F4 02 [18:18:44]Write to MH i2c: E2 3E 00 0A 10 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DD 00 00 35 04 06 00 F9 60 D7 DD F4 02 00 00 7F [18:18:44]Write i2c OK [18:18:44]MH_I2C_Read... [18:18:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:18:45]Read from MH i2c: E2 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 03 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 03 00 0A 10 00 90 00 8E [18:18:45]RAPDU: 90 00 [18:18:45]wFMCommunicate OK [18:18:45]wFMCommunicate request_size=4 [18:18:45]MH_SAM_APDU [18:18:45]CAPDU: 80 0D 03 02 [18:18:45]Write to MH i2c: E2 08 00 0B 10 80 0D 03 02 00 00 00 00 96 [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:18:45]Read from MH i2c: E2 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 0B 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 0B 00 0B 10 00 1D 6B 69 0D 89 70 CA D2 90 00 2A [18:18:45]RAPDU: 1D 6B 69 0D 89 70 CA D2 90 00 [18:18:45]wFMCommunicate OK [18:18:45]SAM_PROTO_SignData done [18:18:45]FM_MakeSignedData done [18:18:45]CreateOFDProtocolMessage [18:18:45]wFMCommunicate request_size=4 [18:18:45]MH_SAM_APDU [18:18:45]CAPDU: 80 11 00 00 [18:18:45]Write to MH i2c: E2 08 00 0C 10 80 11 00 00 00 00 00 00 96 [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:18:45]Read from MH i2c: E2 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 17 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: E2 17 00 0C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F0 [18:18:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:18:45]wFMCommunicate OK [18:18:45]CreateOFDProtocolMessage done [18:18:45]OFDSenderStorePacket 56808 [18:18:45]StoreOFDPacket docnum=56808 [18:18:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 40 01 00 00 36 06 38 01 28 48 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 86 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DD 00 00 35 04 06 00 F9 60 D7 DD F4 02 1D 6B 69 0D 89 70 CA D2 [18:18:45]CheckFolder [18:18:45]dirname=/storage/ofd_packets [18:18:45]CheckFolder done [18:18:45]ProducePacketName [18:18:45]name=ofd_packets/00056808 [18:18:45]NVStorageSaveData ofd_packets/00056808 [18:18:45]File name is /storage/ofd_packets/00056808 [18:18:45]Write 350 bytes [18:18:45]NVStorageSaveData done [18:18:45]OFDSenderStorePacket done [18:18:45]KKMCreateOFDPacket done [18:18:45]NVStorageSaveData kkm_last_timestamp [18:18:45]File name is /storage/kkm_last_timestamp [18:18:45]Write 4 bytes [18:18:45]NVStorageSaveData done [18:18:45]ExternCall_PrintAddStr [18:18:45]wPrintStart [18:18:45]Write to MH i2c: 01 00 00 0D 10 1D [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 07 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 07 00 0D 10 00 00 00 00 00 FF 0F 32 [18:18:45]RasterBufferAndPrint [18:18:45]line Счет N : (3)129298 [18:18:45]line ИНН: 02508201610067 [18:18:45]line Контрольно-Кассовый Чек [18:18:45]line ПРОДАЖА [18:18:45]line Товар: 5449000189349 [18:18:45]line Холодный чай Fuse манго ананас 0,5л [18:18:45]line 1.000 * 75.00 [18:18:45]line = 75.00 [18:18:45]line НДС 12% НСП 1% [18:18:45]line > о реализуемом товаре [18:18:45]line ИТОГО: 75.00 [18:18:45]line НСП 1% : 0.66 [18:18:45]line НДС 12% : 7.96 [18:18:45]line Наличными: 75.00 [18:18:45]line Безнал.: 0.00 [18:18:45]line Место: АЗС № 132 "Партнер Нефть" [18:18:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:18:45]line СНО: Общий режим [18:18:45]line Чек 76 12.07.2024 18:18 [18:18:45]line Смена: 494 ФФД: 1.0 [18:18:45]line ЗНМ: 0300000132 [18:18:45]line РНМ: 0000000000091208 [18:18:45]line Версия ККМ: 001 [18:18:45]line ФМ: 0000000000874857 [18:18:45]line ФД: 56808 [18:18:45]line ФПД: 274194333824002 [18:18:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181846&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56808&fm=274194333824002&tin=02508201610067®Number=0000000000091208&sum=7500 [18:18:45]line 0 [18:18:45]OFD Sender: Processing packet 56808 [packets to send 38, broken 37] [18:18:45]ProducePacketName [18:18:45]name=ofd_packets/00056808 [18:18:45]OFD Sender: To server: pG, [18:18:45]CommunicateWithHost lk.salyk.kg:30040 [18:18:45]ConnectInit lk.salyk.kg [18:18:45]written 0, free lines is 4095 [18:18:45]Connected sock=10 [18:18: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 38 35 37 40 01 00 00 36 06 38 01 28 48 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 86 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DD 00 00 35 04 06 00 F9 60 D7 DD F4 02 1D 6B 69 0D 89 70 CA D2 [18:18:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9A 7C 47 00 0F 17 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 38 35 37 10 04 04 00 E8 DD 00 00 F4 03 04 00 DD 19 91 66 B6 04 01 00 00 D5 4D 73 FA 30 F4 80 45 [18:18:45]CommunicateWithHost err = 0 [18:18:45]CheckOFDResponse [18:18:45]1017 (14) - 77093643461234 [18:18:45]1041 (16) - 0000000000874857 [18:18:45]1040 (4) - 56808 [18:18:45]1012 (4) - 12.07.2024 11:56 [18:18:45]1206 (1) - 0 [18:18:45]OFD Sender: Remove packet 56808 [18:18:45]ProducePacketName [18:18:45]name=ofd_packets/00056808 [18:18:45]NVStorageDeleteData [18:18:45]Write to MH i2c: 01 00 00 36 10 46 [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 07 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: 01 07 00 36 10 00 00 00 00 00 EB 0C 44 [18:18:45]RasterBufferAndPrint [18:18:45]line [18:18:45]line [18:18:45]line [18:18:45]line [18:18:45]line [18:18:45]written 0, free lines is 3314 [18:18:45]MH_Cut [18:18:45]Write to MH i2c: D1 01 00 3D 10 01 1F [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: D1 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: D1 01 00 [18:18:45]MH_I2C_Read... [18:18:45]Read from MH i2c: D1 01 00 3D 10 00 1E [18:18:45]Write to MH i2c: 01 00 00 3E 10 4E [18:18:45]Write i2c OK [18:18:45]MH_I2C_Read... [18:18:46]OFD Sender: No OFD packet to send [18:18:46]*** Cut start [18:18:46]*** Partial cut [18:18:46]*** CUTSNS_PIN = 1 [18:18:46]*** CUTSNS_PIN = 0 [18:18:46]*** Brake cut motor [18:18:47]Read from MH i2c: 01 [18:18:47]MH_I2C_Read... [18:18:47]*** Stop cut motor [18:18:47]*** Cut end [18:18:47]Read from MH i2c: 01 07 00 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: 01 07 00 3E 10 00 00 00 00 00 FF 0F 63 [18:18:47]process_action close_receipt done [18:18:47]requested_data is exist [18:18:47]produce_requested_data [18:18:47]requested_item fm.sn is exist - process it [18:18:47]wFMCommunicate request_size=4 [18:18:47]MH_SAM_APDU [18:18:47]CAPDU: 80 11 00 00 [18:18:47]Write to MH i2c: E2 08 00 3F 10 80 11 00 00 00 00 00 00 C9 [18:18:47]Write i2c OK [18:18:47]MH_I2C_Read... [18:18:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:18:47]Read from MH i2c: E2 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 17 00 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 17 00 3F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 23 [18:18:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:18:47]wFMCommunicate OK [18:18:47]requested_item fd.num is exist - process it [18:18:47]SAM_PROTO_GetFieldsCounters [18:18:47]wFMCommunicate request_size=4 [18:18:47]MH_SAM_APDU [18:18:47]CAPDU: 80 13 00 00 [18:18:47]Write to MH i2c: E2 08 00 40 10 80 13 00 00 00 00 00 00 CC [18:18:47]Write i2c OK [18:18:47]MH_I2C_Read... [18:18:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:18:47]Read from MH i2c: E2 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 62 00 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 62 00 40 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E8 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [18:18: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E8 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:18:47]wFMCommunicate OK [18:18:47]SAM_PROTO_GetFieldsCounters done [18:18:47]requested_item shift.num is exist - process it [18:18:47]requested_item shift.opened is exist - process it [18:18:47]req_shift_opened [18:18:47]FM_GetShiftState [18:18:47]SAM_PROTO_GetShiftState [18:18:47]wFMCommunicate request_size=4 [18:18:47]MH_SAM_APDU [18:18:47]CAPDU: 80 13 01 00 [18:18:47]Write to MH i2c: E2 08 00 41 10 80 13 01 00 00 00 00 00 CE [18:18:47]Write i2c OK [18:18:47]MH_I2C_Read... [18:18:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:18:47]Read from MH i2c: E2 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 0E 00 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 0E 00 41 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CF [18:18:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:18:47]wFMCommunicate OK [18:18:47]SAM_PROTO_GetShiftState done [18:18:47]FM_GetShiftState done [18:18:47]req_shift_opened done [18:18:47]requested_item shift.open_date is exist - process it [18:18:47]req_shift_open_date [18:18:47]req_shift_open_date done [18:18:47]requested_item shift.sale.total is exist - process it [18:18:47]SAM_PROTO_GetShiftData [18:18:47]wFMCommunicate request_size=4 [18:18:47]MH_SAM_APDU [18:18:47]CAPDU: 80 13 02 00 [18:18:47]Write to MH i2c: E2 08 00 42 10 80 13 02 00 00 00 00 00 D0 [18:18:47]Write i2c OK [18:18:47]MH_I2C_Read... [18:18:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:18:47]Read from MH i2c: E2 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 FD 00 [18:18:47]MH_I2C_Read... [18:18:47]Read from MH i2c: E2 FD 00 42 10 00 B6 04 AA 04 B2 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 08 6A 1E 70 04 03 00 1C E0 17 72 04 03 00 EC 89 06 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 F0 3A 03 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 E2 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 56 [18:18:47]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 08 6A 1E 70 04 03 00 1C E0 17 72 04 03 00 EC 89 06 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 F0 3A 03 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 E2 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:18:47]wFMCommunicate OK [18:18:47]wFMCommunicate request_size=4 [18:18:47]MH_SAM_APDU [18:18:47]CAPDU: 80 17 00 00 [18:18:47]Write to MH i2c: E2 08 00 43 10 80 17 00 00 00 00 00 00 D3 [18:18:47]Write i2c OK [18:18:47]MH_I2C_Read... [18:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:18:48]Read from MH i2c: E2 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 43 10 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 12 [18:18:48]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:18:48]wFMCommunicate OK [18:18:48]wFMCommunicate request_size=4 [18:18:48]MH_SAM_APDU [18:18:48]CAPDU: 80 17 00 00 [18:18:48]Write to MH i2c: E2 08 00 44 10 80 17 00 00 00 00 00 00 D4 [18:18:48]Write i2c OK [18:18:48]MH_I2C_Read... [18:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:18:48]Read from MH i2c: E2 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 44 10 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 94 [18:18:48]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:18:48]wFMCommunicate OK [18:18:48]wFMCommunicate request_size=4 [18:18:48]MH_SAM_APDU [18:18:48]CAPDU: 80 17 00 00 [18:18:48]Write to MH i2c: E2 08 00 45 10 80 17 00 00 00 00 00 00 D5 [18:18:48]Write i2c OK [18:18:48]MH_I2C_Read... [18:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:18:48]Read from MH i2c: E2 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 [18:18:48]MH_I2C_Read... [18:18:48]Read from MH i2c: E2 FD 00 45 10 00 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 90 00 44 [18:18:48]RAPDU: 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 90 00 [18:18:48]wFMCommunicate OK [18:18:48]wFMCommunicate request_size=4 [18:18:48]MH_SAM_APDU [18:18:48]CAPDU: 80 17 00 00 [18:18:48]Write to MH i2c: E2 08 00 46 10 80 17 00 00 00 00 00 00 D6 [18:18:48]Write i2c OK [18:18:48]MH_I2C_Read... [18:18:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:18:49]Read from MH i2c: E2 [18:18:49]MH_I2C_Read... [18:18:49]Read from MH i2c: E2 D3 00 [18:18:49]MH_I2C_Read... [18:18:49]Read from MH i2c: E2 D3 00 46 10 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C3 [18:18:49]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:18:49]wFMCommunicate OK [18:18:49]SAM_PROTO_GetShiftData done [18:18:49]requested_item shift.sale.total_cash is exist - process it [18:18:49]requested_item shift.sale_refund.total is exist - process it [18:18:49]requested_item shift.sale_refund.total_cash is exist - process it [18:18:49]produce_requested_data done [18:18:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56808,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19932.24,"shift.sale.total_cash":15647.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:18:49]process_action_free close_receipt [18:18:49]json_value_free [18:18:49]json_value_free done [18:18:49]process_json_proto returns [18:18:49]Send response to host [18:18:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56808,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":19932.24,"shift.sale.total_cash":15647.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:18:49]free response buf [18:18:49]execute_script done [18:18:49]execute_script returns [18:18:49]free content buf [18:18:49]Sock 9.Close socket [18:18:49]Sock 9.Thread stoped [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:49]accept exits with 7 [18:19:49]New connection [18:19:49]New thread 3066781028 created [18:19:49]Thread 3066637668 joined [18:19:49]Waiting for new connection... [18:19:49] Sock 7.Parse request [18:19:49]Sock 7.Check first char [18:19:49]Sock 7.First char is OK [18:19:49]request: POST /json_proto HTTP/1.0 [18:19:49]Method: POST [18:19:49]URL: /json_proto [18:19:49]Method is POST - this is cgi request [18:19:49]url: /json_proto [18:19:49]query_string will be loaded in cgi processing [18:19:49]execute_cgi json_proto POST (null) [18:19:49]execute_cgi path=json_proto method=POST [18:19:49]POST find Content-Length [18:19:49]Host: 172.17.39.4:8080 [18:19:49]Content-Length: 730 [18:19:49]Content-Type: application/json [18:19:49] [18:19:49]POST finish read [18:19:49]Found Content-Length = 730 [18:19:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129299", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:19:49]execute_script... [18:19: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)129299", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:19:49]POST & json_proto [18:19:49]process_json_proto [18:19:49]json parsed OK: [18:19:49]protocol is kg_v1.0 [18:19:49]action value=close_receipt [18:19:49]process_action close_receipt [18:19:49]cmd_close_receipt [18:19:49]MH_GetDate [18:19:49]Write to MH i2c: F0 00 00 47 10 46 [18:19:49]Write i2c OK [18:19:49]MH_I2C_Read... [18:19:49]Read from MH i2c: F0 [18:19:49]MH_I2C_Read... [18:19:49]Read from MH i2c: F0 09 00 [18:19:49]MH_I2C_Read... [18:19:49]Read from MH i2c: F0 09 00 47 10 00 C8 73 91 66 2D 25 5D 64 94 [18:19:49]GetLastDocTimeStamp 1720808326 [18:19:49]current date 1720808392 [18:19:49]FM_GetShiftState [18:19:49]SAM_PROTO_GetShiftState [18:19:49]wFMCommunicate request_size=4 [18:19:49]MH_SAM_APDU [18:19:49]CAPDU: 80 13 01 00 [18:19:49]Write to MH i2c: E2 08 00 48 10 80 13 01 00 00 00 00 00 D5 [18:19:49]Write i2c OK [18:19:49]MH_I2C_Read... [18:19:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:19:49]Read from MH i2c: E2 [18:19:49]MH_I2C_Read... [18:19:49]Read from MH i2c: E2 0E 00 [18:19:49]MH_I2C_Read... [18:19:49]Read from MH i2c: E2 0E 00 48 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D6 [18:19:49]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:19:49]wFMCommunicate OK [18:19:49]SAM_PROTO_GetShiftState done [18:19:49]FM_GetShiftState done [18:19:49]opened in 1720744326 [18:19:49]opened+sec_in_day 1720830726 [18:19:49]quantity*price = 13800 [18:19:49]sum+1 = 13801 [18:19:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 77 12.07.2024 18:19 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56809 ФПД: 247451994061613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181952&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56809&fm=247451994061613&tin=02508201610067®Number=0000000000091208&sum=13800 0 [18:19:50]StoreToDocumentArchive [18:19:50]shift 494 fd 56809 [18:19:50]save to /storage/0494/doc_00056809 [18:19:50]save last doc name /storage/0494/doc_00056809 to /storage/kkm_last_doc_name [18:19:50]save OK [18:19:50]Clear old archive folders... [18:19:50]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:19:50]tlvbuf is B6E7E7E0 [18:19:50]SAM_PROTO_ClearQueue [18:19:50]wFMCommunicate request_size=4 [18:19:50]MH_SAM_APDU [18:19:50]CAPDU: 80 09 00 00 [18:19:50]Write to MH i2c: E2 08 00 55 10 80 09 00 00 00 00 00 00 D7 [18:19:50]Write i2c OK [18:19:50]MH_I2C_Read... [18:19:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:19:50]Read from MH i2c: E2 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 55 10 00 90 00 D9 [18:19:50]RAPDU: 90 00 [18:19:50]wFMCommunicate OK [18:19:50]SAM_PROTO_ClearQueue done [18:19:50]KKMCreateOFDPacket [18:19:50]OFDProtocolAddRootSTLVToBuf [18:19:50]FM_MakeSignedData [18:19:50]FM_MakeSignedData [18:19:50]SAM_PROTO_SignData [18:19:50]wFMCommunicate request_size=4 [18:19:50]MH_SAM_APDU [18:19:50]CAPDU: 80 0D 01 02 [18:19:50]Write to MH i2c: E2 08 00 56 10 80 0D 01 02 00 00 00 00 DF [18:19:50]Write i2c OK [18:19:50]MH_I2C_Read... [18:19:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:19:50]Read from MH i2c: E2 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 56 10 00 90 00 DA [18:19:50]RAPDU: 90 00 [18:19:50]wFMCommunicate OK [18:19:50]wFMCommunicate request_size=255 [18:19:50]MH_SAM_APDU [18:19:50]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 C8 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 [18:19:50]Write to MH i2c: E2 02 01 57 10 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 C8 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 00 00 0D [18:19:50]Write i2c OK [18:19:50]MH_I2C_Read... [18:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:19:50]Read from MH i2c: E2 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 57 10 00 90 00 DB [18:19:50]RAPDU: 90 00 [18:19:50]wFMCommunicate OK [18:19:50]wFMCommunicate request_size=37 [18:19:50]MH_SAM_APDU [18:19:50]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DD 00 00 35 04 06 00 E1 0E 68 34 7B 2D [18:19:50]Write to MH i2c: E2 28 00 58 10 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DD 00 00 35 04 06 00 E1 0E 68 34 7B 2D 00 00 39 [18:19:50]Write i2c OK [18:19:50]MH_I2C_Read... [18:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:19:50]Read from MH i2c: E2 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 [18:19:50]MH_I2C_Read... [18:19:50]Read from MH i2c: E2 03 00 58 10 00 90 00 DC [18:19:50]RAPDU: 90 00 [18:19:50]wFMCommunicate OK [18:19:50]wFMCommunicate request_size=4 [18:19:50]MH_SAM_APDU [18:19:50]CAPDU: 80 0D 03 02 [18:19:50]Write to MH i2c: E2 08 00 59 10 80 0D 03 02 00 00 00 00 E4 [18:19:50]Write i2c OK [18:19:50]MH_I2C_Read... [18:19:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:19:51]Read from MH i2c: E2 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: E2 0B 00 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: E2 0B 00 59 10 00 15 2B 8F 28 5D 46 93 0F 90 00 21 [18:19:51]RAPDU: 15 2B 8F 28 5D 46 93 0F 90 00 [18:19:51]wFMCommunicate OK [18:19:51]SAM_PROTO_SignData done [18:19:51]FM_MakeSignedData done [18:19:51]CreateOFDProtocolMessage [18:19:51]wFMCommunicate request_size=4 [18:19:51]MH_SAM_APDU [18:19:51]CAPDU: 80 11 00 00 [18:19:51]Write to MH i2c: E2 08 00 5A 10 80 11 00 00 00 00 00 00 E4 [18:19:51]Write i2c OK [18:19:51]MH_I2C_Read... [18:19:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:19:51]Read from MH i2c: E2 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: E2 17 00 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: E2 17 00 5A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3E [18:19:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:19:51]wFMCommunicate OK [18:19:51]CreateOFDProtocolMessage done [18:19:51]OFDSenderStorePacket 56809 [18:19:51]StoreOFDPacket docnum=56809 [18:19:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 84 27 22 01 B0 24 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 C8 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DD 00 00 35 04 06 00 E1 0E 68 34 7B 2D 15 2B 8F 28 5D 46 93 0F [18:19:51]CheckFolder [18:19:51]dirname=/storage/ofd_packets [18:19:51]CheckFolder done [18:19:51]ProducePacketName [18:19:51]name=ofd_packets/00056809 [18:19:51]NVStorageSaveData ofd_packets/00056809 [18:19:51]File name is /storage/ofd_packets/00056809 [18:19:51]Write 328 bytes [18:19:51]NVStorageSaveData done [18:19:51]OFDSenderStorePacket done [18:19:51]KKMCreateOFDPacket done [18:19:51]NVStorageSaveData kkm_last_timestamp [18:19:51]File name is /storage/kkm_last_timestamp [18:19:51]Write 4 bytes [18:19:51]NVStorageSaveData done [18:19:51]ExternCall_PrintAddStr [18:19:51]wPrintStart [18:19:51]Write to MH i2c: 01 00 00 5B 10 6B [18:19:51]Write i2c OK [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 07 00 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 07 00 5B 10 00 00 00 00 00 FF 0F 80 [18:19:51]RasterBufferAndPrint [18:19:51]line Счет N : (3)129299 [18:19:51]line ИНН: 02508201610067 [18:19:51]line Контрольно-Кассовый Чек [18:19:51]line ПРОДАЖА [18:19:51]line Товар: 4640030092499 [18:19:51]line Сигареты ESSE SENSE Himalaya [18:19:51]line 1.000 * 138.00 [18:19:51]line = 138.00 [18:19:51]line НДС 12% НСП 1% [18:19:51]line > о реализуемом товаре [18:19:51]line ИТОГО: 138.00 [18:19:51]line НСП 1% : 1.22 [18:19:51]line НДС 12% : 14.65 [18:19:51]line Наличными: 138.00 [18:19:51]line Безнал.: 0.00 [18:19:51]line Место: АЗС № 132 "Партнер Нефть" [18:19:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:19:51]line СНО: Общий режим [18:19:51]line Чек 77 12.07.2024 18:19 [18:19:51]line Смена: 494 ФФД: 1.0 [18:19:51]line ЗНМ: 0300000132 [18:19:51]line РНМ: 0000000000091208 [18:19:51]line Версия ККМ: 001 [18:19:51]line ФМ: 0000000000874857 [18:19:51]line ФД: 56809 [18:19:51]line ФПД: 247451994061613 [18:19:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T181952&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56809&fm=247451994061613&tin=02508201610067®Number=0000000000091208&sum=13800 [18:19:51]line 0 [18:19:51]OFD Sender: Processing packet 56809 [packets to send 38, broken 37] [18:19:51]ProducePacketName [18:19:51]name=ofd_packets/00056809 [18:19:51]OFD Sender: To server: pG, [18:19:51]CommunicateWithHost lk.salyk.kg:30040 [18:19:51]ConnectInit lk.salyk.kg [18:19:51]written 0, free lines is 4095 [18:19:51]Connected sock=10 [18:19: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 38 35 37 2A 01 00 00 84 27 22 01 B0 24 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 C8 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DD 00 00 35 04 06 00 E1 0E 68 34 7B 2D 15 2B 8F 28 5D 46 93 0F [18:19:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 53 34 47 00 8B 9A 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 38 35 37 10 04 04 00 E9 DD 00 00 F4 03 04 00 1F 1A 91 66 B6 04 01 00 00 10 E5 8C BE 59 F1 8E 57 [18:19:51]CommunicateWithHost err = 0 [18:19:51]CheckOFDResponse [18:19:51]1017 (14) - 77093643461234 [18:19:51]1041 (16) - 0000000000874857 [18:19:51]1040 (4) - 56809 [18:19:51]1012 (4) - 12.07.2024 11:57 [18:19:51]1206 (1) - 0 [18:19:51]OFD Sender: Remove packet 56809 [18:19:51]ProducePacketName [18:19:51]name=ofd_packets/00056809 [18:19:51]NVStorageDeleteData [18:19:51]Write to MH i2c: 01 00 00 84 10 94 [18:19:51]Write i2c OK [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 07 00 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: 01 07 00 84 10 00 00 00 00 00 05 0D AD [18:19:51]RasterBufferAndPrint [18:19:51]line [18:19:51]line [18:19:51]line [18:19:51]line [18:19:51]line [18:19:51]written 0, free lines is 3340 [18:19:51]MH_Cut [18:19:51]Write to MH i2c: D1 01 00 8B 10 01 6D [18:19:51]Write i2c OK [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: D1 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: D1 01 00 [18:19:51]MH_I2C_Read... [18:19:51]Read from MH i2c: D1 01 00 8B 10 00 6C [18:19:51]Write to MH i2c: 01 00 00 8C 10 9C [18:19:51]Write i2c OK [18:19:51]MH_I2C_Read... [18:19:52]OFD Sender: No OFD packet to send [18:19:52]*** Cut start [18:19:52]*** Partial cut [18:19:52]*** CUTSNS_PIN = 1 [18:19:52]*** CUTSNS_PIN = 0 [18:19:52]*** Brake cut motor [18:19:53]Read from MH i2c: 01 [18:19:53]MH_I2C_Read... [18:19:53]*** Stop cut motor [18:19:53]*** Cut end [18:19:53]Read from MH i2c: 01 07 00 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: 01 07 00 8C 10 00 00 00 00 00 FF 0F B1 [18:19:53]process_action close_receipt done [18:19:53]requested_data is exist [18:19:53]produce_requested_data [18:19:53]requested_item fm.sn is exist - process it [18:19:53]wFMCommunicate request_size=4 [18:19:53]MH_SAM_APDU [18:19:53]CAPDU: 80 11 00 00 [18:19:53]Write to MH i2c: E2 08 00 8D 10 80 11 00 00 00 00 00 00 17 [18:19:53]Write i2c OK [18:19:53]MH_I2C_Read... [18:19:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:19:53]Read from MH i2c: E2 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 17 00 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 17 00 8D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 71 [18:19:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:19:53]wFMCommunicate OK [18:19:53]requested_item fd.num is exist - process it [18:19:53]SAM_PROTO_GetFieldsCounters [18:19:53]wFMCommunicate request_size=4 [18:19:53]MH_SAM_APDU [18:19:53]CAPDU: 80 13 00 00 [18:19:53]Write to MH i2c: E2 08 00 8E 10 80 13 00 00 00 00 00 00 1A [18:19:53]Write i2c OK [18:19:53]MH_I2C_Read... [18:19:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:19:53]Read from MH i2c: E2 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 62 00 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 62 00 8E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E9 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [18:19: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E9 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:19:53]wFMCommunicate OK [18:19:53]SAM_PROTO_GetFieldsCounters done [18:19:53]requested_item shift.num is exist - process it [18:19:53]requested_item shift.opened is exist - process it [18:19:53]req_shift_opened [18:19:53]FM_GetShiftState [18:19:53]SAM_PROTO_GetShiftState [18:19:53]wFMCommunicate request_size=4 [18:19:53]MH_SAM_APDU [18:19:53]CAPDU: 80 13 01 00 [18:19:53]Write to MH i2c: E2 08 00 8F 10 80 13 01 00 00 00 00 00 1C [18:19:53]Write i2c OK [18:19:53]MH_I2C_Read... [18:19:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:19:53]Read from MH i2c: E2 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 0E 00 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 0E 00 8F 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 1D [18:19:53]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:19:53]wFMCommunicate OK [18:19:53]SAM_PROTO_GetShiftState done [18:19:53]FM_GetShiftState done [18:19:53]req_shift_opened done [18:19:53]requested_item shift.open_date is exist - process it [18:19:53]req_shift_open_date [18:19:53]req_shift_open_date done [18:19:53]requested_item shift.sale.total is exist - process it [18:19:53]SAM_PROTO_GetShiftData [18:19:53]wFMCommunicate request_size=4 [18:19:53]MH_SAM_APDU [18:19:53]CAPDU: 80 13 02 00 [18:19:53]Write to MH i2c: E2 08 00 90 10 80 13 02 00 00 00 00 00 1E [18:19:53]Write i2c OK [18:19:53]MH_I2C_Read... [18:19:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:19:53]Read from MH i2c: E2 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 FD 00 [18:19:53]MH_I2C_Read... [18:19:53]Read from MH i2c: E2 FD 00 90 10 00 B6 04 AA 04 B2 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 F0 9F 1E 70 04 03 00 04 16 18 72 04 03 00 EC 89 06 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 A9 40 03 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 5C 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 1C [18:19:53]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 F0 9F 1E 70 04 03 00 04 16 18 72 04 03 00 EC 89 06 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 A9 40 03 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 5C 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:19:53]wFMCommunicate OK [18:19:53]wFMCommunicate request_size=4 [18:19:53]MH_SAM_APDU [18:19:53]CAPDU: 80 17 00 00 [18:19:53]Write to MH i2c: E2 08 00 91 10 80 17 00 00 00 00 00 00 21 [18:19:53]Write i2c OK [18:19:53]MH_I2C_Read... [18:19:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:54]Read from MH i2c: E2 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 91 10 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [18:19:54]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:19:54]wFMCommunicate OK [18:19:54]wFMCommunicate request_size=4 [18:19:54]MH_SAM_APDU [18:19:54]CAPDU: 80 17 00 00 [18:19:54]Write to MH i2c: E2 08 00 92 10 80 17 00 00 00 00 00 00 22 [18:19:54]Write i2c OK [18:19:54]MH_I2C_Read... [18:19:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:54]Read from MH i2c: E2 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 92 10 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E2 [18:19:54]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:19:54]wFMCommunicate OK [18:19:54]wFMCommunicate request_size=4 [18:19:54]MH_SAM_APDU [18:19:54]CAPDU: 80 17 00 00 [18:19:54]Write to MH i2c: E2 08 00 93 10 80 17 00 00 00 00 00 00 23 [18:19:54]Write i2c OK [18:19:54]MH_I2C_Read... [18:19:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:19:54]Read from MH i2c: E2 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 [18:19:54]MH_I2C_Read... [18:19:54]Read from MH i2c: E2 FD 00 93 10 00 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 90 00 92 [18:19:54]RAPDU: 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 90 00 [18:19:54]wFMCommunicate OK [18:19:54]wFMCommunicate request_size=4 [18:19:54]MH_SAM_APDU [18:19:54]CAPDU: 80 17 00 00 [18:19:54]Write to MH i2c: E2 08 00 94 10 80 17 00 00 00 00 00 00 24 [18:19:54]Write i2c OK [18:19:54]MH_I2C_Read... [18:19:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:19:55]Read from MH i2c: E2 [18:19:55]MH_I2C_Read... [18:19:55]Read from MH i2c: E2 D3 00 [18:19:55]MH_I2C_Read... [18:19:55]Read from MH i2c: E2 D3 00 94 10 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 11 [18:19:55]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:19:55]wFMCommunicate OK [18:19:55]SAM_PROTO_GetShiftData done [18:19:55]requested_item shift.sale.total_cash is exist - process it [18:19:55]requested_item shift.sale_refund.total is exist - process it [18:19:55]requested_item shift.sale_refund.total_cash is exist - process it [18:19:55]produce_requested_data done [18:19:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56809,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":20070.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:19:55]process_action_free close_receipt [18:19:55]json_value_free [18:19:55]json_value_free done [18:19:55]process_json_proto returns [18:19:55]Send response to host [18:19:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56809,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":20070.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:19:55]free response buf [18:19:55]execute_script done [18:19:55]execute_script returns [18:19:55]free content buf [18:19:55]Sock 7.Close socket [18:19:55]Sock 7.Thread stoped [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:30]accept exits with 9 [18:20:30]New connection [18:20:30]New thread 3066637668 created [18:20:30]Thread 3066781028 joined [18:20:30]Waiting for new connection... [18:20:30] Sock 9.Parse request [18:20:30]Sock 9.Check first char [18:20:30]Sock 9.First char is OK [18:20:30]request: POST /json_proto HTTP/1.0 [18:20:30]Method: POST [18:20:30]URL: /json_proto [18:20:30]Method is POST - this is cgi request [18:20:30]url: /json_proto [18:20:30]query_string will be loaded in cgi processing [18:20:30]execute_cgi json_proto POST (null) [18:20:30]execute_cgi path=json_proto method=POST [18:20:30]POST find Content-Length [18:20:30]Host: 172.17.39.4:8080 [18:20:30]Content-Length: 1196 [18:20:30]Content-Type: application/json [18:20:30] [18:20:30]POST finish read [18:20:30]Found Content-Length = 1196 [18:20:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129300", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745307", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Soho Compact Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 287.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:20:30]execute_script... [18:20: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)129300", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745307", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Soho Compact Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 287.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:20:30]POST & json_proto [18:20:30]process_json_proto [18:20:30]json parsed OK: [18:20:30]protocol is kg_v1.0 [18:20:30]action value=close_receipt [18:20:30]process_action close_receipt [18:20:30]cmd_close_receipt [18:20:30]MH_GetDate [18:20:30]Write to MH i2c: F0 00 00 95 10 94 [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: F0 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: F0 09 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: F0 09 00 95 10 00 F1 73 91 66 2D 25 5D 64 0B [18:20:30]GetLastDocTimeStamp 1720808392 [18:20:30]current date 1720808433 [18:20:30]FM_GetShiftState [18:20:30]SAM_PROTO_GetShiftState [18:20:30]wFMCommunicate request_size=4 [18:20:30]MH_SAM_APDU [18:20:30]CAPDU: 80 13 01 00 [18:20:30]Write to MH i2c: E2 08 00 96 10 80 13 01 00 00 00 00 00 23 [18:20:30]Write i2c OK [18:20:30]MH_I2C_Read... [18:20:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:30]Read from MH i2c: E2 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 0E 00 [18:20:30]MH_I2C_Read... [18:20:30]Read from MH i2c: E2 0E 00 96 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 24 [18:20:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:20:30]wFMCommunicate OK [18:20:30]SAM_PROTO_GetShiftState done [18:20:30]FM_GetShiftState done [18:20:30]opened in 1720744326 [18:20:30]opened+sec_in_day 1720830726 [18:20:30]quantity*price = 15700 [18:20:30]sum+1 = 15701 [18:20:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745307 Сигареты Parliament Soho Compact Mix 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 287.00 НСП 1% : 2.54 НДС 12% : 30.47 Наличными: 0.00 Безнал.: 287.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 78 12.07.2024 18:20 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56810 ФПД: 6564652178531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182033&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56810&fm=6564652178531&tin=02508201610067®Number=0000000000091208&sum=28700 0 [18:20:31]StoreToDocumentArchive [18:20:31]shift 494 fd 56810 [18:20:31]save to /storage/0494/doc_00056810 [18:20:31]save last doc name /storage/0494/doc_00056810 to /storage/kkm_last_doc_name [18:20:31]save OK [18:20:31]Clear old archive folders... [18:20:31]ProcessDocumentItem done err = 0, tmpTLVsize=389 [18:20:31]tlvbuf is 01AE4D50 [18:20:31]SAM_PROTO_ClearQueue [18:20:31]wFMCommunicate request_size=4 [18:20:31]MH_SAM_APDU [18:20:31]CAPDU: 80 09 00 00 [18:20:31]Write to MH i2c: E2 08 00 A3 10 80 09 00 00 00 00 00 00 25 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:20:31]Read from MH i2c: E2 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 03 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 03 00 A3 10 00 90 00 27 [18:20:31]RAPDU: 90 00 [18:20:31]wFMCommunicate OK [18:20:31]SAM_PROTO_ClearQueue done [18:20:31]KKMCreateOFDPacket [18:20:31]OFDProtocolAddRootSTLVToBuf [18:20:31]FM_MakeSignedData [18:20:31]FM_MakeSignedData [18:20:31]SAM_PROTO_SignData [18:20:31]wFMCommunicate request_size=4 [18:20:31]MH_SAM_APDU [18:20:31]CAPDU: 80 0D 01 02 [18:20:31]Write to MH i2c: E2 08 00 A4 10 80 0D 01 02 00 00 00 00 2D [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:20:31]Read from MH i2c: E2 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 03 00 [18:20:31]MH_I2C_Read... [18:20:31]Read from MH i2c: E2 03 00 A4 10 00 90 00 28 [18:20:31]RAPDU: 90 00 [18:20:31]wFMCommunicate OK [18:20:31]wFMCommunicate request_size=255 [18:20:31]MH_SAM_APDU [18:20:31]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 08 00 34 38 37 34 35 33 30 37 06 04 2C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 6F 68 6F 20 43 6F 6D 70 61 63 74 20 4D 69 78 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 1C 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [18:20:31]Write to MH i2c: E2 02 01 A5 10 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 08 00 34 38 37 34 35 33 30 37 06 04 2C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 6F 68 6F 20 43 6F 6D 70 61 63 74 20 4D 69 78 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 1C 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 B7 [18:20:31]Write i2c OK [18:20:31]MH_I2C_Read... [18:20:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:32]Read from MH i2c: E2 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 03 00 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 03 00 A5 10 00 90 00 29 [18:20:32]RAPDU: 90 00 [18:20:32]wFMCommunicate OK [18:20:32]wFMCommunicate request_size=148 [18:20:32]MH_SAM_APDU [18:20:32]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 F1 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DD 00 00 35 04 06 00 05 F8 73 C2 DC 63 [18:20:32]Write to MH i2c: E2 97 00 A6 10 80 0D 02 02 8F 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 F1 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DD 00 00 35 04 06 00 05 F8 73 C2 DC 63 00 00 CA [18:20:32]Write i2c OK [18:20:32]MH_I2C_Read... [18:20:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:20:32]Read from MH i2c: E2 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 03 00 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 03 00 A6 10 00 90 00 2A [18:20:32]RAPDU: 90 00 [18:20:32]wFMCommunicate OK [18:20:32]wFMCommunicate request_size=4 [18:20:32]MH_SAM_APDU [18:20:32]CAPDU: 80 0D 03 02 [18:20:32]Write to MH i2c: E2 08 00 A7 10 80 0D 03 02 00 00 00 00 32 [18:20:32]Write i2c OK [18:20:32]MH_I2C_Read... [18:20:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:20:32]Read from MH i2c: E2 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 0B 00 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 0B 00 A7 10 00 FE F7 54 D8 4D 51 71 3A 90 00 9D [18:20:32]RAPDU: FE F7 54 D8 4D 51 71 3A 90 00 [18:20:32]wFMCommunicate OK [18:20:32]SAM_PROTO_SignData done [18:20:32]FM_MakeSignedData done [18:20:32]CreateOFDProtocolMessage [18:20:32]wFMCommunicate request_size=4 [18:20:32]MH_SAM_APDU [18:20:32]CAPDU: 80 11 00 00 [18:20:32]Write to MH i2c: E2 08 00 A8 10 80 11 00 00 00 00 00 00 32 [18:20:32]Write i2c OK [18:20:32]MH_I2C_Read... [18:20:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:32]Read from MH i2c: E2 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 17 00 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: E2 17 00 A8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8C [18:20:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:20:32]wFMCommunicate OK [18:20:32]CreateOFDProtocolMessage done [18:20:32]OFDSenderStorePacket 56810 [18:20:32]StoreOFDPacket docnum=56810 [18:20:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 99 01 00 00 52 0C 91 01 0A 86 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 08 00 34 38 37 34 35 33 30 37 06 04 2C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 6F 68 6F 20 43 6F 6D 70 61 63 74 20 4D 69 78 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 1C 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 F1 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DD 00 00 35 04 06 00 05 F8 73 C2 DC 63 FE F7 54 D8 4D 51 71 3A [18:20:32]CheckFolder [18:20:32]dirname=/storage/ofd_packets [18:20:32]CheckFolder done [18:20:32]ProducePacketName [18:20:32]name=ofd_packets/00056810 [18:20:32]NVStorageSaveData ofd_packets/00056810 [18:20:32]File name is /storage/ofd_packets/00056810 [18:20:32]Write 439 bytes [18:20:32]NVStorageSaveData done [18:20:32]OFDSenderStorePacket done [18:20:32]KKMCreateOFDPacket done [18:20:32]NVStorageSaveData kkm_last_timestamp [18:20:32]File name is /storage/kkm_last_timestamp [18:20:32]Write 4 bytes [18:20:32]NVStorageSaveData done [18:20:32]ExternCall_PrintAddStr [18:20:32]wPrintStart [18:20:32]Write to MH i2c: 01 00 00 A9 10 B9 [18:20:32]OFD Sender: No OFD packet to send [18:20:32]Write i2c OK [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: 01 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: 01 07 00 [18:20:32]MH_I2C_Read... [18:20:32]Read from MH i2c: 01 07 00 A9 10 00 00 00 00 00 FF 0F CE [18:20:32]RasterBufferAndPrint [18:20:32]line Счет N : (3)129300 [18:20:32]line ИНН: 02508201610067 [18:20:32]line Контрольно-Кассовый Чек [18:20:32]line ПРОДАЖА [18:20:32]line Товар: 90162602 [18:20:32]line Энерг напиток Red bull 0,25л [18:20:32]line 1.000 * 157.00 [18:20:32]line = 157.00 [18:20:32]line НДС 12% НСП 1% [18:20:32]line > о реализуемом товаре [18:20:32]line Товар: 48745307 [18:20:32]line Сигареты Parliament Soho Compact Mix [18:20:32]line 1.000 * 130.00 [18:20:32]line = 130.00 [18:20:32]line НДС 12% НСП 1% [18:20:32]line > о реализуемом товаре [18:20:32]line ИТОГО: 287.00 [18:20:32]line НСП 1% : 2.54 [18:20:32]line НДС 12% : 30.47 [18:20:32]line Наличными: 0.00 [18:20:32]line Безнал.: 287.00 [18:20:32]line Место: АЗС № 132 "Партнер Нефть" [18:20:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:20:32]line СНО: Общий режим [18:20:32]line Чек 78 12.07.2024 18:20 [18:20:32]line Смена: 494 ФФД: 1.0 [18:20:32]line ЗНМ: 0300000132 [18:20:32]line РНМ: 0000000000091208 [18:20:32]line Версия ККМ: 001 [18:20:32]line Платежная система: АКБ Кыргызстан [18:20:32]line ФМ: 0000000000874857 [18:20:32]line ФД: 56810 [18:20:32]line ФПД: 6564652178531 [18:20:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182033&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56810&fm=6564652178531&tin=02508201610067®Number=0000000000091208&sum=28700 [18:20:32]line 0 [18:20:32]written 0, free lines is 4095 [18:20:32]OFD Sender: Processing packet 56810 [packets to send 38, broken 37] [18:20:32]ProducePacketName [18:20:32]name=ofd_packets/00056810 [18:20:32]OFD Sender: To server: pG, [18:20:32]CommunicateWithHost lk.salyk.kg:30040 [18:20:32]ConnectInit lk.salyk.kg [18:20:32]Connected sock=10 [18:20: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 38 35 37 99 01 00 00 52 0C 91 01 0A 86 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 08 00 34 38 37 34 35 33 30 37 06 04 2C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 6F 68 6F 20 43 6F 6D 70 61 63 74 20 4D 69 78 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 1C 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 F1 73 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DD 00 00 35 04 06 00 05 F8 73 C2 DC 63 FE F7 54 D8 4D 51 71 3A [18:20:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 67 7D 47 00 A8 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DD 00 00 F4 03 04 00 48 1A 91 66 B6 04 01 00 00 32 CF B6 64 53 F0 04 7D [18:20:33]CommunicateWithHost err = 0 [18:20:33]CheckOFDResponse [18:20:33]1017 (14) - 77093643461234 [18:20:33]1041 (16) - 0000000000874857 [18:20:33]1040 (4) - 56810 [18:20:33]1012 (4) - 12.07.2024 11:58 [18:20:33]1206 (1) - 0 [18:20:33]OFD Sender: Remove packet 56810 [18:20:33]ProducePacketName [18:20:33]name=ofd_packets/00056810 [18:20:33]NVStorageDeleteData [18:20:33]Write to MH i2c: 01 00 00 DA 10 EA [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: 01 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: 01 07 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: 01 07 00 DA 10 00 00 00 00 00 90 0C 8D [18:20:33]RasterBufferAndPrint [18:20:33]line [18:20:33]line [18:20:33]line [18:20:33]line [18:20:33]line [18:20:33]written 0, free lines is 3225 [18:20:33]MH_Cut [18:20:33]Write to MH i2c: D1 01 00 E1 10 01 C3 [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: D1 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: D1 01 00 [18:20:33]MH_I2C_Read... [18:20:33]Read from MH i2c: D1 01 00 E1 10 00 C2 [18:20:33]Write to MH i2c: 01 00 00 E2 10 F2 [18:20:33]Write i2c OK [18:20:33]MH_I2C_Read... [18:20:33]OFD Sender: No OFD packet to send [18:20:33]*** Cut start [18:20:33]*** Partial cut [18:20:33]*** CUTSNS_PIN = 1 [18:20:34]*** CUTSNS_PIN = 0 [18:20:34]*** Brake cut motor [18:20:34]Read from MH i2c: 01 [18:20:34]MH_I2C_Read... [18:20:34]*** Stop cut motor [18:20:34]*** Cut end [18:20:34]Read from MH i2c: 01 07 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: 01 07 00 E2 10 00 00 00 00 00 FF 0F 07 [18:20:34]process_action close_receipt done [18:20:34]requested_data is exist [18:20:34]produce_requested_data [18:20:34]requested_item fm.sn is exist - process it [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 11 00 00 [18:20:34]Write to MH i2c: E2 08 00 E3 10 80 11 00 00 00 00 00 00 6D [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 17 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 17 00 E3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C7 [18:20:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:20:34]wFMCommunicate OK [18:20:34]requested_item fd.num is exist - process it [18:20:34]SAM_PROTO_GetFieldsCounters [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 13 00 00 [18:20:34]Write to MH i2c: E2 08 00 E4 10 80 13 00 00 00 00 00 00 70 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 62 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 62 00 E4 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EA DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [18:20:34]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EA DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:20:34]wFMCommunicate OK [18:20:34]SAM_PROTO_GetFieldsCounters done [18:20:34]requested_item shift.num is exist - process it [18:20:34]requested_item shift.opened is exist - process it [18:20:34]req_shift_opened [18:20:34]FM_GetShiftState [18:20:34]SAM_PROTO_GetShiftState [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 13 01 00 [18:20:34]Write to MH i2c: E2 08 00 E5 10 80 13 01 00 00 00 00 00 72 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:20:34]Read from MH i2c: E2 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 0E 00 [18:20:34]MH_I2C_Read... [18:20:34]Read from MH i2c: E2 0E 00 E5 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 73 [18:20:34]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:20:34]wFMCommunicate OK [18:20:34]SAM_PROTO_GetShiftState done [18:20:34]FM_GetShiftState done [18:20:34]req_shift_opened done [18:20:34]requested_item shift.open_date is exist - process it [18:20:34]req_shift_open_date [18:20:34]req_shift_open_date done [18:20:34]requested_item shift.sale.total is exist - process it [18:20:34]SAM_PROTO_GetShiftData [18:20:34]wFMCommunicate request_size=4 [18:20:34]MH_SAM_APDU [18:20:34]CAPDU: 80 13 02 00 [18:20:34]Write to MH i2c: E2 08 00 E6 10 80 13 02 00 00 00 00 00 74 [18:20:34]Write i2c OK [18:20:34]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 E6 10 00 B6 04 AA 04 B2 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 0C 10 1F 70 04 03 00 04 16 18 72 04 03 00 08 FA 06 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 90 4C 03 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 5A 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 81 [18:20:35]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 0C 10 1F 70 04 03 00 04 16 18 72 04 03 00 08 FA 06 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 90 4C 03 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 5A 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:20:35]wFMCommunicate OK [18:20:35]wFMCommunicate request_size=4 [18:20:35]MH_SAM_APDU [18:20:35]CAPDU: 80 17 00 00 [18:20:35]Write to MH i2c: E2 08 00 E7 10 80 17 00 00 00 00 00 00 77 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 E7 10 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [18:20:35]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:20:35]wFMCommunicate OK [18:20:35]wFMCommunicate request_size=4 [18:20:35]MH_SAM_APDU [18:20:35]CAPDU: 80 17 00 00 [18:20:35]Write to MH i2c: E2 08 00 E8 10 80 17 00 00 00 00 00 00 78 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:35]Read from MH i2c: E2 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 [18:20:35]MH_I2C_Read... [18:20:35]Read from MH i2c: E2 FD 00 E8 10 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 38 [18:20:35]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:20:35]wFMCommunicate OK [18:20:35]wFMCommunicate request_size=4 [18:20:35]MH_SAM_APDU [18:20:35]CAPDU: 80 17 00 00 [18:20:35]Write to MH i2c: E2 08 00 E9 10 80 17 00 00 00 00 00 00 79 [18:20:35]Write i2c OK [18:20:35]MH_I2C_Read... [18:20:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:20:36]Read from MH i2c: E2 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 FD 00 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 FD 00 E9 10 00 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 90 00 E8 [18:20:36]RAPDU: 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 90 00 [18:20:36]wFMCommunicate OK [18:20:36]wFMCommunicate request_size=4 [18:20:36]MH_SAM_APDU [18:20:36]CAPDU: 80 17 00 00 [18:20:36]Write to MH i2c: E2 08 00 EA 10 80 17 00 00 00 00 00 00 7A [18:20:36]Write i2c OK [18:20:36]MH_I2C_Read... [18:20:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:20:36]Read from MH i2c: E2 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 D3 00 [18:20:36]MH_I2C_Read... [18:20:36]Read from MH i2c: E2 D3 00 EA 10 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 [18:20:36]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:20:36]wFMCommunicate OK [18:20:36]SAM_PROTO_GetShiftData done [18:20:36]requested_item shift.sale.total_cash is exist - process it [18:20:36]requested_item shift.sale_refund.total is exist - process it [18:20:36]requested_item shift.sale_refund.total_cash is exist - process it [18:20:36]produce_requested_data done [18:20:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56810,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":20357.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:20:36]process_action_free close_receipt [18:20:36]json_value_free [18:20:36]json_value_free done [18:20:36]process_json_proto returns [18:20:36]Send response to host [18:20:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56810,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":20357.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:20:36]free response buf [18:20:36]execute_script done [18:20:36]execute_script returns [18:20:36]free content buf [18:20:36]Sock 9.Close socket [18:20:36]Sock 9.Thread stoped [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:18]accept exits with 7 [18:29:18]New connection [18:29:18]New thread 3066781028 created [18:29:18]Thread 3066637668 joined [18:29:18]Waiting for new connection... [18:29:18] Sock 7.Parse request [18:29:18]Sock 7.Check first char [18:29:18]Sock 7.First char is OK [18:29:18]request: POST /json_proto HTTP/1.0 [18:29:18]Method: POST [18:29:18]URL: /json_proto [18:29:18]Method is POST - this is cgi request [18:29:18]url: /json_proto [18:29:18]query_string will be loaded in cgi processing [18:29:18]execute_cgi json_proto POST (null) [18:29:18]execute_cgi path=json_proto method=POST [18:29:18]POST find Content-Length [18:29:18]Host: 172.17.39.4:8080 [18:29:18]Content-Length: 898 [18:29:18]Content-Type: application/json [18:29:18] [18:29:18]POST finish read [18:29:18]Found Content-Length = 898 [18:29:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129301", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 5.000, "sum" : 650.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:29:18]execute_script... [18:29:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129301", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 5.000, "sum" : 650.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:29:18]POST & json_proto [18:29:18]process_json_proto [18:29:18]json parsed OK: [18:29:18]protocol is kg_v1.0 [18:29:18]action value=close_receipt [18:29:18]process_action close_receipt [18:29:18]cmd_close_receipt [18:29:18]MH_GetDate [18:29:18]Write to MH i2c: F0 00 00 EB 10 EA [18:29:18]Write i2c OK [18:29:18]MH_I2C_Read... [18:29:18]Read from MH i2c: F0 [18:29:18]MH_I2C_Read... [18:29:18]Read from MH i2c: F0 09 00 [18:29:18]MH_I2C_Read... [18:29:18]Read from MH i2c: F0 09 00 EB 10 00 01 76 91 66 2D 25 5D 64 74 [18:29:18]GetLastDocTimeStamp 1720808433 [18:29:18]current date 1720808961 [18:29:18]FM_GetShiftState [18:29:18]SAM_PROTO_GetShiftState [18:29:18]wFMCommunicate request_size=4 [18:29:18]MH_SAM_APDU [18:29:18]CAPDU: 80 13 01 00 [18:29:18]Write to MH i2c: E2 08 00 EC 10 80 13 01 00 00 00 00 00 79 [18:29:18]Write i2c OK [18:29:18]MH_I2C_Read... [18:29:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:18]Read from MH i2c: E2 [18:29:18]MH_I2C_Read... [18:29:18]Read from MH i2c: E2 0E 00 [18:29:18]MH_I2C_Read... [18:29:18]Read from MH i2c: E2 0E 00 EC 10 00 09 00 01 86 79 90 66 00 00 00 00 90 00 7A [18:29:18]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:29:18]wFMCommunicate OK [18:29:18]SAM_PROTO_GetShiftState done [18:29:18]FM_GetShiftState done [18:29:18]opened in 1720744326 [18:29:18]opened+sec_in_day 1720830726 [18:29:18]quantity*price = 65000 [18:29:18]sum+1 = 65001 [18:29:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 650.00 НСП 1% : 5.75 НДС 12% : 69.03 Наличными: 0.00 Безнал.: 650.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 79 12.07.2024 18:29 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 56811 ФПД: 182750602311944 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182921&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56811&fm=182750602311944&tin=02508201610067®Number=0000000000091208&sum=65000 0 [18:29:19]StoreToDocumentArchive [18:29:19]shift 494 fd 56811 [18:29:19]save to /storage/0494/doc_00056811 [18:29:19]save last doc name /storage/0494/doc_00056811 to /storage/kkm_last_doc_name [18:29:19]save OK [18:29:19]Clear old archive folders... [18:29:19]ProcessDocumentItem done err = 0, tmpTLVsize=276 [18:29:19]tlvbuf is B6F2B460 [18:29:19]SAM_PROTO_ClearQueue [18:29:19]wFMCommunicate request_size=4 [18:29:19]MH_SAM_APDU [18:29:19]CAPDU: 80 09 00 00 [18:29:19]Write to MH i2c: E2 08 00 F9 10 80 09 00 00 00 00 00 00 7B [18:29:19]Write i2c OK [18:29:19]MH_I2C_Read... [18:29:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:29:19]Read from MH i2c: E2 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 F9 10 00 90 00 7D [18:29:19]RAPDU: 90 00 [18:29:19]wFMCommunicate OK [18:29:19]SAM_PROTO_ClearQueue done [18:29:19]KKMCreateOFDPacket [18:29:19]OFDProtocolAddRootSTLVToBuf [18:29:19]FM_MakeSignedData [18:29:19]FM_MakeSignedData [18:29:19]SAM_PROTO_SignData [18:29:19]wFMCommunicate request_size=4 [18:29:19]MH_SAM_APDU [18:29:19]CAPDU: 80 0D 01 02 [18:29:19]Write to MH i2c: E2 08 00 FA 10 80 0D 01 02 00 00 00 00 83 [18:29:19]Write i2c OK [18:29:19]MH_I2C_Read... [18:29:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:29:19]Read from MH i2c: E2 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 FA 10 00 90 00 7E [18:29:19]RAPDU: 90 00 [18:29:19]wFMCommunicate OK [18:29:19]wFMCommunicate request_size=255 [18:29:19]MH_SAM_APDU [18:29:19]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 01 76 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 [18:29:19]Write to MH i2c: E2 02 01 FB 10 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 01 76 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 00 00 2C [18:29:19]Write i2c OK [18:29:19]MH_I2C_Read... [18:29:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:19]Read from MH i2c: E2 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 [18:29:19]MH_I2C_Read... [18:29:19]Read from MH i2c: E2 03 00 FB 10 00 90 00 7F [18:29:19]RAPDU: 90 00 [18:29:19]wFMCommunicate OK [18:29:19]wFMCommunicate request_size=35 [18:29:19]MH_SAM_APDU [18:29:19]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DD 00 00 35 04 06 00 A6 35 F0 BB B9 08 [18:29:19]Write to MH i2c: E2 26 00 FC 10 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DD 00 00 35 04 06 00 A6 35 F0 BB B9 08 00 00 8F [18:29:19]Write i2c OK [18:29:19]MH_I2C_Read... [18:29:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:20]Read from MH i2c: E2 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 03 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 03 00 FC 10 00 90 00 80 [18:29:20]RAPDU: 90 00 [18:29:20]wFMCommunicate OK [18:29:20]wFMCommunicate request_size=4 [18:29:20]MH_SAM_APDU [18:29:20]CAPDU: 80 0D 03 02 [18:29:20]Write to MH i2c: E2 08 00 FD 10 80 0D 03 02 00 00 00 00 88 [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:29:20]Read from MH i2c: E2 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 0B 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 0B 00 FD 10 00 70 BC 03 05 70 76 0D 9E 90 00 4E [18:29:20]RAPDU: 70 BC 03 05 70 76 0D 9E 90 00 [18:29:20]wFMCommunicate OK [18:29:20]SAM_PROTO_SignData done [18:29:20]FM_MakeSignedData done [18:29:20]CreateOFDProtocolMessage [18:29:20]wFMCommunicate request_size=4 [18:29:20]MH_SAM_APDU [18:29:20]CAPDU: 80 11 00 00 [18:29:20]Write to MH i2c: E2 08 00 FE 10 80 11 00 00 00 00 00 00 88 [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:20]Read from MH i2c: E2 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 17 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: E2 17 00 FE 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [18:29:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:29:20]wFMCommunicate OK [18:29:20]CreateOFDProtocolMessage done [18:29:20]OFDSenderStorePacket 56811 [18:29:20]StoreOFDPacket docnum=56811 [18:29:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 98 53 20 01 05 FD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 01 76 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DD 00 00 35 04 06 00 A6 35 F0 BB B9 08 70 BC 03 05 70 76 0D 9E [18:29:20]CheckFolder [18:29:20]dirname=/storage/ofd_packets [18:29:20]CheckFolder done [18:29:20]ProducePacketName [18:29:20]name=ofd_packets/00056811 [18:29:20]NVStorageSaveData ofd_packets/00056811 [18:29:20]File name is /storage/ofd_packets/00056811 [18:29:20]Write 326 bytes [18:29:20]NVStorageSaveData done [18:29:20]OFDSenderStorePacket done [18:29:20]KKMCreateOFDPacket done [18:29:20]NVStorageSaveData kkm_last_timestamp [18:29:20]File name is /storage/kkm_last_timestamp [18:29:20]Write 4 bytes [18:29:20]NVStorageSaveData done [18:29:20]ExternCall_PrintAddStr [18:29:20]wPrintStart [18:29:20]Write to MH i2c: 01 00 00 FF 10 0F [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 07 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 07 00 FF 10 00 00 00 00 00 FF 0F 24 [18:29:20]RasterBufferAndPrint [18:29:20]line Счет N : (3)129301 [18:29:20]line ИНН: 02508201610067 [18:29:20]line Контрольно-Кассовый Чек [18:29:20]line ПРОДАЖА [18:29:20]line Товар: 2000036230011 [18:29:20]line Кофе Латте XL(GABB TRADE) [18:29:20]line 5.000 * 130.00 [18:29:20]line = 650.00 [18:29:20]line НДС 12% НСП 1% [18:29:20]line > о реализуемом товаре [18:29:20]line ИТОГО: 650.00 [18:29:20]line НСП 1% : 5.75 [18:29:20]line НДС 12% : 69.03 [18:29:20]line Наличными: 0.00 [18:29:20]line Безнал.: 650.00 [18:29:20]line Место: АЗС № 132 "Партнер Нефть" [18:29:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:29:20]line СНО: Общий режим [18:29:20]line Чек 79 12.07.2024 18:29 [18:29:20]line Смена: 494 ФФД: 1.0 [18:29:20]line ЗНМ: 0300000132 [18:29:20]line РНМ: 0000000000091208 [18:29:20]line Версия ККМ: 001 [18:29:20]line Платежная система: О! деньги [18:29:20]line ФМ: 0000000000874857 [18:29:20]line ФД: 56811 [18:29:20]line ФПД: 182750602311944 [18:29:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T182921&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56811&fm=182750602311944&tin=02508201610067®Number=0000000000091208&sum=65000 [18:29:20]line 0 [18:29:20]OFD Sender: Processing packet 56811 [packets to send 38, broken 37] [18:29:20]ProducePacketName [18:29:20]name=ofd_packets/00056811 [18:29:20]OFD Sender: To server: pG, [18:29:20]CommunicateWithHost lk.salyk.kg:30040 [18:29:20]ConnectInit lk.salyk.kg [18:29:20]written 0, free lines is 4095 [18:29:20]Connected sock=10 [18:29: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 38 35 37 28 01 00 00 98 53 20 01 05 FD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 01 76 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DD 00 00 35 04 06 00 A6 35 F0 BB B9 08 70 BC 03 05 70 76 0D 9E [18: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 38 35 37 4F 00 00 00 D8 C2 47 00 2C C7 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 38 35 37 10 04 04 00 EB DD 00 00 F4 03 04 00 58 1C 91 66 B6 04 01 00 00 9B 49 23 7D B9 FD B6 77 [18:29:20]CommunicateWithHost err = 0 [18:29:20]CheckOFDResponse [18:29:20]1017 (14) - 77093643461234 [18:29:20]1041 (16) - 0000000000874857 [18:29:20]1040 (4) - 56811 [18:29:20]1012 (4) - 12.07.2024 12:06 [18:29:20]1206 (1) - 0 [18:29:20]OFD Sender: Remove packet 56811 [18:29:20]ProducePacketName [18:29:20]name=ofd_packets/00056811 [18:29:20]NVStorageDeleteData [18:29:20]Write to MH i2c: 01 00 00 29 11 3A [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 07 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: 01 07 00 29 11 00 00 00 00 00 05 0D 53 [18:29:20]RasterBufferAndPrint [18:29:20]line [18:29:20]line [18:29:20]line [18:29:20]line [18:29:20]line [18:29:20]written 0, free lines is 3339 [18:29:20]MH_Cut [18:29:20]Write to MH i2c: D1 01 00 30 11 01 13 [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: D1 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: D1 01 00 [18:29:20]MH_I2C_Read... [18:29:20]Read from MH i2c: D1 01 00 30 11 00 12 [18:29:20]Write to MH i2c: 01 00 00 31 11 42 [18:29:20]Write i2c OK [18:29:20]MH_I2C_Read... [18:29:21]OFD Sender: No OFD packet to send [18:29:21]*** Cut start [18:29:21]*** Partial cut [18:29:21]*** CUTSNS_PIN = 1 [18:29:21]*** CUTSNS_PIN = 0 [18:29:21]*** Brake cut motor [18:29:22]Read from MH i2c: 01 [18:29:22]MH_I2C_Read... [18:29:22]*** Stop cut motor [18:29:22]*** Cut end [18:29:22]Read from MH i2c: 01 07 00 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: 01 07 00 31 11 00 00 00 00 00 FF 0F 57 [18:29:22]process_action close_receipt done [18:29:22]requested_data is exist [18:29:22]produce_requested_data [18:29:22]requested_item fm.sn is exist - process it [18:29:22]wFMCommunicate request_size=4 [18:29:22]MH_SAM_APDU [18:29:22]CAPDU: 80 11 00 00 [18:29:22]Write to MH i2c: E2 08 00 32 11 80 11 00 00 00 00 00 00 BD [18:29:22]Write i2c OK [18:29:22]MH_I2C_Read... [18:29:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:22]Read from MH i2c: E2 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 17 00 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 17 00 32 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 17 [18:29:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:29:22]wFMCommunicate OK [18:29:22]requested_item fd.num is exist - process it [18:29:22]SAM_PROTO_GetFieldsCounters [18:29:22]wFMCommunicate request_size=4 [18:29:22]MH_SAM_APDU [18:29:22]CAPDU: 80 13 00 00 [18:29:22]Write to MH i2c: E2 08 00 33 11 80 13 00 00 00 00 00 00 C0 [18:29:22]Write i2c OK [18:29:22]MH_I2C_Read... [18:29:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:29:22]Read from MH i2c: E2 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 62 00 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 62 00 33 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EB DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [18:29: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EB DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:29:22]wFMCommunicate OK [18:29:22]SAM_PROTO_GetFieldsCounters done [18:29:22]requested_item shift.num is exist - process it [18:29:22]requested_item shift.opened is exist - process it [18:29:22]req_shift_opened [18:29:22]FM_GetShiftState [18:29:22]SAM_PROTO_GetShiftState [18:29:22]wFMCommunicate request_size=4 [18:29:22]MH_SAM_APDU [18:29:22]CAPDU: 80 13 01 00 [18:29:22]Write to MH i2c: E2 08 00 34 11 80 13 01 00 00 00 00 00 C2 [18:29:22]Write i2c OK [18:29:22]MH_I2C_Read... [18:29:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:22]Read from MH i2c: E2 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 0E 00 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 0E 00 34 11 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C3 [18:29:22]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:29:22]wFMCommunicate OK [18:29:22]SAM_PROTO_GetShiftState done [18:29:22]FM_GetShiftState done [18:29:22]req_shift_opened done [18:29:22]requested_item shift.open_date is exist - process it [18:29:22]req_shift_open_date [18:29:22]req_shift_open_date done [18:29:22]requested_item shift.sale.total is exist - process it [18:29:22]SAM_PROTO_GetShiftData [18:29:22]wFMCommunicate request_size=4 [18:29:22]MH_SAM_APDU [18:29:22]CAPDU: 80 13 02 00 [18:29:22]Write to MH i2c: E2 08 00 35 11 80 13 02 00 00 00 00 00 C4 [18:29:22]Write i2c OK [18:29:22]MH_I2C_Read... [18:29:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:29:22]Read from MH i2c: E2 [18:29:22]MH_I2C_Read... [18:29:22]Read from MH i2c: E2 FD 00 [18:29:22]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 35 11 00 B6 04 AA 04 B2 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 F4 0D 20 70 04 03 00 04 16 18 72 04 03 00 F0 F7 07 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 87 67 03 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 99 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F2 [18:29:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 F4 0D 20 70 04 03 00 04 16 18 72 04 03 00 F0 F7 07 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 87 67 03 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 99 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:29:23]wFMCommunicate OK [18:29:23]wFMCommunicate request_size=4 [18:29:23]MH_SAM_APDU [18:29:23]CAPDU: 80 17 00 00 [18:29:23]Write to MH i2c: E2 08 00 36 11 80 17 00 00 00 00 00 00 C7 [18:29:23]Write i2c OK [18:29:23]MH_I2C_Read... [18:29:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:29:23]Read from MH i2c: E2 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 36 11 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 06 [18:29:23]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:29:23]wFMCommunicate OK [18:29:23]wFMCommunicate request_size=4 [18:29:23]MH_SAM_APDU [18:29:23]CAPDU: 80 17 00 00 [18:29:23]Write to MH i2c: E2 08 00 37 11 80 17 00 00 00 00 00 00 C8 [18:29:23]Write i2c OK [18:29:23]MH_I2C_Read... [18:29:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:29:23]Read from MH i2c: E2 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 37 11 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 88 [18:29:23]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:29:23]wFMCommunicate OK [18:29:23]wFMCommunicate request_size=4 [18:29:23]MH_SAM_APDU [18:29:23]CAPDU: 80 17 00 00 [18:29:23]Write to MH i2c: E2 08 00 38 11 80 17 00 00 00 00 00 00 C9 [18:29:23]Write i2c OK [18:29:23]MH_I2C_Read... [18:29:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:29:23]Read from MH i2c: E2 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 [18:29:23]MH_I2C_Read... [18:29:23]Read from MH i2c: E2 FD 00 38 11 00 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 90 00 38 [18:29:23]RAPDU: 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 90 00 [18:29:23]wFMCommunicate OK [18:29:23]wFMCommunicate request_size=4 [18:29:23]MH_SAM_APDU [18:29:23]CAPDU: 80 17 00 00 [18:29:23]Write to MH i2c: E2 08 00 39 11 80 17 00 00 00 00 00 00 CA [18:29:23]Write i2c OK [18:29:23]MH_I2C_Read... [18:29:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:29:24]Read from MH i2c: E2 [18:29:24]MH_I2C_Read... [18:29:24]Read from MH i2c: E2 D3 00 [18:29:24]MH_I2C_Read... [18:29:24]Read from MH i2c: E2 D3 00 39 11 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B7 [18:29:24]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:29:24]wFMCommunicate OK [18:29:24]SAM_PROTO_GetShiftData done [18:29:24]requested_item shift.sale.total_cash is exist - process it [18:29:24]requested_item shift.sale_refund.total is exist - process it [18:29:24]requested_item shift.sale_refund.total_cash is exist - process it [18:29:24]produce_requested_data done [18:29:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56811,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21007.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:29:24]process_action_free close_receipt [18:29:24]json_value_free [18:29:24]json_value_free done [18:29:24]process_json_proto returns [18:29:24]Send response to host [18:29:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56811,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21007.24,"shift.sale.total_cash":15785.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:29:24]free response buf [18:29:24]execute_script done [18:29:24]execute_script returns [18:29:24]free content buf [18:29:24]Sock 7.Close socket [18:29:24]Sock 7.Thread stoped [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]accept exits with 9 [18:34:56]New connection [18:34:56]New thread 3066637668 created [18:34:56]Thread 3066781028 joined [18:34:56]Waiting for new connection... [18:34:56] Sock 9.Parse request [18:34:56]Sock 9.Check first char [18:34:56]Sock 9.First char is OK [18:34:56]request: POST /json_proto HTTP/1.0 [18:34:56]Method: POST [18:34:56]URL: /json_proto [18:34:56]Method is POST - this is cgi request [18:34:56]url: /json_proto [18:34:56]query_string will be loaded in cgi processing [18:34:56]execute_cgi json_proto POST (null) [18:34:56]execute_cgi path=json_proto method=POST [18:34:56]POST find Content-Length [18:34:56]Host: 172.17.39.4:8080 [18:34:56]Content-Length: 725 [18:34:56]Content-Type: application/json [18:34:56] [18:34:56]POST finish read [18:34:56]Found Content-Length = 725 [18:34:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129302", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:34:56]execute_script... [18:34:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129302", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:34:56]POST & json_proto [18:34:56]process_json_proto [18:34:56]json parsed OK: [18:34:56]protocol is kg_v1.0 [18:34:56]action value=close_receipt [18:34:56]process_action close_receipt [18:34:56]cmd_close_receipt [18:34:56]MH_GetDate [18:34:56]Write to MH i2c: F0 00 00 3A 11 3A [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: F0 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: F0 09 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: F0 09 00 3A 11 00 53 77 91 66 2D 25 5D 64 17 [18:34:56]GetLastDocTimeStamp 1720808961 [18:34:56]current date 1720809299 [18:34:56]FM_GetShiftState [18:34:56]SAM_PROTO_GetShiftState [18:34:56]wFMCommunicate request_size=4 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 13 01 00 [18:34:56]Write to MH i2c: E2 08 00 3B 11 80 13 01 00 00 00 00 00 C9 [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 0E 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 0E 00 3B 11 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CA [18:34:56]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:34:56]wFMCommunicate OK [18:34:56]SAM_PROTO_GetShiftState done [18:34:56]FM_GetShiftState done [18:34:56]opened in 1720744326 [18:34:56]opened+sec_in_day 1720830726 [18:34:56]quantity*price = 14000 [18:34:56]sum+1 = 14001 [18:34:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 80 12.07.2024 18:34 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56812 ФПД: 200915935143568 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T183459&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56812&fm=200915935143568&tin=02508201610067®Number=0000000000091208&sum=14000 0 [18:34:57]StoreToDocumentArchive [18:34:57]shift 494 fd 56812 [18:34:57]save to /storage/0494/doc_00056812 [18:34:57]save last doc name /storage/0494/doc_00056812 to /storage/kkm_last_doc_name [18:34:57]save OK [18:34:57]Clear old archive folders... [18:34:57]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:34:57]tlvbuf is 01AEF050 [18:34:57]SAM_PROTO_ClearQueue [18:34:57]wFMCommunicate request_size=4 [18:34:57]MH_SAM_APDU [18:34:57]CAPDU: 80 09 00 00 [18:34:57]Write to MH i2c: E2 08 00 48 11 80 09 00 00 00 00 00 00 CB [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 48 11 00 90 00 CD [18:34:57]RAPDU: 90 00 [18:34:57]wFMCommunicate OK [18:34:57]SAM_PROTO_ClearQueue done [18:34:57]KKMCreateOFDPacket [18:34:57]OFDProtocolAddRootSTLVToBuf [18:34:57]FM_MakeSignedData [18:34:57]FM_MakeSignedData [18:34:57]SAM_PROTO_SignData [18:34:57]wFMCommunicate request_size=4 [18:34:57]MH_SAM_APDU [18:34:57]CAPDU: 80 0D 01 02 [18:34:57]Write to MH i2c: E2 08 00 49 11 80 0D 01 02 00 00 00 00 D3 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 49 11 00 90 00 CE [18:34:57]RAPDU: 90 00 [18:34:57]wFMCommunicate OK [18:34:57]wFMCommunicate request_size=255 [18:34:57]MH_SAM_APDU [18:34:57]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 50 00 00 00 F4 03 04 00 53 77 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [18:34:57]Write to MH i2c: E2 02 01 4A 11 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 50 00 00 00 F4 03 04 00 53 77 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 AF [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 4A 11 00 90 00 CF [18:34:57]RAPDU: 90 00 [18:34:57]wFMCommunicate OK [18:34:57]wFMCommunicate request_size=32 [18:34:57]MH_SAM_APDU [18:34:57]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DD 00 00 35 04 06 00 B6 BB 62 F1 A6 90 [18:34:57]Write to MH i2c: E2 23 00 4B 11 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DD 00 00 35 04 06 00 B6 BB 62 F1 A6 90 00 00 FD [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 03 00 4B 11 00 90 00 D0 [18:34:57]RAPDU: 90 00 [18:34:57]wFMCommunicate OK [18:34:57]wFMCommunicate request_size=4 [18:34:57]MH_SAM_APDU [18:34:57]CAPDU: 80 0D 03 02 [18:34:57]Write to MH i2c: E2 08 00 4C 11 80 0D 03 02 00 00 00 00 D8 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 0B 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 0B 00 4C 11 00 F4 4C EF CD C7 E2 E4 31 90 00 93 [18:34:57]RAPDU: F4 4C EF CD C7 E2 E4 31 90 00 [18:34:57]wFMCommunicate OK [18:34:57]SAM_PROTO_SignData done [18:34:57]FM_MakeSignedData done [18:34:57]CreateOFDProtocolMessage [18:34:57]wFMCommunicate request_size=4 [18:34:57]MH_SAM_APDU [18:34:57]CAPDU: 80 11 00 00 [18:34:57]Write to MH i2c: E2 08 00 4D 11 80 11 00 00 00 00 00 00 D8 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:58]Read from MH i2c: E2 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: E2 17 00 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: E2 17 00 4D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 32 [18:34:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:34:58]wFMCommunicate OK [18:34:58]CreateOFDProtocolMessage done [18:34:58]OFDSenderStorePacket 56812 [18:34:58]StoreOFDPacket docnum=56812 [18:34:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 95 5F 1D 01 0D 5C 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 50 00 00 00 F4 03 04 00 53 77 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DD 00 00 35 04 06 00 B6 BB 62 F1 A6 90 F4 4C EF CD C7 E2 E4 31 [18:34:58]CheckFolder [18:34:58]dirname=/storage/ofd_packets [18:34:58]CheckFolder done [18:34:58]ProducePacketName [18:34:58]name=ofd_packets/00056812 [18:34:58]NVStorageSaveData ofd_packets/00056812 [18:34:58]File name is /storage/ofd_packets/00056812 [18:34:58]Write 323 bytes [18:34:58]NVStorageSaveData done [18:34:58]OFDSenderStorePacket done [18:34:58]KKMCreateOFDPacket done [18:34:58]NVStorageSaveData kkm_last_timestamp [18:34:58]File name is /storage/kkm_last_timestamp [18:34:58]Write 4 bytes [18:34:58]NVStorageSaveData done [18:34:58]ExternCall_PrintAddStr [18:34:58]wPrintStart [18:34:58]Write to MH i2c: 01 00 00 4E 11 5F [18:34:58]Write i2c OK [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 07 00 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 07 00 4E 11 00 00 00 00 00 FF 0F 74 [18:34:58]RasterBufferAndPrint [18:34:58]line Счет N : (3)129302 [18:34:58]line ИНН: 02508201610067 [18:34:58]line Контрольно-Кассовый Чек [18:34:58]line ПРОДАЖА [18:34:58]line Товар: 48747059 [18:34:58]line Сигареты Winston Legend Blue [18:34:58]line 1.000 * 140.00 [18:34:58]line = 140.00 [18:34:58]line НДС 12% НСП 1% [18:34:58]line > о реализуемом товаре [18:34:58]line ИТОГО: 140.00 [18:34:58]line НСП 1% : 1.24 [18:34:58]line НДС 12% : 14.87 [18:34:58]line Наличными: 140.00 [18:34:58]line Безнал.: 0.00 [18:34:58]line Место: АЗС № 132 "Партнер Нефть" [18:34:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:34:58]line СНО: Общий режим [18:34:58]line Чек 80 12.07.2024 18:34 [18:34:58]line Смена: 494 ФФД: 1.0 [18:34:58]line ЗНМ: 0300000132 [18:34:58]line РНМ: 0000000000091208 [18:34:58]line Версия ККМ: 001 [18:34:58]line ФМ: 0000000000874857 [18:34:58]line ФД: 56812 [18:34:58]line ФПД: 200915935143568 [18:34:58]OFD Sender: Processing packet 56812 [packets to send 38, broken 37] [18:34:58]ProducePacketName [18:34:58]name=ofd_packets/00056812 [18:34:58]OFD Sender: To server: pG, [18:34:58]CommunicateWithHost lk.salyk.kg:30040 [18:34:58]ConnectInit lk.salyk.kg [18:34:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T183459&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56812&fm=200915935143568&tin=02508201610067®Number=0000000000091208&sum=14000 [18:34:58]Connected sock=11 [18:34:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 95 5F 1D 01 0D 5C 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 50 00 00 00 F4 03 04 00 53 77 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DD 00 00 35 04 06 00 B6 BB 62 F1 A6 90 F4 4C EF CD C7 E2 E4 31 [18:34:58]line 0 [18:34:58]written 0, free lines is 4095 [18:34:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 18 08 47 00 52 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 38 35 37 10 04 04 00 EC DD 00 00 F4 03 04 00 AA 1D 91 66 B6 04 01 00 00 88 23 EE C9 53 86 7C 9C [18:34:58]CommunicateWithHost err = 0 [18:34:58]CheckOFDResponse [18:34:58]1017 (14) - 77093643461234 [18:34:58]1041 (16) - 0000000000874857 [18:34:58]1040 (4) - 56812 [18:34:58]1012 (4) - 12.07.2024 12:12 [18:34:58]1206 (1) - 0 [18:34:58]OFD Sender: Remove packet 56812 [18:34:58]ProducePacketName [18:34:58]name=ofd_packets/00056812 [18:34:58]NVStorageDeleteData [18:34:58]Write to MH i2c: 01 00 00 77 11 88 [18:34:58]Write i2c OK [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 07 00 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: 01 07 00 77 11 00 00 00 00 00 DD 0C 78 [18:34:58]RasterBufferAndPrint [18:34:58]line [18:34:58]line [18:34:58]line [18:34:58]line [18:34:58]line [18:34:58]written 0, free lines is 3300 [18:34:58]MH_Cut [18:34:58]Write to MH i2c: D1 01 00 7E 11 01 61 [18:34:58]Write i2c OK [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: D1 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: D1 01 00 [18:34:58]MH_I2C_Read... [18:34:58]Read from MH i2c: D1 01 00 7E 11 00 60 [18:34:58]Write to MH i2c: 01 00 00 7F 11 90 [18:34:58]Write i2c OK [18:34:58]MH_I2C_Read... [18:34:59]OFD Sender: No OFD packet to send [18:34:59]*** Cut start [18:34:59]*** Partial cut [18:34:59]*** CUTSNS_PIN = 1 [18:34:59]*** CUTSNS_PIN = 0 [18:34:59]*** Brake cut motor [18:35:00]Read from MH i2c: 01 [18:35:00]MH_I2C_Read... [18:35:00]*** Stop cut motor [18:35:00]*** Cut end [18:35:00]Read from MH i2c: 01 07 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: 01 07 00 7F 11 00 00 00 00 00 FF 0F A5 [18:35:00]process_action close_receipt done [18:35:00]requested_data is exist [18:35:00]produce_requested_data [18:35:00]requested_item fm.sn is exist - process it [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 11 00 00 [18:35:00]Write to MH i2c: E2 08 00 80 11 80 11 00 00 00 00 00 00 0B [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:00]Read from MH i2c: E2 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 17 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 17 00 80 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [18:35:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:35:00]wFMCommunicate OK [18:35:00]requested_item fd.num is exist - process it [18:35:00]SAM_PROTO_GetFieldsCounters [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 13 00 00 [18:35:00]Write to MH i2c: E2 08 00 81 11 80 13 00 00 00 00 00 00 0E [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:00]Read from MH i2c: E2 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 62 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 62 00 81 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EC DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [18:35:00]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EC DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:00]wFMCommunicate OK [18:35:00]SAM_PROTO_GetFieldsCounters done [18:35:00]requested_item shift.num is exist - process it [18:35:00]requested_item shift.opened is exist - process it [18:35:00]req_shift_opened [18:35:00]FM_GetShiftState [18:35:00]SAM_PROTO_GetShiftState [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 13 01 00 [18:35:00]Write to MH i2c: E2 08 00 82 11 80 13 01 00 00 00 00 00 10 [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:00]Read from MH i2c: E2 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 0E 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 0E 00 82 11 00 09 00 01 86 79 90 66 00 00 00 00 90 00 11 [18:35:00]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:35:00]wFMCommunicate OK [18:35:00]SAM_PROTO_GetShiftState done [18:35:00]FM_GetShiftState done [18:35:00]req_shift_opened done [18:35:00]requested_item shift.open_date is exist - process it [18:35:00]req_shift_open_date [18:35:00]req_shift_open_date done [18:35:00]requested_item shift.sale.total is exist - process it [18:35:00]SAM_PROTO_GetShiftData [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 13 02 00 [18:35:00]Write to MH i2c: E2 08 00 83 11 80 13 02 00 00 00 00 00 12 [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:35:00]Read from MH i2c: E2 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 FD 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 FD 00 83 11 00 B6 04 AA 04 B2 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 A4 44 20 70 04 03 00 B4 4C 18 72 04 03 00 F0 F7 07 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 56 6D 03 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 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 61 [18:35:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 A4 44 20 70 04 03 00 B4 4C 18 72 04 03 00 F0 F7 07 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 56 6D 03 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 15 49 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:35:00]wFMCommunicate OK [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 17 00 00 [18:35:00]Write to MH i2c: E2 08 00 84 11 80 17 00 00 00 00 00 00 15 [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:01]Read from MH i2c: E2 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 84 11 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [18:35:01]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:35:01]wFMCommunicate OK [18:35:01]wFMCommunicate request_size=4 [18:35:01]MH_SAM_APDU [18:35:01]CAPDU: 80 17 00 00 [18:35:01]Write to MH i2c: E2 08 00 85 11 80 17 00 00 00 00 00 00 16 [18:35:01]Write i2c OK [18:35:01]MH_I2C_Read... [18:35:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:01]Read from MH i2c: E2 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 85 11 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [18:35:01]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:35:01]wFMCommunicate OK [18:35:01]wFMCommunicate request_size=4 [18:35:01]MH_SAM_APDU [18:35:01]CAPDU: 80 17 00 00 [18:35:01]Write to MH i2c: E2 08 00 86 11 80 17 00 00 00 00 00 00 17 [18:35:01]Write i2c OK [18:35:01]MH_I2C_Read... [18:35:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:01]Read from MH i2c: E2 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 FD 00 86 11 00 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 90 00 86 [18:35:01]RAPDU: 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 90 00 [18:35:01]wFMCommunicate OK [18:35:01]wFMCommunicate request_size=4 [18:35:01]MH_SAM_APDU [18:35:01]CAPDU: 80 17 00 00 [18:35:01]Write to MH i2c: E2 08 00 87 11 80 17 00 00 00 00 00 00 18 [18:35:01]Write i2c OK [18:35:01]MH_I2C_Read... [18:35:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:35:01]Read from MH i2c: E2 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 D3 00 [18:35:01]MH_I2C_Read... [18:35:01]Read from MH i2c: E2 D3 00 87 11 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 05 [18:35:02]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:35:02]wFMCommunicate OK [18:35:02]SAM_PROTO_GetShiftData done [18:35:02]requested_item shift.sale.total_cash is exist - process it [18:35:02]requested_item shift.sale_refund.total is exist - process it [18:35:02]requested_item shift.sale_refund.total_cash is exist - process it [18:35:02]produce_requested_data done [18:35:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56812,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21147.24,"shift.sale.total_cash":15925.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:35:02]process_action_free close_receipt [18:35:02]json_value_free [18:35:02]json_value_free done [18:35:02]process_json_proto returns [18:35:02]Send response to host [18:35:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56812,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21147.24,"shift.sale.total_cash":15925.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:35:02]free response buf [18:35:02]execute_script done [18:35:02]execute_script returns [18:35:02]free content buf [18:35:02]Sock 9.Close socket [18:35:02]Sock 9.Thread stoped [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:00]accept exits with 7 [18:42:00]New connection [18:42:00]New thread 3066781028 created [18:42:00]Thread 3066637668 joined [18:42:00]Waiting for new connection... [18:42:00] Sock 7.Parse request [18:42:00]Sock 7.Check first char [18:42:00]Sock 7.First char is OK [18:42:00]request: POST /json_proto HTTP/1.0 [18:42:00]Method: POST [18:42:00]URL: /json_proto [18:42:00]Method is POST - this is cgi request [18:42:00]url: /json_proto [18:42:00]query_string will be loaded in cgi processing [18:42:00]execute_cgi json_proto POST (null) [18:42:00]execute_cgi path=json_proto method=POST [18:42:00]POST find Content-Length [18:42:00]Host: 172.17.39.4:8080 [18:42:00]Content-Length: 781 [18:42:00]Content-Type: application/json [18:42:00] [18:42:00]POST finish read [18:42:00]Found Content-Length = 781 [18:42:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854345", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:42:00]execute_script... [18:42: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 : (1)854345", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:42:00]POST & json_proto [18:42:00]process_json_proto [18:42:00]json parsed OK: [18:42:00]protocol is kg_v1.0 [18:42:00]action value=close_receipt [18:42:00]process_action close_receipt [18:42:00]cmd_close_receipt [18:42:00]MH_GetDate [18:42:00]Write to MH i2c: F0 00 00 88 11 88 [18:42:00]Write i2c OK [18:42:00]MH_I2C_Read... [18:42:00]Read from MH i2c: F0 [18:42:00]MH_I2C_Read... [18:42:00]Read from MH i2c: F0 09 00 [18:42:00]MH_I2C_Read... [18:42:00]Read from MH i2c: F0 09 00 88 11 00 FB 78 91 66 2D 25 5D 64 0E [18:42:00]GetLastDocTimeStamp 1720809299 [18:42:00]current date 1720809723 [18:42:00]FM_GetShiftState [18:42:00]SAM_PROTO_GetShiftState [18:42:00]wFMCommunicate request_size=4 [18:42:00]MH_SAM_APDU [18:42:00]CAPDU: 80 13 01 00 [18:42:00]Write to MH i2c: E2 08 00 89 11 80 13 01 00 00 00 00 00 17 [18:42:00]Write i2c OK [18:42:00]MH_I2C_Read... [18:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:00]Read from MH i2c: E2 [18:42:00]MH_I2C_Read... [18:42:00]Read from MH i2c: E2 0E 00 [18:42:00]MH_I2C_Read... [18:42:00]Read from MH i2c: E2 0E 00 89 11 00 09 00 01 86 79 90 66 00 00 00 00 90 00 18 [18:42:00]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:42:00]wFMCommunicate OK [18:42:00]SAM_PROTO_GetShiftState done [18:42:00]FM_GetShiftState done [18:42:00]opened in 1720744326 [18:42:00]opened+sec_in_day 1720830726 [18:42:00]quantity*price = 30033 [18:42:00]sum+1 = 30035 [18:42:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.34 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 81 12.07.2024 18:42 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56813 ФПД: 126416521979413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T184203&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56813&fm=126416521979413&tin=02508201610067®Number=0000000000091208&sum=30000 [18:42:01]StoreToDocumentArchive [18:42:01]shift 494 fd 56813 [18:42:01]save to /storage/0494/doc_00056813 [18:42:01]save last doc name /storage/0494/doc_00056813 to /storage/kkm_last_doc_name [18:42:01]save OK [18:42:01]Clear old archive folders... [18:42:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:42:01]tlvbuf is 01AC0F80 [18:42:01]SAM_PROTO_ClearQueue [18:42:01]wFMCommunicate request_size=4 [18:42:01]MH_SAM_APDU [18:42:01]CAPDU: 80 09 00 00 [18:42:01]Write to MH i2c: E2 08 00 96 11 80 09 00 00 00 00 00 00 19 [18:42:01]Write i2c OK [18:42:01]MH_I2C_Read... [18:42:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:42:01]Read from MH i2c: E2 [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 03 00 [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 03 00 96 11 00 90 00 1B [18:42:01]RAPDU: 90 00 [18:42:01]wFMCommunicate OK [18:42:01]SAM_PROTO_ClearQueue done [18:42:01]KKMCreateOFDPacket [18:42:01]OFDProtocolAddRootSTLVToBuf [18:42:01]FM_MakeSignedData [18:42:01]FM_MakeSignedData [18:42:01]SAM_PROTO_SignData [18:42:01]wFMCommunicate request_size=4 [18:42:01]MH_SAM_APDU [18:42:01]CAPDU: 80 0D 01 02 [18:42:01]Write to MH i2c: E2 08 00 97 11 80 0D 01 02 00 00 00 00 21 [18:42:01]Write i2c OK [18:42:01]MH_I2C_Read... [18:42:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:42:01]Read from MH i2c: E2 [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 03 00 [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 03 00 97 11 00 90 00 1C [18:42:01]RAPDU: 90 00 [18:42:01]wFMCommunicate OK [18:42:01]wFMCommunicate request_size=255 [18:42:01]MH_SAM_APDU [18:42:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 FB 78 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DD 00 00 35 04 06 00 72 [18:42:01]Write to MH i2c: E2 02 01 98 11 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 FB 78 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DD 00 00 35 04 06 00 72 00 00 72 [18:42:01]Write i2c OK [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 [18:42:01]MH_I2C_Read... [18:42:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:01]Read from MH i2c: E2 03 00 [18:42:01]MH_I2C_Read... [18:42:01]Read from MH i2c: E2 03 00 98 11 00 90 00 1D [18:42:01]RAPDU: 90 00 [18:42:01]wFMCommunicate OK [18:42:01]wFMCommunicate request_size=10 [18:42:01]MH_SAM_APDU [18:42:01]CAPDU: 80 0D 02 02 05 F9 A3 E2 E6 15 [18:42:01]Write to MH i2c: E2 0D 00 99 11 80 0D 02 02 05 00 F9 A3 E2 E6 15 00 00 A7 [18:42:01]Write i2c OK [18:42:01]MH_I2C_Read... [18:42:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:02]Read from MH i2c: E2 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 03 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 03 00 99 11 00 90 00 1E [18:42:02]RAPDU: 90 00 [18:42:02]wFMCommunicate OK [18:42:02]wFMCommunicate request_size=4 [18:42:02]MH_SAM_APDU [18:42:02]CAPDU: 80 0D 03 02 [18:42:02]Write to MH i2c: E2 08 00 9A 11 80 0D 03 02 00 00 00 00 26 [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:42:02]Read from MH i2c: E2 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 0B 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 0B 00 9A 11 00 CA 12 54 F2 5F 78 12 37 90 00 69 [18:42:02]RAPDU: CA 12 54 F2 5F 78 12 37 90 00 [18:42:02]wFMCommunicate OK [18:42:02]SAM_PROTO_SignData done [18:42:02]FM_MakeSignedData done [18:42:02]CreateOFDProtocolMessage [18:42:02]wFMCommunicate request_size=4 [18:42:02]MH_SAM_APDU [18:42:02]CAPDU: 80 11 00 00 [18:42:02]Write to MH i2c: E2 08 00 9B 11 80 11 00 00 00 00 00 00 26 [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:02]Read from MH i2c: E2 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 17 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: E2 17 00 9B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 80 [18:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:42:02]wFMCommunicate OK [18:42:02]CreateOFDProtocolMessage done [18:42:02]OFDSenderStorePacket 56813 [18:42:02]StoreOFDPacket docnum=56813 [18:42:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 95 3E 07 01 B6 87 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 FB 78 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DD 00 00 35 04 06 00 72 F9 A3 E2 E6 15 CA 12 54 F2 5F 78 12 37 [18:42:02]CheckFolder [18:42:02]dirname=/storage/ofd_packets [18:42:02]CheckFolder done [18:42:02]ProducePacketName [18:42:02]name=ofd_packets/00056813 [18:42:02]NVStorageSaveData ofd_packets/00056813 [18:42:02]File name is /storage/ofd_packets/00056813 [18:42:02]Write 301 bytes [18:42:02]NVStorageSaveData done [18:42:02]OFDSenderStorePacket done [18:42:02]KKMCreateOFDPacket done [18:42:02]NVStorageSaveData kkm_last_timestamp [18:42:02]File name is /storage/kkm_last_timestamp [18:42:02]Write 4 bytes [18:42:02]NVStorageSaveData done [18:42:02]ExternCall_PrintAddStr [18:42:02]wPrintStart [18:42:02]Write to MH i2c: 01 00 00 9C 11 AD [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 07 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 07 00 9C 11 00 00 00 00 00 FF 0F C2 [18:42:02]RasterBufferAndPrint [18:42:02]line Счет N : (1)854345 [18:42:02]line ИНН: 02508201610067 [18:42:02]line Контрольно-Кассовый Чек [18:42:02]line ПРОДАЖА [18:42:02]line ТРК (МРК, ГНК) : 63 [18:42:02]line Товар: 2710124130 [18:42:02]line Аи-92-К-5 [18:42:02]line 4.530 * 66.30 [18:42:02]line = 300.34 [18:42:02]line НДС 12% НСП 1% [18:42:02]line > о реализуемом товаре [18:42:02]line ОКРУГЛЕНИЕ: -0.34 [18:42:02]line ИТОГО: 300.00 [18:42:02]line Внесено: 300.00 [18:42:02]line СДАЧА: 0.00 [18:42:02]line НСП 1% : 2.66 [18:42:02]line НДС 12% : 31.89 [18:42:02]line Наличными: 300.00 [18:42:02]line Безнал.: 0.00 [18:42:02]line Место: АЗС № 132 "Партнер Нефть" [18:42:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:42:02]line СНО: Общий режим [18:42:02]line Чек 81 12.07.2024 18:42 [18:42:02]line Смена: 494 ФФД: 1.0 [18:42:02]line ЗНМ: 0300000132 [18:42:02]line РНМ: 0000000000091208 [18:42:02]line Версия ККМ: 001 [18:42:02]line ФМ: 0000000000874857 [18:42:02]line ФД: 56813 [18:42:02]line ФПД: 126416521979413 [18:42:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T184203&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56813&fm=126416521979413&tin=02508201610067®Number=0000000000091208&sum=30000 [18:42:02]OFD Sender: Processing packet 56813 [packets to send 38, broken 37] [18:42:02]ProducePacketName [18:42:02]name=ofd_packets/00056813 [18:42:02]OFD Sender: To server: pG, [18:42:02]CommunicateWithHost lk.salyk.kg:30040 [18:42:02]ConnectInit lk.salyk.kg [18:42:02]written 0, free lines is 4095 [18:42:02]Connected sock=10 [18:42: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 38 35 37 0F 01 00 00 95 3E 07 01 B6 87 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 FB 78 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DD 00 00 35 04 06 00 72 F9 A3 E2 E6 15 CA 12 54 F2 5F 78 12 37 [18:42:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 59 70 47 00 CB 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DD 00 00 F4 03 04 00 52 1F 91 66 B6 04 01 00 00 47 88 4A B6 50 99 25 CE [18:42:02]CommunicateWithHost err = 0 [18:42:02]CheckOFDResponse [18:42:02]1017 (14) - 77093643461234 [18:42:02]1041 (16) - 0000000000874857 [18:42:02]1040 (4) - 56813 [18:42:02]1012 (4) - 12.07.2024 12:19 [18:42:02]1206 (1) - 0 [18:42:02]OFD Sender: Remove packet 56813 [18:42:02]ProducePacketName [18:42:02]name=ofd_packets/00056813 [18:42:02]NVStorageDeleteData [18:42:02]Write to MH i2c: 01 00 00 C7 11 D8 [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 07 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: 01 07 00 C7 11 00 00 00 00 00 EE 0C D9 [18:42:02]RasterBufferAndPrint [18:42:02]line [18:42:02]line [18:42:02]line [18:42:02]line [18:42:02]line [18:42:02]written 0, free lines is 3316 [18:42:02]MH_Cut [18:42:02]Write to MH i2c: D1 01 00 CE 11 01 B1 [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: D1 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: D1 01 00 [18:42:02]MH_I2C_Read... [18:42:02]Read from MH i2c: D1 01 00 CE 11 00 B0 [18:42:02]Write to MH i2c: 01 00 00 CF 11 E0 [18:42:02]Write i2c OK [18:42:02]MH_I2C_Read... [18:42:03]OFD Sender: No OFD packet to send [18:42:03]*** Cut start [18:42:03]*** Partial cut [18:42:03]*** CUTSNS_PIN = 1 [18:42:03]*** CUTSNS_PIN = 0 [18:42:03]*** Brake cut motor [18:42:04]Read from MH i2c: 01 [18:42:04]MH_I2C_Read... [18:42:04]*** Stop cut motor [18:42:04]*** Cut end [18:42:04]Read from MH i2c: 01 07 00 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: 01 07 00 CF 11 00 00 00 00 00 FF 0F F5 [18:42:04]process_action close_receipt done [18:42:04]requested_data is exist [18:42:04]produce_requested_data [18:42:04]requested_item fm.sn is exist - process it [18:42:04]wFMCommunicate request_size=4 [18:42:04]MH_SAM_APDU [18:42:04]CAPDU: 80 11 00 00 [18:42:04]Write to MH i2c: E2 08 00 D0 11 80 11 00 00 00 00 00 00 5B [18:42:04]Write i2c OK [18:42:04]MH_I2C_Read... [18:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:04]Read from MH i2c: E2 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 17 00 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 17 00 D0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B5 [18:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:42:04]wFMCommunicate OK [18:42:04]requested_item fd.num is exist - process it [18:42:04]SAM_PROTO_GetFieldsCounters [18:42:04]wFMCommunicate request_size=4 [18:42:04]MH_SAM_APDU [18:42:04]CAPDU: 80 13 00 00 [18:42:04]Write to MH i2c: E2 08 00 D1 11 80 13 00 00 00 00 00 00 5E [18:42:04]Write i2c OK [18:42:04]MH_I2C_Read... [18:42:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:42:04]Read from MH i2c: E2 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 62 00 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 62 00 D1 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 ED DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [18:42: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 ED DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:42:04]wFMCommunicate OK [18:42:04]SAM_PROTO_GetFieldsCounters done [18:42:04]requested_item shift.num is exist - process it [18:42:04]requested_item shift.opened is exist - process it [18:42:04]req_shift_opened [18:42:04]FM_GetShiftState [18:42:04]SAM_PROTO_GetShiftState [18:42:04]wFMCommunicate request_size=4 [18:42:04]MH_SAM_APDU [18:42:04]CAPDU: 80 13 01 00 [18:42:04]Write to MH i2c: E2 08 00 D2 11 80 13 01 00 00 00 00 00 60 [18:42:04]Write i2c OK [18:42:04]MH_I2C_Read... [18:42:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:04]Read from MH i2c: E2 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 0E 00 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 0E 00 D2 11 00 09 00 01 86 79 90 66 00 00 00 00 90 00 61 [18:42:04]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [18:42:04]wFMCommunicate OK [18:42:04]SAM_PROTO_GetShiftState done [18:42:04]FM_GetShiftState done [18:42:04]req_shift_opened done [18:42:04]requested_item shift.open_date is exist - process it [18:42:04]req_shift_open_date [18:42:04]req_shift_open_date done [18:42:04]requested_item shift.sale.total is exist - process it [18:42:04]SAM_PROTO_GetShiftData [18:42:04]wFMCommunicate request_size=4 [18:42:04]MH_SAM_APDU [18:42:04]CAPDU: 80 13 02 00 [18:42:04]Write to MH i2c: E2 08 00 D3 11 80 13 02 00 00 00 00 00 62 [18:42:04]Write i2c OK [18:42:04]MH_I2C_Read... [18:42:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:42:04]Read from MH i2c: E2 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 FD 00 [18:42:04]MH_I2C_Read... [18:42:04]Read from MH i2c: E2 FD 00 D3 11 00 B6 04 AA 04 B2 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 D4 B9 20 70 04 03 00 E4 C1 18 72 04 03 00 F0 F7 07 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 CB 79 03 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 1F 4A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 89 [18:42:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 D4 B9 20 70 04 03 00 E4 C1 18 72 04 03 00 F0 F7 07 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 CB 79 03 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 1F 4A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [18:42:04]wFMCommunicate OK [18:42:04]wFMCommunicate request_size=4 [18:42:04]MH_SAM_APDU [18:42:04]CAPDU: 80 17 00 00 [18:42:04]Write to MH i2c: E2 08 00 D4 11 80 17 00 00 00 00 00 00 65 [18:42:04]Write i2c OK [18:42:04]MH_I2C_Read... [18:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:42:05]Read from MH i2c: E2 [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 FD 00 [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 FD 00 D4 11 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A4 [18:42:05]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:42:05]wFMCommunicate OK [18:42:05]wFMCommunicate request_size=4 [18:42:05]MH_SAM_APDU [18:42:05]CAPDU: 80 17 00 00 [18:42:05]Write to MH i2c: E2 08 00 D5 11 80 17 00 00 00 00 00 00 66 [18:42:05]Write i2c OK [18:42:05]MH_I2C_Read... [18:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:42:05]Read from MH i2c: E2 [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 FD 00 [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 FD 00 D5 11 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [18:42:05]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:42:05]wFMCommunicate OK [18:42:05]wFMCommunicate request_size=4 [18:42:05]MH_SAM_APDU [18:42:05]CAPDU: 80 17 00 00 [18:42:05]Write to MH i2c: E2 08 00 D6 11 80 17 00 00 00 00 00 00 67 [18:42:05]Write i2c OK [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 [18:42:05]MH_I2C_Read... [18:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:42:05]Read from MH i2c: E2 FD 00 [18:42:05]MH_I2C_Read... [18:42:05]Read from MH i2c: E2 FD 00 D6 11 00 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 90 00 D6 [18:42:05]RAPDU: 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 90 00 [18:42:05]wFMCommunicate OK [18:42:05]wFMCommunicate request_size=4 [18:42:05]MH_SAM_APDU [18:42:05]CAPDU: 80 17 00 00 [18:42:05]Write to MH i2c: E2 08 00 D7 11 80 17 00 00 00 00 00 00 68 [18:42:05]Write i2c OK [18:42:05]MH_I2C_Read... [18:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [18:42:06]Read from MH i2c: E2 [18:42:06]MH_I2C_Read... [18:42:06]Read from MH i2c: E2 D3 00 [18:42:06]MH_I2C_Read... [18:42:06]Read from MH i2c: E2 D3 00 D7 11 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 [18:42:06]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:42:06]wFMCommunicate OK [18:42:06]SAM_PROTO_GetShiftData done [18:42:06]requested_item shift.sale.total_cash is exist - process it [18:42:06]requested_item shift.sale_refund.total is exist - process it [18:42:06]requested_item shift.sale_refund.total_cash is exist - process it [18:42:06]produce_requested_data done [18:42:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56813,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21447.24,"shift.sale.total_cash":16225.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [18:42:06]process_action_free close_receipt [18:42:06]json_value_free [18:42:06]json_value_free done [18:42:06]process_json_proto returns [18:42:06]Send response to host [18:42:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56813,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21447.24,"shift.sale.total_cash":16225.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [18:42:06]free response buf [18:42:06]execute_script done [18:42:06]execute_script returns [18:42:06]free content buf [18:42:06]Sock 7.Close socket [18:42:06]Sock 7.Thread stoped [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:48]OFD Sender: No OFD packet to send [18:52:53]OFD Sender: No OFD packet to send [18:52:58]OFD Sender: No OFD packet to send [18:53:03]OFD Sender: No OFD packet to send [18:53:08]OFD Sender: No OFD packet to send [18:53:13]OFD Sender: No OFD packet to send [18:53:18]OFD Sender: No OFD packet to send [18:53:23]OFD Sender: No OFD packet to send [18:53:28]OFD Sender: No OFD packet to send [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:09:32]ConnectInit Can't connect to host [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [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:00]accept exits with 9 [19:21:00]New connection [19:21:00]New thread 3067325796 created [19:21:00]Thread 3067182436 joined [19:21:00]Waiting for new connection... [19:21:00] Sock 9.Parse request [19:21:00]Sock 9.Check first char [19:21:00]Sock 9.First char is OK [19:21:00]request: POST /json_proto HTTP/1.0 [19:21:00]Method: POST [19:21:00]URL: /json_proto [19:21:00]Method is POST - this is cgi request [19:21:00]url: /json_proto [19:21:00]query_string will be loaded in cgi processing [19:21:00]execute_cgi json_proto POST (null) [19:21:00]execute_cgi path=json_proto method=POST [19:21:00]POST find Content-Length [19:21:00]Host: 172.17.39.4:8080 [19:21:00]Content-Length: 1060 [19:21:00]Content-Type: application/json [19:21:00] [19:21:00]POST finish read [19:21:00]Found Content-Length = 1060 [19:21:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129303", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:21:00]execute_script... [19:21: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)129303", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:21:00]POST & json_proto [19:21:00]process_json_proto [19:21:00]json parsed OK: [19:21:00]protocol is kg_v1.0 [19:21:00]action value=close_receipt [19:21:00]process_action close_receipt [19:21:00]cmd_close_receipt [19:21:00]MH_GetDate [19:21:00]Write to MH i2c: F0 00 00 1D 00 0C [19:21:00]Write i2c OK [19:21:00]MH_I2C_Read... [19:21:00]Read from MH i2c: F0 [19:21:00]MH_I2C_Read... [19:21:00]Read from MH i2c: F0 09 00 [19:21:00]MH_I2C_Read... [19:21:00]Read from MH i2c: F0 09 00 1D 00 00 1D 82 91 66 2D 25 5D 64 BE [19:21:00]GetLastDocTimeStamp 1720809723 [19:21:00]current date 1720812061 [19:21:00]FM_GetShiftState [19:21:00]SAM_PROTO_GetShiftState [19:21:00]wFMCommunicate request_size=4 [19:21:00]MH_SAM_APDU [19:21:00]CAPDU: 80 13 01 00 [19:21:00]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [19:21:00]Write i2c OK [19:21:00]MH_I2C_Read... [19:21:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:21:00]Read from MH i2c: E2 [19:21:00]MH_I2C_Read... [19:21:00]Read from MH i2c: E2 0E 00 [19:21:00]MH_I2C_Read... [19:21:00]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 9C [19:21:00]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:21:00]wFMCommunicate OK [19:21:00]SAM_PROTO_GetShiftState done [19:21:00]FM_GetShiftState done [19:21:00]opened in 1720744326 [19:21:00]opened+sec_in_day 1720830726 [19:21:00]quantity*price = 12000 [19:21:00]sum+1 = 12001 [19:21:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000273673 Сок Piko Pulpy красный виноград ПЭТ 1л 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.85 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 82 12.07.2024 19:21 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56814 ФПД: 74112893351270 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T192101&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56814&fm=74112893351270&tin=02508201610067®Number=0000000000091208&sum=30000 0 [19:21:01]StoreToDocumentArchive [19:21:01]shift 494 fd 56814 [19:21:01]save to /storage/0494/doc_00056814 [19:21:01]save last doc name /storage/0494/doc_00056814 to /storage/kkm_last_doc_name [19:21:01]save OK [19:21:01]Clear old archive folders... [19:21:01]ProcessDocumentItem done err = 0, tmpTLVsize=403 [19:21:01]tlvbuf is 01FD6AF0 [19:21:01]SAM_PROTO_ClearQueue [19:21:01]wFMCommunicate request_size=4 [19:21:01]MH_SAM_APDU [19:21:01]CAPDU: 80 09 00 00 [19:21:01]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [19:21:01]Write i2c OK [19:21:01]MH_I2C_Read... [19:21:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:21:01]Read from MH i2c: E2 [19:21:01]MH_I2C_Read... [19:21:01]Read from MH i2c: E2 03 00 [19:21:01]MH_I2C_Read... [19:21:01]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [19:21:01]RAPDU: 90 00 [19:21:01]wFMCommunicate OK [19:21:01]SAM_PROTO_ClearQueue done [19:21:01]KKMCreateOFDPacket [19:21:01]OFDProtocolAddRootSTLVToBuf [19:21:01]FM_MakeSignedData [19:21:01]FM_MakeSignedData [19:21:01]SAM_PROTO_SignData [19:21:01]wFMCommunicate request_size=4 [19:21:01]MH_SAM_APDU [19:21:01]CAPDU: 80 0D 01 02 [19:21:01]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [19:21:01]Write i2c OK [19:21:01]MH_I2C_Read... [19:21:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:21:02]Read from MH i2c: E2 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [19:21:02]RAPDU: 90 00 [19:21:02]wFMCommunicate OK [19:21:02]wFMCommunicate request_size=255 [19:21:02]MH_SAM_APDU [19:21:02]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 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 FC 03 06 00 30 75 00 00 [19:21:02]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 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 FC 03 06 00 30 75 00 00 00 00 C4 [19:21:02]Write i2c OK [19:21:02]MH_I2C_Read... [19:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:21:02]Read from MH i2c: E2 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [19:21:02]RAPDU: 90 00 [19:21:02]wFMCommunicate OK [19:21:02]wFMCommunicate request_size=162 [19:21:02]MH_SAM_APDU [19:21:02]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 1D 82 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DD 00 00 35 04 06 00 43 67 C0 AE 75 66 [19:21:02]Write to MH i2c: E2 A5 00 2E 00 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 1D 82 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DD 00 00 35 04 06 00 43 67 C0 AE 75 66 00 00 E2 [19:21:02]Write i2c OK [19:21:02]MH_I2C_Read... [19:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:21:02]Read from MH i2c: E2 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [19:21:02]RAPDU: 90 00 [19:21:02]wFMCommunicate OK [19:21:02]wFMCommunicate request_size=4 [19:21:02]MH_SAM_APDU [19:21:02]CAPDU: 80 0D 03 02 [19:21:02]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [19:21:02]Write i2c OK [19:21:02]MH_I2C_Read... [19:21:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:21:02]Read from MH i2c: E2 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 0B 00 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 0B 00 2F 00 00 FB 42 7A 50 19 C1 29 61 90 00 16 [19:21:02]RAPDU: FB 42 7A 50 19 C1 29 61 90 00 [19:21:02]wFMCommunicate OK [19:21:02]SAM_PROTO_SignData done [19:21:02]FM_MakeSignedData done [19:21:02]CreateOFDProtocolMessage [19:21:02]wFMCommunicate request_size=4 [19:21:02]MH_SAM_APDU [19:21:02]CAPDU: 80 11 00 00 [19:21:02]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [19:21:02]Write i2c OK [19:21:02]MH_I2C_Read... [19:21:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:21:02]Read from MH i2c: E2 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: E2 17 00 [19:21:02]MH_I2C_Read... [19:21:02]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 38 35 37 90 00 04 [19:21:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:21:02]wFMCommunicate OK [19:21:02]CreateOFDProtocolMessage done [19:21:02]OFDSenderStorePacket 56814 [19:21:02]StoreOFDPacket docnum=56814 [19:21:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A7 01 00 00 79 70 9F 01 5C 56 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 1D 82 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DD 00 00 35 04 06 00 43 67 C0 AE 75 66 FB 42 7A 50 19 C1 29 61 [19:21:02]CheckFolder [19:21:02]dirname=/storage/ofd_packets [19:21:02]CheckFolder done [19:21:02]ProducePacketName [19:21:02]name=ofd_packets/00056814 [19:21:02]NVStorageSaveData ofd_packets/00056814 [19:21:02]File name is /storage/ofd_packets/00056814 [19:21:02]Write 453 bytes [19:21:02]NVStorageSaveData done [19:21:02]OFDSenderStorePacket done [19:21:02]KKMCreateOFDPacket done [19:21:02]NVStorageSaveData kkm_last_timestamp [19:21:02]File name is /storage/kkm_last_timestamp [19:21:02]Write 4 bytes [19:21:02]NVStorageSaveData done [19:21:02]ExternCall_PrintAddStr [19:21:02]wPrintStart [19:21:02]Write to MH i2c: 01 00 00 31 00 31 [19:21:02]Write i2c OK [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: 01 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: 01 07 00 [19:21:02]MH_I2C_Read... [19:21:02]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [19:21:02]RasterBufferAndPrint [19:21:02]line Счет N : (3)129303 [19:21:02]line ИНН: 02508201610067 [19:21:02]line Контрольно-Кассовый Чек [19:21:02]line ПРОДАЖА [19:21:02]line Товар: 4700000160204 [19:21:02]line Вода Легенда 1,5л [19:21:02]line 2.000 * 60.00 [19:21:02]line = 120.00 [19:21:02]line НДС 12% НСП 1% [19:21:02]line > о реализуемом товаре [19:21:02]line Товар: 5449000273673 [19:21:02]line Сок Piko Pulpy красный виноград ПЭТ 1л [19:21:02]line 1.000 * 180.00 [19:21:02]line = 180.00 [19:21:02]line НДС 12% НСП 1% [19:21:02]line > о реализуемом товаре [19:21:02]line ИТОГО: 300.00 [19:21:02]line НСП 1% : 2.65 [19:21:02]line НДС 12% : 31.85 [19:21:02]line Наличными: 300.00 [19:21:02]line Безнал.: 0.00 [19:21:02]line Место: АЗС № 132 "Партнер Нефть" [19:21:02]OFD Sender: Processing packet 56814 [packets to send 38, broken 37] [19:21:02]ProducePacketName [19:21:02]name=ofd_packets/00056814 [19:21:02]OFD Sender: To server: pG, [19:21:02]CommunicateWithHost lk.salyk.kg:30040 [19:21:02]ConnectInit lk.salyk.kg [19:21:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:21:02]line СНО: Общий режим [19:21:02]line Чек 82 12.07.2024 19:21 [19:21:02]line Смена: 494 ФФД: 1.0 [19:21:02]line ЗНМ: 0300000132 [19:21:02]line РНМ: 0000000000091208 [19:21:02]line Версия ККМ: 001 [19:21:02]line ФМ: 0000000000874857 [19:21:02]line ФД: 56814 [19:21:02]line ФПД: 74112893351270 [19:21:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T192101&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56814&fm=74112893351270&tin=02508201610067®Number=0000000000091208&sum=30000 [19:21:02]line 0 [19:21:02]written 0, free lines is 4095 [19:21:03]Connected sock=10 [19:21: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 38 35 37 A7 01 00 00 79 70 9F 01 5C 56 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 1D 82 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DD 00 00 35 04 06 00 43 67 C0 AE 75 66 FB 42 7A 50 19 C1 29 61 [19:21:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A6 7C 47 00 A5 FE 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 38 35 37 10 04 04 00 EE DD 00 00 F4 03 04 00 74 28 91 66 B6 04 01 00 00 8B 23 27 4F FB D8 D4 C0 [19:21:03]CommunicateWithHost err = 0 [19:21:03]CheckOFDResponse [19:21:03]1017 (14) - 77093643461234 [19:21:03]1041 (16) - 0000000000874857 [19:21:03]1040 (4) - 56814 [19:21:03]1012 (4) - 12.07.2024 12:58 [19:21:03]1206 (1) - 0 [19:21:03]OFD Sender: Remove packet 56814 [19:21:03]ProducePacketName [19:21:03]name=ofd_packets/00056814 [19:21:03]NVStorageDeleteData [19:21:03]Write to MH i2c: 01 00 00 60 00 60 [19:21:03]Write i2c OK [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: 01 [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: 01 07 00 [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 AE 0C 21 [19:21:03]RasterBufferAndPrint [19:21:03]line [19:21:03]line [19:21:03]line [19:21:03]line [19:21:03]line [19:21:03]written 0, free lines is 3251 [19:21:03]MH_Cut [19:21:03]Write to MH i2c: D1 01 00 67 00 01 39 [19:21:03]Write i2c OK [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: D1 [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: D1 01 00 [19:21:03]MH_I2C_Read... [19:21:03]Read from MH i2c: D1 01 00 67 00 00 38 [19:21:03]Write to MH i2c: 01 00 00 68 00 68 [19:21:03]Write i2c OK [19:21:03]MH_I2C_Read... [19:21:03]OFD Sender: No OFD packet to send [19:21:04]*** Cut start [19:21:04]*** Partial cut [19:21:04]*** CUTSNS_PIN = 1 [19:21:04]*** CUTSNS_PIN = 0 [19:21:04]*** Brake cut motor [19:21:04]Read from MH i2c: 01 [19:21:04]MH_I2C_Read... [19:21:04]*** Stop cut motor [19:21:04]*** Cut end [19:21:04]Read from MH i2c: 01 07 00 [19:21:04]MH_I2C_Read... [19:21:04]Read from MH i2c: 01 07 00 68 00 00 00 00 00 00 FF 0F 7D [19:21:04]process_action close_receipt done [19:21:04]requested_data is exist [19:21:04]produce_requested_data [19:21:04]requested_item fm.sn is exist - process it [19:21:04]wFMCommunicate request_size=4 [19:21:04]MH_SAM_APDU [19:21:04]CAPDU: 80 11 00 00 [19:21:04]Write to MH i2c: E2 08 00 69 00 80 11 00 00 00 00 00 00 E3 [19:21:04]Write i2c OK [19:21:04]MH_I2C_Read... [19:21:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:21:04]Read from MH i2c: E2 [19:21:04]MH_I2C_Read... [19:21:04]Read from MH i2c: E2 17 00 [19:21:04]MH_I2C_Read... [19:21:04]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 38 35 37 90 00 3D [19:21:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:21:04]wFMCommunicate OK [19:21:04]requested_item fd.num is exist - process it [19:21:04]SAM_PROTO_GetFieldsCounters [19:21:04]wFMCommunicate request_size=4 [19:21:04]MH_SAM_APDU [19:21:04]CAPDU: 80 13 00 00 [19:21:04]Write to MH i2c: E2 08 00 6A 00 80 13 00 00 00 00 00 00 E6 [19:21:04]Write i2c OK [19:21:04]MH_I2C_Read... [19:21:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:21:05]Read from MH i2c: E2 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 62 00 [19:21:05]MH_I2C_Read... [19:21:05]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EE DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [19:21: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EE DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:21:05]wFMCommunicate OK [19:21:05]SAM_PROTO_GetFieldsCounters done [19:21:05]requested_item shift.num is exist - process it [19:21:05]requested_item shift.opened is exist - process it [19:21:05]req_shift_opened [19:21:05]FM_GetShiftState [19:21:05]SAM_PROTO_GetShiftState [19:21:05]wFMCommunicate request_size=4 [19:21:05]MH_SAM_APDU [19:21:05]CAPDU: 80 13 01 00 [19:21:05]Write to MH i2c: E2 08 00 6B 00 80 13 01 00 00 00 00 00 E8 [19:21:05]Write i2c OK [19:21:05]MH_I2C_Read... [19:21:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:21:05]Read from MH i2c: E2 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 0E 00 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 0E 00 6B 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E9 [19:21:05]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:21:05]wFMCommunicate OK [19:21:05]SAM_PROTO_GetShiftState done [19:21:05]FM_GetShiftState done [19:21:05]req_shift_opened done [19:21:05]requested_item shift.open_date is exist - process it [19:21:05]req_shift_open_date [19:21:05]req_shift_open_date done [19:21:05]requested_item shift.sale.total is exist - process it [19:21:05]SAM_PROTO_GetShiftData [19:21:05]wFMCommunicate request_size=4 [19:21:05]MH_SAM_APDU [19:21:05]CAPDU: 80 13 02 00 [19:21:05]Write to MH i2c: E2 08 00 6C 00 80 13 02 00 00 00 00 00 EA [19:21:05]Write i2c OK [19:21:05]MH_I2C_Read... [19:21:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:21:05]Read from MH i2c: E2 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 FD 00 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 FD 00 6C 00 00 B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 04 2F 21 70 04 03 00 14 37 19 72 04 03 00 F0 F7 07 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 3C 86 03 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 28 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E9 [19:21:05]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 04 2F 21 70 04 03 00 14 37 19 72 04 03 00 F0 F7 07 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 3C 86 03 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 28 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [19:21:05]wFMCommunicate OK [19:21:05]wFMCommunicate request_size=4 [19:21:05]MH_SAM_APDU [19:21:05]CAPDU: 80 17 00 00 [19:21:05]Write to MH i2c: E2 08 00 6D 00 80 17 00 00 00 00 00 00 ED [19:21:05]Write i2c OK [19:21:05]MH_I2C_Read... [19:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:21:05]Read from MH i2c: E2 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 FD 00 [19:21:05]MH_I2C_Read... [19:21:05]Read from MH i2c: E2 FD 00 6D 00 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [19:21:05]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:21:05]wFMCommunicate OK [19:21:05]wFMCommunicate request_size=4 [19:21:05]MH_SAM_APDU [19:21:05]CAPDU: 80 17 00 00 [19:21:05]Write to MH i2c: E2 08 00 6E 00 80 17 00 00 00 00 00 00 EE [19:21:05]Write i2c OK [19:21:05]MH_I2C_Read... [19:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:21:06]Read from MH i2c: E2 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 FD 00 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 FD 00 6E 00 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AE [19:21:06]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:21:06]wFMCommunicate OK [19:21:06]wFMCommunicate request_size=4 [19:21:06]MH_SAM_APDU [19:21:06]CAPDU: 80 17 00 00 [19:21:06]Write to MH i2c: E2 08 00 6F 00 80 17 00 00 00 00 00 00 EF [19:21:06]Write i2c OK [19:21:06]MH_I2C_Read... [19:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:21:06]Read from MH i2c: E2 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 FD 00 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 FD 00 6F 00 00 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 90 00 5E [19:21:06]RAPDU: 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 90 00 [19:21:06]wFMCommunicate OK [19:21:06]wFMCommunicate request_size=4 [19:21:06]MH_SAM_APDU [19:21:06]CAPDU: 80 17 00 00 [19:21:06]Write to MH i2c: E2 08 00 70 00 80 17 00 00 00 00 00 00 F0 [19:21:06]Write i2c OK [19:21:06]MH_I2C_Read... [19:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:21:06]Read from MH i2c: E2 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 D3 00 [19:21:06]MH_I2C_Read... [19:21:06]Read from MH i2c: E2 D3 00 70 00 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DD [19:21:06]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:21:06]wFMCommunicate OK [19:21:06]SAM_PROTO_GetShiftData done [19:21:06]requested_item shift.sale.total_cash is exist - process it [19:21:06]requested_item shift.sale_refund.total is exist - process it [19:21:06]requested_item shift.sale_refund.total_cash is exist - process it [19:21:06]produce_requested_data done [19:21:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56814,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21747.24,"shift.sale.total_cash":16525.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [19:21:06]process_action_free close_receipt [19:21:06]json_value_free [19:21:06]json_value_free done [19:21:06]process_json_proto returns [19:21:06]Send response to host [19:21:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56814,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21747.24,"shift.sale.total_cash":16525.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [19:21:06]free response buf [19:21:06]execute_script done [19:21:06]execute_script returns [19:21:06]free content buf [19:21:06]Sock 9.Close socket [19:21:06]Sock 9.Thread stoped [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27:54]OFD Sender: No OFD packet to send [19:27:59]OFD Sender: No OFD packet to send [19:28:04]OFD Sender: No OFD packet to send [19:28:09]OFD Sender: No OFD packet to send [19:28:14]OFD Sender: No OFD packet to send [19:28:19]OFD Sender: No OFD packet to send [19:28:24]OFD Sender: No OFD packet to send [19:28:29]OFD Sender: No OFD packet to send [19:28:34]OFD Sender: No OFD packet to send [19:28:39]OFD Sender: No OFD packet to send [19:28:44]OFD Sender: No OFD packet to send [19:28:49]OFD Sender: No OFD packet to send [19:28:54]OFD Sender: No OFD packet to send [19:28:59]OFD Sender: No OFD packet to send [19:29:04]OFD Sender: No OFD packet to send [19:29:09]OFD Sender: No OFD packet to send [19:29:14]OFD Sender: No OFD packet to send [19:29:19]OFD Sender: No OFD packet to send [19:29:24]OFD Sender: No OFD packet to send [19:29:29]OFD Sender: No OFD packet to send [19:29:34]OFD Sender: No OFD packet to send [19:29:39]OFD Sender: No OFD packet to send [19:29:44]OFD Sender: No OFD packet to send [19:29:49]OFD Sender: No OFD packet to send [19:29:54]OFD Sender: No OFD packet to send [19:29:59]OFD Sender: No OFD packet to send [19:30:04]OFD Sender: No OFD packet to send [19:30:09]OFD Sender: No OFD packet to send [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:30:59]OFD Sender: No OFD packet to send [19:31:04]OFD Sender: No OFD packet to send [19:31:09]OFD Sender: No OFD packet to send [19:31:14]OFD Sender: No OFD packet to send [19:31:19]OFD Sender: No OFD packet to send [19:31:24]OFD Sender: No OFD packet to send [19:31:29]OFD Sender: No OFD packet to send [19:31:34]OFD Sender: No OFD packet to send [19:31:39]OFD Sender: No OFD packet to send [19:31:44]OFD Sender: No OFD packet to send [19:31:49]OFD Sender: No OFD packet to send [19:31:54]OFD Sender: No OFD packet to send [19:31:59]OFD Sender: No OFD packet to send [19:32:04]OFD Sender: No OFD packet to send [19:32:09]OFD Sender: No OFD packet to send [19:32:14]OFD Sender: No OFD packet to send [19:32:19]OFD Sender: No OFD packet to send [19:32:24]OFD Sender: No OFD packet to send [19:32:29]OFD Sender: No OFD packet to send [19:32:34]OFD Sender: No OFD packet to send [19:32:39]OFD Sender: No OFD packet to send [19:32:44]OFD Sender: No OFD packet to send [19:32:49]OFD Sender: No OFD packet to send [19:32:54]OFD Sender: No OFD packet to send [19:32:57]accept exits with 7 [19:32:57]New connection [19:32:57]New thread 3067182436 created [19:32:57]Thread 3067325796 joined [19:32:57]Waiting for new connection... [19:32:57] Sock 7.Parse request [19:32:57]Sock 7.Check first char [19:32:57]Sock 7.First char is OK [19:32:57]request: POST /json_proto HTTP/1.0 [19:32:57]Method: POST [19:32:57]URL: /json_proto [19:32:57]Method is POST - this is cgi request [19:32:57]url: /json_proto [19:32:57]query_string will be loaded in cgi processing [19:32:57]execute_cgi json_proto POST (null) [19:32:57]execute_cgi path=json_proto method=POST [19:32:57]POST find Content-Length [19:32:57]Host: 172.17.39.4:8080 [19:32:57]Content-Length: 724 [19:32:57]Content-Type: application/json [19:32:57] [19:32:57]POST finish read [19:32:57]Found Content-Length = 724 [19:32:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129304", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:32:57]execute_script... [19:32: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)129304", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:32:57]POST & json_proto [19:32:57]process_json_proto [19:32:57]json parsed OK: [19:32:57]protocol is kg_v1.0 [19:32:57]action value=close_receipt [19:32:57]process_action close_receipt [19:32:57]cmd_close_receipt [19:32:57]MH_GetDate [19:32:57]Write to MH i2c: F0 00 00 71 00 60 [19:32:57]Write i2c OK [19:32:57]MH_I2C_Read... [19:32:57]Read from MH i2c: F0 [19:32:57]MH_I2C_Read... [19:32:57]Read from MH i2c: F0 09 00 [19:32:57]MH_I2C_Read... [19:32:57]Read from MH i2c: F0 09 00 71 00 00 EA 84 91 66 2D 25 5D 64 E1 [19:32:57]GetLastDocTimeStamp 1720812061 [19:32:57]current date 1720812778 [19:32:57]FM_GetShiftState [19:32:57]SAM_PROTO_GetShiftState [19:32:57]wFMCommunicate request_size=4 [19:32:57]MH_SAM_APDU [19:32:57]CAPDU: 80 13 01 00 [19:32:57]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [19:32:57]Write i2c OK [19:32:57]MH_I2C_Read... [19:32:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:57]Read from MH i2c: E2 [19:32:57]MH_I2C_Read... [19:32:57]Read from MH i2c: E2 0E 00 [19:32:57]MH_I2C_Read... [19:32:57]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F0 [19:32:57]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:32:57]wFMCommunicate OK [19:32:57]SAM_PROTO_GetShiftState done [19:32:57]FM_GetShiftState done [19:32:57]opened in 1720744326 [19:32:57]opened+sec_in_day 1720830726 [19:32:57]quantity*price = 13500 [19:32:57]sum+1 = 13501 [19:32:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 83 12.07.2024 19:32 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56815 ФПД: 158989799498197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193258&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56815&fm=158989799498197&tin=02508201610067®Number=0000000000091208&sum=13500 0 [19:32:58]StoreToDocumentArchive [19:32:58]shift 494 fd 56815 [19:32:58]save to /storage/0494/doc_00056815 [19:32:58]save last doc name /storage/0494/doc_00056815 to /storage/kkm_last_doc_name [19:32:58]save OK [19:32:58]Clear old archive folders... [19:32:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:32:58]tlvbuf is 01FA6100 [19:32:58]SAM_PROTO_ClearQueue [19:32:58]wFMCommunicate request_size=4 [19:32:58]MH_SAM_APDU [19:32:58]CAPDU: 80 09 00 00 [19:32:58]Write to MH i2c: E2 08 00 7F 00 80 09 00 00 00 00 00 00 F1 [19:32:58]Write i2c OK [19:32:58]MH_I2C_Read... [19:32:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:32:58]Read from MH i2c: E2 [19:32:58]MH_I2C_Read... [19:32:58]Read from MH i2c: E2 03 00 [19:32:58]MH_I2C_Read... [19:32:58]Read from MH i2c: E2 03 00 7F 00 00 90 00 F3 [19:32:58]RAPDU: 90 00 [19:32:58]wFMCommunicate OK [19:32:58]SAM_PROTO_ClearQueue done [19:32:58]KKMCreateOFDPacket [19:32:58]OFDProtocolAddRootSTLVToBuf [19:32:58]FM_MakeSignedData [19:32:58]FM_MakeSignedData [19:32:58]SAM_PROTO_SignData [19:32:58]wFMCommunicate request_size=4 [19:32:58]MH_SAM_APDU [19:32:58]CAPDU: 80 0D 01 02 [19:32:58]Write to MH i2c: E2 08 00 80 00 80 0D 01 02 00 00 00 00 F9 [19:32:58]Write i2c OK [19:32:58]MH_I2C_Read... [19:32:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:32:58]Read from MH i2c: E2 [19:32:58]MH_I2C_Read... [19:32:58]Read from MH i2c: E2 03 00 [19:32:58]MH_I2C_Read... [19:32:58]Read from MH i2c: E2 03 00 80 00 00 90 00 F4 [19:32:58]RAPDU: 90 00 [19:32:58]wFMCommunicate OK [19:32:58]wFMCommunicate request_size=255 [19:32:58]MH_SAM_APDU [19:32:58]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 53 00 00 00 F4 03 04 00 EA 84 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [19:32:58]Write to MH i2c: E2 02 01 81 00 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 53 00 00 00 F4 03 04 00 EA 84 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 56 [19:32:58]Write i2c OK [19:32:58]MH_I2C_Read... [19:32:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:59]Read from MH i2c: E2 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 03 00 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [19:32:59]RAPDU: 90 00 [19:32:59]wFMCommunicate OK [19:32:59]wFMCommunicate request_size=31 [19:32:59]MH_SAM_APDU [19:32:59]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 EF DD 00 00 35 04 06 00 90 99 B2 85 A1 D5 [19:32:59]Write to MH i2c: E2 22 00 82 00 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 EF DD 00 00 35 04 06 00 90 99 B2 85 A1 D5 00 00 D0 [19:32:59]Write i2c OK [19:32:59]MH_I2C_Read... [19:32:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:59]Read from MH i2c: E2 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 03 00 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [19:32:59]RAPDU: 90 00 [19:32:59]wFMCommunicate OK [19:32:59]wFMCommunicate request_size=4 [19:32:59]MH_SAM_APDU [19:32:59]CAPDU: 80 0D 03 02 [19:32:59]Write to MH i2c: E2 08 00 83 00 80 0D 03 02 00 00 00 00 FE [19:32:59]Write i2c OK [19:32:59]MH_I2C_Read... [19:32:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:32:59]Read from MH i2c: E2 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 0B 00 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 0B 00 83 00 00 E2 AD 46 FC 0F EF A6 D8 90 00 4C [19:32:59]RAPDU: E2 AD 46 FC 0F EF A6 D8 90 00 [19:32:59]wFMCommunicate OK [19:32:59]SAM_PROTO_SignData done [19:32:59]FM_MakeSignedData done [19:32:59]CreateOFDProtocolMessage [19:32:59]wFMCommunicate request_size=4 [19:32:59]MH_SAM_APDU [19:32:59]CAPDU: 80 11 00 00 [19:32:59]Write to MH i2c: E2 08 00 84 00 80 11 00 00 00 00 00 00 FE [19:32:59]Write i2c OK [19:32:59]MH_I2C_Read... [19:32:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:59]Read from MH i2c: E2 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 17 00 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: E2 17 00 84 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 58 [19:32:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:32:59]wFMCommunicate OK [19:32:59]CreateOFDProtocolMessage done [19:32:59]OFDSenderStorePacket 56815 [19:32:59]StoreOFDPacket docnum=56815 [19:32:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 64 A5 1C 01 C3 66 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 53 00 00 00 F4 03 04 00 EA 84 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DD 00 00 35 04 06 00 90 99 B2 85 A1 D5 E2 AD 46 FC 0F EF A6 D8 [19:32:59]CheckFolder [19:32:59]dirname=/storage/ofd_packets [19:32:59]CheckFolder done [19:32:59]ProducePacketName [19:32:59]name=ofd_packets/00056815 [19:32:59]NVStorageSaveData ofd_packets/00056815 [19:32:59]File name is /storage/ofd_packets/00056815 [19:32:59]Write 322 bytes [19:32:59]NVStorageSaveData done [19:32:59]OFDSenderStorePacket done [19:32:59]KKMCreateOFDPacket done [19:32:59]NVStorageSaveData kkm_last_timestamp [19:32:59]File name is /storage/kkm_last_timestamp [19:32:59]Write 4 bytes [19:32:59]NVStorageSaveData done [19:32:59]ExternCall_PrintAddStr [19:32:59]wPrintStart [19:32:59]Write to MH i2c: 01 00 00 85 00 85 [19:32:59]Write i2c OK [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: 01 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: 01 07 00 [19:32:59]MH_I2C_Read... [19:32:59]Read from MH i2c: 01 07 00 85 00 00 00 00 00 00 FF 0F 9A [19:32:59]RasterBufferAndPrint [19:32:59]line Счет N : (3)129304 [19:32:59]line ИНН: 02508201610067 [19:32:59]line Контрольно-Кассовый Чек [19:32:59]line ПРОДАЖА [19:32:59]line Товар: 48745000 [19:32:59]line Сигареты Winston Purple Mix [19:32:59]line 1.000 * 135.00 [19:32:59]line = 135.00 [19:32:59]line НДС 12% НСП 1% [19:32:59]line > о реализуемом товаре [19:32:59]line ИТОГО: 135.00 [19:32:59]line НСП 1% : 1.19 [19:32:59]line НДС 12% : 14.34 [19:32:59]line Наличными: 135.00 [19:32:59]line Безнал.: 0.00 [19:32:59]line Место: АЗС № 132 "Партнер Нефть" [19:32:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:32:59]line СНО: Общий режим [19:32:59]line Чек 83 12.07.2024 19:32 [19:32:59]line Смена: 494 ФФД: 1.0 [19:32:59]line ЗНМ: 0300000132 [19:32:59]line РНМ: 0000000000091208 [19:32:59]line Версия ККМ: 001 [19:32:59]line ФМ: 0000000000874857 [19:32:59]line ФД: 56815 [19:32:59]line ФПД: 158989799498197 [19:32:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193258&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56815&fm=158989799498197&tin=02508201610067®Number=0000000000091208&sum=13500 [19:32:59]OFD Sender: Processing packet 56815 [packets to send 38, broken 37] [19:32:59]ProducePacketName [19:32:59]name=ofd_packets/00056815 [19:32:59]OFD Sender: To server: pG, [19:32:59]CommunicateWithHost lk.salyk.kg:30040 [19:32:59]ConnectInit lk.salyk.kg [19:32:59]line 0 [19:32:59]written 0, free lines is 4095 [19:32:59]Connected sock=10 [19:32: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 38 35 37 24 01 00 00 64 A5 1C 01 C3 66 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 53 00 00 00 F4 03 04 00 EA 84 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DD 00 00 35 04 06 00 90 99 B2 85 A1 D5 E2 AD 46 FC 0F EF A6 D8 [19:32:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 44 1A 47 00 C6 7A 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 38 35 37 10 04 04 00 EF DD 00 00 F4 03 04 00 40 2B 91 66 B6 04 01 00 00 57 85 E0 5A D1 70 9C 62 [19:32:59]CommunicateWithHost err = 0 [19:32:59]CheckOFDResponse [19:32:59]1017 (14) - 77093643461234 [19:32:59]1041 (16) - 0000000000874857 [19:32:59]1040 (4) - 56815 [19:32:59]1012 (4) - 12.07.2024 13:10 [19:32:59]1206 (1) - 0 [19:32:59]OFD Sender: Remove packet 56815 [19:32:59]ProducePacketName [19:32:59]name=ofd_packets/00056815 [19:32:59]NVStorageDeleteData [19:33:00]Write to MH i2c: 01 00 00 AD 00 AD [19:33:00]Write i2c OK [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: 01 [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: 01 07 00 [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: 01 07 00 AD 00 00 00 00 00 00 06 0D C7 [19:33:00]RasterBufferAndPrint [19:33:00]line [19:33:00]line [19:33:00]line [19:33:00]line [19:33:00]line [19:33:00]written 0, free lines is 3340 [19:33:00]MH_Cut [19:33:00]Write to MH i2c: D1 01 00 B4 00 01 86 [19:33:00]Write i2c OK [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: D1 [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: D1 01 00 [19:33:00]MH_I2C_Read... [19:33:00]Read from MH i2c: D1 01 00 B4 00 00 85 [19:33:00]Write to MH i2c: 01 00 00 B5 00 B5 [19:33:00]Write i2c OK [19:33:00]MH_I2C_Read... [19:33:00]OFD Sender: No OFD packet to send [19:33:00]*** Cut start [19:33:00]*** Partial cut [19:33:00]*** CUTSNS_PIN = 1 [19:33:00]*** CUTSNS_PIN = 0 [19:33:01]*** Brake cut motor [19:33:01]Read from MH i2c: 01 [19:33:01]MH_I2C_Read... [19:33:01]*** Stop cut motor [19:33:01]*** Cut end [19:33:01]Read from MH i2c: 01 07 00 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: 01 07 00 B5 00 00 00 00 00 00 FF 0F CA [19:33:01]process_action close_receipt done [19:33:01]requested_data is exist [19:33:01]produce_requested_data [19:33:01]requested_item fm.sn is exist - process it [19:33:01]wFMCommunicate request_size=4 [19:33:01]MH_SAM_APDU [19:33:01]CAPDU: 80 11 00 00 [19:33:01]Write to MH i2c: E2 08 00 B6 00 80 11 00 00 00 00 00 00 30 [19:33:01]Write i2c OK [19:33:01]MH_I2C_Read... [19:33:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:01]Read from MH i2c: E2 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 17 00 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 17 00 B6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8A [19:33:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:33:01]wFMCommunicate OK [19:33:01]requested_item fd.num is exist - process it [19:33:01]SAM_PROTO_GetFieldsCounters [19:33:01]wFMCommunicate request_size=4 [19:33:01]MH_SAM_APDU [19:33:01]CAPDU: 80 13 00 00 [19:33:01]Write to MH i2c: E2 08 00 B7 00 80 13 00 00 00 00 00 00 33 [19:33:01]Write i2c OK [19:33:01]MH_I2C_Read... [19:33:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:33:01]Read from MH i2c: E2 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 62 00 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 62 00 B7 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EF DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [19:33: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EF DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:33:01]wFMCommunicate OK [19:33:01]SAM_PROTO_GetFieldsCounters done [19:33:01]requested_item shift.num is exist - process it [19:33:01]requested_item shift.opened is exist - process it [19:33:01]req_shift_opened [19:33:01]FM_GetShiftState [19:33:01]SAM_PROTO_GetShiftState [19:33:01]wFMCommunicate request_size=4 [19:33:01]MH_SAM_APDU [19:33:01]CAPDU: 80 13 01 00 [19:33:01]Write to MH i2c: E2 08 00 B8 00 80 13 01 00 00 00 00 00 35 [19:33:01]Write i2c OK [19:33:01]MH_I2C_Read... [19:33:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:01]Read from MH i2c: E2 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 0E 00 [19:33:01]MH_I2C_Read... [19:33:01]Read from MH i2c: E2 0E 00 B8 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 36 [19:33:01]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:33:01]wFMCommunicate OK [19:33:01]SAM_PROTO_GetShiftState done [19:33:01]FM_GetShiftState done [19:33:01]req_shift_opened done [19:33:01]requested_item shift.open_date is exist - process it [19:33:01]req_shift_open_date [19:33:01]req_shift_open_date done [19:33:01]requested_item shift.sale.total is exist - process it [19:33:01]SAM_PROTO_GetShiftData [19:33:01]wFMCommunicate request_size=4 [19:33:01]MH_SAM_APDU [19:33:01]CAPDU: 80 13 02 00 [19:33:01]Write to MH i2c: E2 08 00 B9 00 80 13 02 00 00 00 00 00 37 [19:33:01]Write i2c OK [19:33:01]MH_I2C_Read... [19:33:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:33:02]Read from MH i2c: E2 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 B9 00 00 B6 04 AA 04 B2 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 C0 63 21 70 04 03 00 D0 6B 19 72 04 03 00 F0 F7 07 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 D6 8B 03 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 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 2E [19:33:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 C0 63 21 70 04 03 00 D0 6B 19 72 04 03 00 F0 F7 07 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 D6 8B 03 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 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [19:33:02]wFMCommunicate OK [19:33:02]wFMCommunicate request_size=4 [19:33:02]MH_SAM_APDU [19:33:02]CAPDU: 80 17 00 00 [19:33:02]Write to MH i2c: E2 08 00 BA 00 80 17 00 00 00 00 00 00 3A [19:33:02]Write i2c OK [19:33:02]MH_I2C_Read... [19:33:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:33:02]Read from MH i2c: E2 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 BA 00 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [19:33:02]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:33:02]wFMCommunicate OK [19:33:02]wFMCommunicate request_size=4 [19:33:02]MH_SAM_APDU [19:33:02]CAPDU: 80 17 00 00 [19:33:02]Write to MH i2c: E2 08 00 BB 00 80 17 00 00 00 00 00 00 3B [19:33:02]Write i2c OK [19:33:02]MH_I2C_Read... [19:33:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:33:02]Read from MH i2c: E2 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 BB 00 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FB [19:33:02]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:33:02]wFMCommunicate OK [19:33:02]wFMCommunicate request_size=4 [19:33:02]MH_SAM_APDU [19:33:02]CAPDU: 80 17 00 00 [19:33:02]Write to MH i2c: E2 08 00 BC 00 80 17 00 00 00 00 00 00 3C [19:33:02]Write i2c OK [19:33:02]MH_I2C_Read... [19:33:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:33:02]Read from MH i2c: E2 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 [19:33:02]MH_I2C_Read... [19:33:02]Read from MH i2c: E2 FD 00 BC 00 00 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 90 00 AB [19:33:02]RAPDU: 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 90 00 [19:33:02]wFMCommunicate OK [19:33:02]wFMCommunicate request_size=4 [19:33:02]MH_SAM_APDU [19:33:02]CAPDU: 80 17 00 00 [19:33:02]Write to MH i2c: E2 08 00 BD 00 80 17 00 00 00 00 00 00 3D [19:33:02]Write i2c OK [19:33:02]MH_I2C_Read... [19:33:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:33:03]Read from MH i2c: E2 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: E2 D3 00 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: E2 D3 00 BD 00 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2A [19:33:03]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:33:03]wFMCommunicate OK [19:33:03]SAM_PROTO_GetShiftData done [19:33:03]requested_item shift.sale.total_cash is exist - process it [19:33:03]requested_item shift.sale_refund.total is exist - process it [19:33:03]requested_item shift.sale_refund.total_cash is exist - process it [19:33:03]produce_requested_data done [19:33:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56815,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21882.24,"shift.sale.total_cash":16660.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [19:33:03]process_action_free close_receipt [19:33:03]json_value_free [19:33:03]json_value_free done [19:33:03]process_json_proto returns [19:33:03]Send response to host [19:33:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56815,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21882.24,"shift.sale.total_cash":16660.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [19:33:03]free response buf [19:33:03]execute_script done [19:33:03]execute_script returns [19:33:03]free content buf [19:33:03]Sock 7.Close socket [19:33:03]Sock 7.Thread stoped [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]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:13]accept exits with 9 [19:49:13]New connection [19:49:13]New thread 3067325796 created [19:49:13]Thread 3067182436 joined [19:49:13]Waiting for new connection... [19:49:13] Sock 9.Parse request [19:49:13]Sock 9.Check first char [19:49:13]Sock 9.First char is OK [19:49:13]request: POST /json_proto HTTP/1.0 [19:49:13]Method: POST [19:49:13]URL: /json_proto [19:49:13]Method is POST - this is cgi request [19:49:13]url: /json_proto [19:49:13]query_string will be loaded in cgi processing [19:49:13]execute_cgi json_proto POST (null) [19:49:13]execute_cgi path=json_proto method=POST [19:49:13]POST find Content-Length [19:49:13]Host: 172.17.39.4:8080 [19:49:13]Content-Length: 815 [19:49:13]Content-Type: application/json [19:49:13] [19:49:13]POST finish read [19:49:13]Found Content-Length = 815 [19:49:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129305", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:49:13]execute_script... [19:49: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)129305", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:49:13]POST & json_proto [19:49:13]process_json_proto [19:49:13]json parsed OK: [19:49:13]protocol is kg_v1.0 [19:49:13]action value=close_receipt [19:49:13]process_action close_receipt [19:49:13]cmd_close_receipt [19:49:13]MH_GetDate [19:49:13]Write to MH i2c: F0 00 00 BE 00 AD [19:49:13]Write i2c OK [19:49:13]MH_I2C_Read... [19:49:13]Read from MH i2c: F0 [19:49:13]MH_I2C_Read... [19:49:13]Read from MH i2c: F0 09 00 [19:49:13]MH_I2C_Read... [19:49:13]Read from MH i2c: F0 09 00 BE 00 00 BA 88 91 66 2D 25 5D 64 02 [19:49:13]GetLastDocTimeStamp 1720812778 [19:49:13]current date 1720813754 [19:49:13]FM_GetShiftState [19:49:13]SAM_PROTO_GetShiftState [19:49:13]wFMCommunicate request_size=4 [19:49:13]MH_SAM_APDU [19:49:13]CAPDU: 80 13 01 00 [19:49:13]Write to MH i2c: E2 08 00 BF 00 80 13 01 00 00 00 00 00 3C [19:49:13]Write i2c OK [19:49:13]MH_I2C_Read... [19:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:13]Read from MH i2c: E2 [19:49:13]MH_I2C_Read... [19:49:13]Read from MH i2c: E2 0E 00 [19:49:13]MH_I2C_Read... [19:49:13]Read from MH i2c: E2 0E 00 BF 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 3D [19:49:13]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:49:13]wFMCommunicate OK [19:49:13]SAM_PROTO_GetShiftState done [19:49:13]FM_GetShiftState done [19:49:13]opened in 1720744326 [19:49:13]opened+sec_in_day 1720830726 [19:49:13]quantity*price = 8400 [19:49:13]sum+1 = 8401 [19:49:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 84 12.07.2024 19:49 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56816 ФПД: 179356840488711 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T194914&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56816&fm=179356840488711&tin=02508201610067®Number=0000000000091208&sum=8400 0 [19:49:14]StoreToDocumentArchive [19:49:14]shift 494 fd 56816 [19:49:14]save to /storage/0494/doc_00056816 [19:49:14]save last doc name /storage/0494/doc_00056816 to /storage/kkm_last_doc_name [19:49:14]save OK [19:49:14]Clear old archive folders... [19:49:14]ProcessDocumentItem done err = 0, tmpTLVsize=302 [19:49:14]tlvbuf is 01FD3560 [19:49:14]SAM_PROTO_ClearQueue [19:49:14]wFMCommunicate request_size=4 [19:49:14]MH_SAM_APDU [19:49:14]CAPDU: 80 09 00 00 [19:49:14]Write to MH i2c: E2 08 00 CC 00 80 09 00 00 00 00 00 00 3E [19:49:14]Write i2c OK [19:49:14]MH_I2C_Read... [19:49:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:49:14]Read from MH i2c: E2 [19:49:14]MH_I2C_Read... [19:49:14]Read from MH i2c: E2 03 00 [19:49:14]MH_I2C_Read... [19:49:14]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [19:49:14]RAPDU: 90 00 [19:49:14]wFMCommunicate OK [19:49:14]SAM_PROTO_ClearQueue done [19:49:14]KKMCreateOFDPacket [19:49:14]OFDProtocolAddRootSTLVToBuf [19:49:14]FM_MakeSignedData [19:49:14]FM_MakeSignedData [19:49:14]SAM_PROTO_SignData [19:49:14]wFMCommunicate request_size=4 [19:49:14]MH_SAM_APDU [19:49:14]CAPDU: 80 0D 01 02 [19:49:14]Write to MH i2c: E2 08 00 CD 00 80 0D 01 02 00 00 00 00 46 [19:49:14]Write i2c OK [19:49:14]MH_I2C_Read... [19:49:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:49:14]Read from MH i2c: E2 [19:49:14]MH_I2C_Read... [19:49:14]Read from MH i2c: E2 03 00 [19:49:14]MH_I2C_Read... [19:49:14]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [19:49:14]RAPDU: 90 00 [19:49:14]wFMCommunicate OK [19:49:14]wFMCommunicate request_size=255 [19:49:14]MH_SAM_APDU [19:49:14]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 54 00 00 00 F4 03 04 00 BA 88 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 [19:49:14]Write to MH i2c: E2 02 01 CE 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 54 00 00 00 F4 03 04 00 BA 88 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 00 00 60 [19:49:14]Write i2c OK [19:49:14]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 [19:49:15]MH_I2C_Read... [19:49:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:15]Read from MH i2c: E2 03 00 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 03 00 CE 00 00 90 00 42 [19:49:15]RAPDU: 90 00 [19:49:15]wFMCommunicate OK [19:49:15]wFMCommunicate request_size=61 [19:49:15]MH_SAM_APDU [19:49:15]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DD 00 00 35 04 06 00 A3 1F C4 C3 EF 07 [19:49:15]Write to MH i2c: E2 40 00 CF 00 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DD 00 00 35 04 06 00 A3 1F C4 C3 EF 07 00 00 8C [19:49:15]Write i2c OK [19:49:15]MH_I2C_Read... [19:49:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:15]Read from MH i2c: E2 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 03 00 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 03 00 CF 00 00 90 00 43 [19:49:15]RAPDU: 90 00 [19:49:15]wFMCommunicate OK [19:49:15]wFMCommunicate request_size=4 [19:49:15]MH_SAM_APDU [19:49:15]CAPDU: 80 0D 03 02 [19:49:15]Write to MH i2c: E2 08 00 D0 00 80 0D 03 02 00 00 00 00 4B [19:49:15]Write i2c OK [19:49:15]MH_I2C_Read... [19:49:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:49:15]Read from MH i2c: E2 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 0B 00 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 0B 00 D0 00 00 62 A1 C0 7A 0D BE 1B 0E 90 00 7D [19:49:15]RAPDU: 62 A1 C0 7A 0D BE 1B 0E 90 00 [19:49:15]wFMCommunicate OK [19:49:15]SAM_PROTO_SignData done [19:49:15]FM_MakeSignedData done [19:49:15]CreateOFDProtocolMessage [19:49:15]wFMCommunicate request_size=4 [19:49:15]MH_SAM_APDU [19:49:15]CAPDU: 80 11 00 00 [19:49:15]Write to MH i2c: E2 08 00 D1 00 80 11 00 00 00 00 00 00 4B [19:49:15]Write i2c OK [19:49:15]MH_I2C_Read... [19:49:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:15]Read from MH i2c: E2 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 17 00 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: E2 17 00 D1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A5 [19:49:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:49:15]wFMCommunicate OK [19:49:15]CreateOFDProtocolMessage done [19:49:15]OFDSenderStorePacket 56816 [19:49:15]StoreOFDPacket docnum=56816 [19:49:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 42 01 00 00 E1 2A 3A 01 BC 9A 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 54 00 00 00 F4 03 04 00 BA 88 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DD 00 00 35 04 06 00 A3 1F C4 C3 EF 07 62 A1 C0 7A 0D BE 1B 0E [19:49:15]CheckFolder [19:49:15]dirname=/storage/ofd_packets [19:49:15]CheckFolder done [19:49:15]ProducePacketName [19:49:15]name=ofd_packets/00056816 [19:49:15]NVStorageSaveData ofd_packets/00056816 [19:49:15]File name is /storage/ofd_packets/00056816 [19:49:15]Write 352 bytes [19:49:15]NVStorageSaveData done [19:49:15]OFDSenderStorePacket done [19:49:15]KKMCreateOFDPacket done [19:49:15]NVStorageSaveData kkm_last_timestamp [19:49:15]File name is /storage/kkm_last_timestamp [19:49:15]Write 4 bytes [19:49:15]NVStorageSaveData done [19:49:15]ExternCall_PrintAddStr [19:49:15]wPrintStart [19:49:15]Write to MH i2c: 01 00 00 D2 00 D2 [19:49:15]Write i2c OK [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: 01 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: 01 07 00 [19:49:15]MH_I2C_Read... [19:49:15]Read from MH i2c: 01 07 00 D2 00 00 00 00 00 00 FF 0F E7 [19:49:15]RasterBufferAndPrint [19:49:15]line Счет N : (3)129305 [19:49:15]line ИНН: 02508201610067 [19:49:15]line Контрольно-Кассовый Чек [19:49:15]line ПРОДАЖА [19:49:15]line Товар: 4870001571030 [19:49:15]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [19:49:15]line 1.000 * 84.00 [19:49:15]line = 84.00 [19:49:15]line НДС 12% НСП 1% [19:49:15]line > о реализуемом товаре [19:49:15]line ИТОГО: 84.00 [19:49:15]line НСП 1% : 0.74 [19:49:15]line НДС 12% : 8.92 [19:49:15]line Наличными: 84.00 [19:49:15]line Безнал.: 0.00 [19:49:15]line Место: АЗС № 132 "Партнер Нефть" [19:49:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:49:15]line СНО: Общий режим [19:49:15]line Чек 84 12.07.2024 19:49 [19:49:15]line Смена: 494 ФФД: 1.0 [19:49:15]line ЗНМ: 0300000132 [19:49:15]line РНМ: 0000000000091208 [19:49:15]line Версия ККМ: 001 [19:49:15]line ФМ: 0000000000874857 [19:49:15]line ФД: 56816 [19:49:15]line ФПД: 179356840488711 [19:49:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T194914&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56816&fm=179356840488711&tin=02508201610067®Number=0000000000091208&sum=8400 [19:49:15]line 0 [19:49:15]OFD Sender: Processing packet 56816 [packets to send 38, broken 37] [19:49:15]ProducePacketName [19:49:15]name=ofd_packets/00056816 [19:49:15]OFD Sender: To server: pG, [19:49:15]CommunicateWithHost lk.salyk.kg:30040 [19:49:15]ConnectInit lk.salyk.kg [19:49:15]written 0, free lines is 4095 [19:49:15]Connected sock=10 [19:49: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 38 35 37 42 01 00 00 E1 2A 3A 01 BC 9A 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 54 00 00 00 F4 03 04 00 BA 88 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DD 00 00 35 04 06 00 A3 1F C4 C3 EF 07 62 A1 C0 7A 0D BE 1B 0E [19:49:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E8 C7 47 00 6E 3B 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 38 35 37 10 04 04 00 F0 DD 00 00 F4 03 04 00 10 2F 91 66 B6 04 01 00 00 EA 8F 17 3C 0F C0 D2 E8 [19:49:16]CommunicateWithHost err = 0 [19:49:16]CheckOFDResponse [19:49:16]1017 (14) - 77093643461234 [19:49:16]1041 (16) - 0000000000874857 [19:49:16]1040 (4) - 56816 [19:49:16]1012 (4) - 12.07.2024 13:26 [19:49:16]1206 (1) - 0 [19:49:16]OFD Sender: Remove packet 56816 [19:49:16]ProducePacketName [19:49:16]name=ofd_packets/00056816 [19:49:16]NVStorageDeleteData [19:49:16]Write to MH i2c: 01 00 00 FB 00 FB [19:49:16]Write i2c OK [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: 01 [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: 01 07 00 [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: 01 07 00 FB 00 00 00 00 00 00 FA 0C 08 [19:49:16]RasterBufferAndPrint [19:49:16]line [19:49:16]line [19:49:16]line [19:49:16]line [19:49:16]line [19:49:16]written 0, free lines is 3327 [19:49:16]MH_Cut [19:49:16]Write to MH i2c: D1 01 00 02 01 01 D5 [19:49:16]Write i2c OK [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: D1 [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: D1 01 00 [19:49:16]MH_I2C_Read... [19:49:16]Read from MH i2c: D1 01 00 02 01 00 D4 [19:49:16]Write to MH i2c: 01 00 00 03 01 04 [19:49:16]Write i2c OK [19:49:16]MH_I2C_Read... [19:49:16]OFD Sender: No OFD packet to send [19:49:16]*** Cut start [19:49:16]*** Partial cut [19:49:16]*** CUTSNS_PIN = 1 [19:49:16]*** CUTSNS_PIN = 0 [19:49:17]*** Brake cut motor [19:49:17]Read from MH i2c: 01 [19:49:17]MH_I2C_Read... [19:49:17]*** Stop cut motor [19:49:17]*** Cut end [19:49:17]Read from MH i2c: 01 07 00 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: 01 07 00 03 01 00 00 00 00 00 FF 0F 19 [19:49:17]process_action close_receipt done [19:49:17]requested_data is exist [19:49:17]produce_requested_data [19:49:17]requested_item fm.sn is exist - process it [19:49:17]wFMCommunicate request_size=4 [19:49:17]MH_SAM_APDU [19:49:17]CAPDU: 80 11 00 00 [19:49:17]Write to MH i2c: E2 08 00 04 01 80 11 00 00 00 00 00 00 7F [19:49:17]Write i2c OK [19:49:17]MH_I2C_Read... [19:49:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:17]Read from MH i2c: E2 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 17 00 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 17 00 04 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D9 [19:49:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:49:17]wFMCommunicate OK [19:49:17]requested_item fd.num is exist - process it [19:49:17]SAM_PROTO_GetFieldsCounters [19:49:17]wFMCommunicate request_size=4 [19:49:17]MH_SAM_APDU [19:49:17]CAPDU: 80 13 00 00 [19:49:17]Write to MH i2c: E2 08 00 05 01 80 13 00 00 00 00 00 00 82 [19:49:17]Write i2c OK [19:49:17]MH_I2C_Read... [19:49:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:49:17]Read from MH i2c: E2 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 62 00 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 62 00 05 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F0 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [19:49: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F0 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:49:17]wFMCommunicate OK [19:49:17]SAM_PROTO_GetFieldsCounters done [19:49:17]requested_item shift.num is exist - process it [19:49:17]requested_item shift.opened is exist - process it [19:49:17]req_shift_opened [19:49:17]FM_GetShiftState [19:49:17]SAM_PROTO_GetShiftState [19:49:17]wFMCommunicate request_size=4 [19:49:17]MH_SAM_APDU [19:49:17]CAPDU: 80 13 01 00 [19:49:17]Write to MH i2c: E2 08 00 06 01 80 13 01 00 00 00 00 00 84 [19:49:17]Write i2c OK [19:49:17]MH_I2C_Read... [19:49:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:17]Read from MH i2c: E2 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 0E 00 [19:49:17]MH_I2C_Read... [19:49:17]Read from MH i2c: E2 0E 00 06 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 85 [19:49:17]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [19:49:17]wFMCommunicate OK [19:49:17]SAM_PROTO_GetShiftState done [19:49:17]FM_GetShiftState done [19:49:17]req_shift_opened done [19:49:17]requested_item shift.open_date is exist - process it [19:49:17]req_shift_open_date [19:49:17]req_shift_open_date done [19:49:17]requested_item shift.sale.total is exist - process it [19:49:17]SAM_PROTO_GetShiftData [19:49:17]wFMCommunicate request_size=4 [19:49:17]MH_SAM_APDU [19:49:17]CAPDU: 80 13 02 00 [19:49:17]Write to MH i2c: E2 08 00 07 01 80 13 02 00 00 00 00 00 86 [19:49:17]Write i2c OK [19:49:17]MH_I2C_Read... [19:49:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:49:18]Read from MH i2c: E2 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 07 01 00 B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 90 84 21 70 04 03 00 A0 8C 19 72 04 03 00 F0 F7 07 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 52 8F 03 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 E9 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 2B [19:49:18]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 90 84 21 70 04 03 00 A0 8C 19 72 04 03 00 F0 F7 07 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 52 8F 03 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 E9 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [19:49:18]wFMCommunicate OK [19:49:18]wFMCommunicate request_size=4 [19:49:18]MH_SAM_APDU [19:49:18]CAPDU: 80 17 00 00 [19:49:18]Write to MH i2c: E2 08 00 08 01 80 17 00 00 00 00 00 00 89 [19:49:18]Write i2c OK [19:49:18]MH_I2C_Read... [19:49:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:49:18]Read from MH i2c: E2 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 08 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C8 [19:49:18]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:49:18]wFMCommunicate OK [19:49:18]wFMCommunicate request_size=4 [19:49:18]MH_SAM_APDU [19:49:18]CAPDU: 80 17 00 00 [19:49:18]Write to MH i2c: E2 08 00 09 01 80 17 00 00 00 00 00 00 8A [19:49:18]Write i2c OK [19:49:18]MH_I2C_Read... [19:49:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:49:18]Read from MH i2c: E2 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 09 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4A [19:49:18]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:49:18]wFMCommunicate OK [19:49:18]wFMCommunicate request_size=4 [19:49:18]MH_SAM_APDU [19:49:18]CAPDU: 80 17 00 00 [19:49:18]Write to MH i2c: E2 08 00 0A 01 80 17 00 00 00 00 00 00 8B [19:49:18]Write i2c OK [19:49:18]MH_I2C_Read... [19:49:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:49:18]Read from MH i2c: E2 [19:49:18]MH_I2C_Read... [19:49:18]Read from MH i2c: E2 FD 00 [19:49:19]MH_I2C_Read... [19:49:19]Read from MH i2c: E2 FD 00 0A 01 00 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 90 00 FA [19:49:19]RAPDU: 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 90 00 [19:49:19]wFMCommunicate OK [19:49:19]wFMCommunicate request_size=4 [19:49:19]MH_SAM_APDU [19:49:19]CAPDU: 80 17 00 00 [19:49:19]Write to MH i2c: E2 08 00 0B 01 80 17 00 00 00 00 00 00 8C [19:49:19]Write i2c OK [19:49:19]MH_I2C_Read... [19:49:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [19:49:19]Read from MH i2c: E2 [19:49:19]MH_I2C_Read... [19:49:19]Read from MH i2c: E2 D3 00 [19:49:19]MH_I2C_Read... [19:49:19]Read from MH i2c: E2 D3 00 0B 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 79 [19:49:19]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:49:19]wFMCommunicate OK [19:49:19]SAM_PROTO_GetShiftData done [19:49:19]requested_item shift.sale.total_cash is exist - process it [19:49:19]requested_item shift.sale_refund.total is exist - process it [19:49:19]requested_item shift.sale_refund.total_cash is exist - process it [19:49:19]produce_requested_data done [19:49:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56816,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21966.24,"shift.sale.total_cash":16744.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [19:49:19]process_action_free close_receipt [19:49:19]json_value_free [19:49:19]json_value_free done [19:49:19]process_json_proto returns [19:49:19]Send response to host [19:49:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56816,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":21966.24,"shift.sale.total_cash":16744.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [19:49:19]free response buf [19:49:19]execute_script done [19:49:19]execute_script returns [19:49:19]free content buf [19:49:19]Sock 9.Close socket [19:49:19]Sock 9.Thread stoped [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:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:43]OFD Sender: No OFD packet to send [20:15:48]OFD Sender: No OFD packet to send [20:15:53]OFD Sender: No OFD packet to send [20:15:58]OFD Sender: No OFD packet to send [20:16:03]OFD Sender: No OFD packet to send [20:16:08]OFD Sender: No OFD packet to send [20:16:13]OFD Sender: No OFD packet to send [20:16:18]OFD Sender: No OFD packet to send [20:16:23]OFD Sender: No OFD packet to send [20:16:28]OFD Sender: No OFD packet to send [20:16:33]OFD Sender: No OFD packet to send [20:16:38]OFD Sender: No OFD packet to send [20:16:43]OFD Sender: No OFD packet to send [20:16:48]OFD Sender: No OFD packet to send [20:16:53]OFD Sender: No OFD packet to send [20:16:58]OFD Sender: No OFD packet to send [20:17:03]OFD Sender: No OFD packet to send [20:17:08]OFD Sender: No OFD packet to send [20:17:13]OFD Sender: No OFD packet to send [20:17:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]OFD Sender: No OFD packet to send [20:18:03]OFD Sender: No OFD packet to send [20:18:08]OFD Sender: No OFD packet to send [20:18:13]OFD Sender: No OFD packet to send [20:18:18]OFD Sender: No OFD packet to send [20:18:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:23]OFD Sender: No OFD packet to send [20:32:28]OFD Sender: No OFD packet to send [20:32:33]OFD Sender: No OFD packet to send [20:32:38]OFD Sender: No OFD packet to send [20:32:43]OFD Sender: No OFD packet to send [20:32:48]OFD Sender: No OFD packet to send [20:32:53]OFD Sender: No OFD packet to send [20:32:58]OFD Sender: No OFD packet to send [20:33:03]OFD Sender: No OFD packet to send [20:33:08]OFD Sender: No OFD packet to send [20:33:13]OFD Sender: No OFD packet to send [20:33:18]OFD Sender: No OFD packet to send [20:33:23]OFD Sender: No OFD packet to send [20:33:28]OFD Sender: No OFD packet to send [20:33:33]OFD Sender: No OFD packet to send [20:33:38]OFD Sender: No OFD packet to send [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [20:34:08]OFD Sender: No OFD packet to send [20:34:13]OFD Sender: No OFD packet to send [20:34:18]OFD Sender: No OFD packet to send [20:34:23]OFD Sender: No OFD packet to send [20:34:28]OFD Sender: No OFD packet to send [20:34:33]OFD Sender: No OFD packet to send [20:34:39]OFD Sender: No OFD packet to send [20:34:44]OFD Sender: No OFD packet to send [20:34:49]OFD Sender: No OFD packet to send [20:34:54]OFD Sender: No OFD packet to send [20:34:59]OFD Sender: No OFD packet to send [20:35:04]OFD Sender: No OFD packet to send [20:35:09]OFD Sender: No OFD packet to send [20:35:14]OFD Sender: No OFD packet to send [20:35:19]OFD Sender: No OFD packet to send [20:35:24]OFD Sender: No OFD packet to send [20:35:29]OFD Sender: No OFD packet to send [20:35:34]OFD Sender: No OFD packet to send [20:35:39]OFD Sender: No OFD packet to send [20:35:44]OFD Sender: No OFD packet to send [20:35:49]OFD Sender: No OFD packet to send [20:35:54]OFD Sender: No OFD packet to send [20:35:59]OFD Sender: No OFD packet to send [20:36:04]OFD Sender: No OFD packet to send [20:36:09]OFD Sender: No OFD packet to send [20:36:14]OFD Sender: No OFD packet to send [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:36]accept exits with 7 [20:54:36]New connection [20:54:36]New thread 3067182436 created [20:54:36]Thread 3067325796 joined [20:54:36]Waiting for new connection... [20:54:36] Sock 7.Parse request [20:54:36]Sock 7.Check first char [20:54:36]Sock 7.First char is OK [20:54:36]request: POST /json_proto HTTP/1.0 [20:54:36]Method: POST [20:54:36]URL: /json_proto [20:54:36]Method is POST - this is cgi request [20:54:36]url: /json_proto [20:54:36]query_string will be loaded in cgi processing [20:54:36]execute_cgi json_proto POST (null) [20:54:36]execute_cgi path=json_proto method=POST [20:54:36]POST find Content-Length [20:54:36]Host: 172.17.39.4:8080 [20:54:36]Content-Length: 786 [20:54:36]Content-Type: application/json [20:54:36] [20:54:36]POST finish read [20:54:36]Found Content-Length = 786 [20:54:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)854412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:54:36]execute_script... [20: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 : (1)854412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:54:36]POST & json_proto [20:54:36]process_json_proto [20:54:36]json parsed OK: [20:54:36]protocol is kg_v1.0 [20:54:36]action value=close_receipt [20:54:36]process_action close_receipt [20:54:36]cmd_close_receipt [20:54:36]MH_GetDate [20:54:36]Write to MH i2c: F0 00 00 0C 01 FC [20:54:36]Write i2c OK [20:54:36]MH_I2C_Read... [20:54:36]Read from MH i2c: F0 [20:54:36]MH_I2C_Read... [20:54:36]Read from MH i2c: F0 09 00 [20:54:36]MH_I2C_Read... [20:54:36]Read from MH i2c: F0 09 00 0C 01 00 0D 98 91 66 2D 25 5D 64 B4 [20:54:36]GetLastDocTimeStamp 1720813754 [20:54:36]current date 1720817677 [20:54:36]FM_GetShiftState [20:54:36]SAM_PROTO_GetShiftState [20:54:36]wFMCommunicate request_size=4 [20:54:36]MH_SAM_APDU [20:54:36]CAPDU: 80 13 01 00 [20:54:36]Write to MH i2c: E2 08 00 0D 01 80 13 01 00 00 00 00 00 8B [20:54:36]Write i2c OK [20:54:36]MH_I2C_Read... [20:54:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:36]Read from MH i2c: E2 [20:54:36]MH_I2C_Read... [20:54:36]Read from MH i2c: E2 0E 00 [20:54:36]MH_I2C_Read... [20:54:36]Read from MH i2c: E2 0E 00 0D 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 8C [20:54:36]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:54:36]wFMCommunicate OK [20:54:36]SAM_PROTO_GetShiftState done [20:54:36]FM_GetShiftState done [20:54:36]opened in 1720744326 [20:54:36]opened+sec_in_day 1720830726 [20:54:36]quantity*price = 100046 [20:54:36]sum+1 = 100048 [20:54:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.47 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 85 12.07.2024 20:54 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56817 ФПД: 28296122131423 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205437&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56817&fm=28296122131423&tin=02508201610067®Number=0000000000091208&sum=100000 [20:54:37]StoreToDocumentArchive [20:54:37]shift 494 fd 56817 [20:54:37]save to /storage/0494/doc_00056817 [20:54:37]save last doc name /storage/0494/doc_00056817 to /storage/kkm_last_doc_name [20:54:37]save OK [20:54:37]Clear old archive folders... [20:54:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:54:37]tlvbuf is 01FC26F0 [20:54:37]SAM_PROTO_ClearQueue [20:54:37]wFMCommunicate request_size=4 [20:54:37]MH_SAM_APDU [20:54:37]CAPDU: 80 09 00 00 [20:54:37]Write to MH i2c: E2 08 00 1A 01 80 09 00 00 00 00 00 00 8D [20:54:37]Write i2c OK [20:54:37]MH_I2C_Read... [20:54:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:37]Read from MH i2c: E2 [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 03 00 [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 03 00 1A 01 00 90 00 8F [20:54:37]RAPDU: 90 00 [20:54:37]wFMCommunicate OK [20:54:37]SAM_PROTO_ClearQueue done [20:54:37]KKMCreateOFDPacket [20:54:37]OFDProtocolAddRootSTLVToBuf [20:54:37]FM_MakeSignedData [20:54:37]FM_MakeSignedData [20:54:37]SAM_PROTO_SignData [20:54:37]wFMCommunicate request_size=4 [20:54:37]MH_SAM_APDU [20:54:37]CAPDU: 80 0D 01 02 [20:54:37]Write to MH i2c: E2 08 00 1B 01 80 0D 01 02 00 00 00 00 95 [20:54:37]Write i2c OK [20:54:37]MH_I2C_Read... [20:54:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:37]Read from MH i2c: E2 [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 03 00 [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 03 00 1B 01 00 90 00 90 [20:54:37]RAPDU: 90 00 [20:54:37]wFMCommunicate OK [20:54:37]wFMCommunicate request_size=255 [20:54:37]MH_SAM_APDU [20:54:37]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 0D 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DD 00 00 35 04 06 00 19 [20:54:37]Write to MH i2c: E2 02 01 1C 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 0D 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DD 00 00 35 04 06 00 19 00 00 58 [20:54:37]Write i2c OK [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 [20:54:37]MH_I2C_Read... [20:54:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:37]Read from MH i2c: E2 03 00 [20:54:37]MH_I2C_Read... [20:54:37]Read from MH i2c: E2 03 00 1C 01 00 90 00 91 [20:54:37]RAPDU: 90 00 [20:54:37]wFMCommunicate OK [20:54:37]wFMCommunicate request_size=10 [20:54:37]MH_SAM_APDU [20:54:37]CAPDU: 80 0D 02 02 05 BC 34 4E E3 DF [20:54:37]Write to MH i2c: E2 0D 00 1D 01 80 0D 02 02 05 00 BC 34 4E E3 DF 00 00 A2 [20:54:37]Write i2c OK [20:54:37]MH_I2C_Read... [20:54:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:38]Read from MH i2c: E2 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 03 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 03 00 1D 01 00 90 00 92 [20:54:38]RAPDU: 90 00 [20:54:38]wFMCommunicate OK [20:54:38]wFMCommunicate request_size=4 [20:54:38]MH_SAM_APDU [20:54:38]CAPDU: 80 0D 03 02 [20:54:38]Write to MH i2c: E2 08 00 1E 01 80 0D 03 02 00 00 00 00 9A [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:38]Read from MH i2c: E2 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 0B 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 0B 00 1E 01 00 9F 0A A8 40 32 A0 15 46 90 00 59 [20:54:38]RAPDU: 9F 0A A8 40 32 A0 15 46 90 00 [20:54:38]wFMCommunicate OK [20:54:38]SAM_PROTO_SignData done [20:54:38]FM_MakeSignedData done [20:54:38]CreateOFDProtocolMessage [20:54:38]wFMCommunicate request_size=4 [20:54:38]MH_SAM_APDU [20:54:38]CAPDU: 80 11 00 00 [20:54:38]Write to MH i2c: E2 08 00 1F 01 80 11 00 00 00 00 00 00 9A [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:38]Read from MH i2c: E2 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 17 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: E2 17 00 1F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F4 [20:54:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:54:38]wFMCommunicate OK [20:54:38]CreateOFDProtocolMessage done [20:54:38]OFDSenderStorePacket 56817 [20:54:38]StoreOFDPacket docnum=56817 [20:54:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 45 BD 07 01 19 D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 0D 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DD 00 00 35 04 06 00 19 BC 34 4E E3 DF 9F 0A A8 40 32 A0 15 46 [20:54:38]CheckFolder [20:54:38]dirname=/storage/ofd_packets [20:54:38]CheckFolder done [20:54:38]ProducePacketName [20:54:38]name=ofd_packets/00056817 [20:54:38]NVStorageSaveData ofd_packets/00056817 [20:54:38]File name is /storage/ofd_packets/00056817 [20:54:38]Write 301 bytes [20:54:38]NVStorageSaveData done [20:54:38]OFDSenderStorePacket done [20:54:38]KKMCreateOFDPacket done [20:54:38]NVStorageSaveData kkm_last_timestamp [20:54:38]File name is /storage/kkm_last_timestamp [20:54:38]Write 4 bytes [20:54:38]NVStorageSaveData done [20:54:38]ExternCall_PrintAddStr [20:54:38]wPrintStart [20:54:38]Write to MH i2c: 01 00 00 20 01 21 [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 07 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 07 00 20 01 00 00 00 00 00 FF 0F 36 [20:54:38]RasterBufferAndPrint [20:54:38]line Счет N : (1)854412 [20:54:38]line ИНН: 02508201610067 [20:54:38]line Контрольно-Кассовый Чек [20:54:38]line ПРОДАЖА [20:54:38]line ТРК (МРК, ГНК) : 33 [20:54:38]line Товар: 2710124130 [20:54:38]line Аи-92-К-5 [20:54:38]line 15.090 * 66.30 [20:54:38]line = 1000.47 [20:54:38]line НДС 12% НСП 1% [20:54:38]line > о реализуемом товаре [20:54:38]line ОКРУГЛЕНИЕ: -0.47 [20:54:38]line ИТОГО: 1000.00 [20:54:38]line Внесено: 1000.00 [20:54:38]line СДАЧА: 0.00 [20:54:38]line НСП 1% : 8.85 [20:54:38]line НДС 12% : 106.24 [20:54:38]line Наличными: 1000.00 [20:54:38]line Безнал.: 0.00 [20:54:38]line Место: АЗС № 132 "Партнер Нефть" [20:54:38]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:54:38]line СНО: Общий режим [20:54:38]line Чек 85 12.07.2024 20:54 [20:54:38]line Смена: 494 ФФД: 1.0 [20:54:38]line ЗНМ: 0300000132 [20:54:38]line РНМ: 0000000000091208 [20:54:38]line Версия ККМ: 001 [20:54:38]line ФМ: 0000000000874857 [20:54:38]line ФД: 56817 [20:54:38]line ФПД: 28296122131423 [20:54:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205437&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56817&fm=28296122131423&tin=02508201610067®Number=0000000000091208&sum=100000 [20:54:38]written 0, free lines is 4095 [20:54:38]OFD Sender: Processing packet 56817 [packets to send 38, broken 37] [20:54:38]ProducePacketName [20:54:38]name=ofd_packets/00056817 [20:54:38]OFD Sender: To server: pG, [20:54:38]CommunicateWithHost lk.salyk.kg:30040 [20:54:38]ConnectInit lk.salyk.kg [20:54:38]Connected sock=10 [20: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 38 35 37 0F 01 00 00 45 BD 07 01 19 D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 0D 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DD 00 00 35 04 06 00 19 BC 34 4E E3 DF 9F 0A A8 40 32 A0 15 46 [20: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 38 35 37 4F 00 00 00 A5 DA 47 00 81 85 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 38 35 37 10 04 04 00 F1 DD 00 00 F4 03 04 00 63 3E 91 66 B6 04 01 00 00 AE 81 F6 3B 34 D6 CA 62 [20:54:38]CommunicateWithHost err = 0 [20:54:38]CheckOFDResponse [20:54:38]1017 (14) - 77093643461234 [20:54:38]1041 (16) - 0000000000874857 [20:54:38]1040 (4) - 56817 [20:54:38]1012 (4) - 12.07.2024 14:32 [20:54:38]1206 (1) - 0 [20:54:38]OFD Sender: Remove packet 56817 [20:54:38]ProducePacketName [20:54:38]name=ofd_packets/00056817 [20:54:38]NVStorageDeleteData [20:54:38]Write to MH i2c: 01 00 00 4B 01 4C [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 07 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: 01 07 00 4B 01 00 00 00 00 00 E4 0C 43 [20:54:38]RasterBufferAndPrint [20:54:38]line [20:54:38]line [20:54:38]line [20:54:38]line [20:54:38]line [20:54:38]written 0, free lines is 3306 [20:54:38]MH_Cut [20:54:38]Write to MH i2c: D1 01 00 52 01 01 25 [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: D1 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: D1 01 00 [20:54:38]MH_I2C_Read... [20:54:38]Read from MH i2c: D1 01 00 52 01 00 24 [20:54:38]Write to MH i2c: 01 00 00 53 01 54 [20:54:38]Write i2c OK [20:54:38]MH_I2C_Read... [20:54:39]OFD Sender: No OFD packet to send [20:54:39]*** Cut start [20:54:39]*** Partial cut [20:54:39]*** CUTSNS_PIN = 1 [20:54:39]*** CUTSNS_PIN = 0 [20:54:39]*** Brake cut motor [20:54:40]Read from MH i2c: 01 [20:54:40]MH_I2C_Read... [20:54:40]*** Stop cut motor [20:54:40]*** Cut end [20:54:40]Read from MH i2c: 01 07 00 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 FF 0F 69 [20:54:40]process_action close_receipt done [20:54:40]requested_data is exist [20:54:40]produce_requested_data [20:54:40]requested_item fm.sn is exist - process it [20:54:40]wFMCommunicate request_size=4 [20:54:40]MH_SAM_APDU [20:54:40]CAPDU: 80 11 00 00 [20:54:40]Write to MH i2c: E2 08 00 54 01 80 11 00 00 00 00 00 00 CF [20:54:40]Write i2c OK [20:54:40]MH_I2C_Read... [20:54:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:40]Read from MH i2c: E2 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 17 00 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 17 00 54 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 29 [20:54:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:54:40]wFMCommunicate OK [20:54:40]requested_item fd.num is exist - process it [20:54:40]SAM_PROTO_GetFieldsCounters [20:54:40]wFMCommunicate request_size=4 [20:54:40]MH_SAM_APDU [20:54:40]CAPDU: 80 13 00 00 [20:54:40]Write to MH i2c: E2 08 00 55 01 80 13 00 00 00 00 00 00 D2 [20:54:40]Write i2c OK [20:54:40]MH_I2C_Read... [20:54:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:40]Read from MH i2c: E2 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 62 00 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 62 00 55 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F1 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [20: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F1 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:54:40]wFMCommunicate OK [20:54:40]SAM_PROTO_GetFieldsCounters done [20:54:40]requested_item shift.num is exist - process it [20:54:40]requested_item shift.opened is exist - process it [20:54:40]req_shift_opened [20:54:40]FM_GetShiftState [20:54:40]SAM_PROTO_GetShiftState [20:54:40]wFMCommunicate request_size=4 [20:54:40]MH_SAM_APDU [20:54:40]CAPDU: 80 13 01 00 [20:54:40]Write to MH i2c: E2 08 00 56 01 80 13 01 00 00 00 00 00 D4 [20:54:40]Write i2c OK [20:54:40]MH_I2C_Read... [20:54:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:40]Read from MH i2c: E2 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 0E 00 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 0E 00 56 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D5 [20:54:40]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:54:40]wFMCommunicate OK [20:54:40]SAM_PROTO_GetShiftState done [20:54:40]FM_GetShiftState done [20:54:40]req_shift_opened done [20:54:40]requested_item shift.open_date is exist - process it [20:54:40]req_shift_open_date [20:54:40]req_shift_open_date done [20:54:40]requested_item shift.sale.total is exist - process it [20:54:40]SAM_PROTO_GetShiftData [20:54:40]wFMCommunicate request_size=4 [20:54:40]MH_SAM_APDU [20:54:40]CAPDU: 80 13 02 00 [20:54:40]Write to MH i2c: E2 08 00 57 01 80 13 02 00 00 00 00 00 D6 [20:54:40]Write i2c OK [20:54:40]MH_I2C_Read... [20:54:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:54:40]Read from MH i2c: E2 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 FD 00 [20:54:40]MH_I2C_Read... [20:54:40]Read from MH i2c: E2 FD 00 57 01 00 B6 04 AA 04 B2 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 30 0B 23 70 04 03 00 40 13 1B 72 04 03 00 F0 F7 07 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 D2 B8 03 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 5E 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F1 [20:54:40]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 30 0B 23 70 04 03 00 40 13 1B 72 04 03 00 F0 F7 07 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 D2 B8 03 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 5E 4F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [20:54:41]wFMCommunicate OK [20:54:41]wFMCommunicate request_size=4 [20:54:41]MH_SAM_APDU [20:54:41]CAPDU: 80 17 00 00 [20:54:41]Write to MH i2c: E2 08 00 58 01 80 17 00 00 00 00 00 00 D9 [20:54:41]Write i2c OK [20:54:41]MH_I2C_Read... [20:54:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:54:41]Read from MH i2c: E2 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 58 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [20:54:41]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:54:41]wFMCommunicate OK [20:54:41]wFMCommunicate request_size=4 [20:54:41]MH_SAM_APDU [20:54:41]CAPDU: 80 17 00 00 [20:54:41]Write to MH i2c: E2 08 00 59 01 80 17 00 00 00 00 00 00 DA [20:54:41]Write i2c OK [20:54:41]MH_I2C_Read... [20:54:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:54:41]Read from MH i2c: E2 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 59 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9A [20:54:41]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:54:41]wFMCommunicate OK [20:54:41]wFMCommunicate request_size=4 [20:54:41]MH_SAM_APDU [20:54:41]CAPDU: 80 17 00 00 [20:54:41]Write to MH i2c: E2 08 00 5A 01 80 17 00 00 00 00 00 00 DB [20:54:41]Write i2c OK [20:54:41]MH_I2C_Read... [20:54:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:54:41]Read from MH i2c: E2 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 [20:54:41]MH_I2C_Read... [20:54:41]Read from MH i2c: E2 FD 00 5A 01 00 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 90 00 4A [20:54:41]RAPDU: 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 90 00 [20:54:41]wFMCommunicate OK [20:54:41]wFMCommunicate request_size=4 [20:54:41]MH_SAM_APDU [20:54:41]CAPDU: 80 17 00 00 [20:54:41]Write to MH i2c: E2 08 00 5B 01 80 17 00 00 00 00 00 00 DC [20:54:41]Write i2c OK [20:54:41]MH_I2C_Read... [20:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:54:42]Read from MH i2c: E2 [20:54:42]MH_I2C_Read... [20:54:42]Read from MH i2c: E2 D3 00 [20:54:42]MH_I2C_Read... [20:54:42]Read from MH i2c: E2 D3 00 5B 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:54:42]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:54:42]wFMCommunicate OK [20:54:42]SAM_PROTO_GetShiftData done [20:54:42]requested_item shift.sale.total_cash is exist - process it [20:54:42]requested_item shift.sale_refund.total is exist - process it [20:54:42]requested_item shift.sale_refund.total_cash is exist - process it [20:54:42]produce_requested_data done [20:54:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56817,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":22966.24,"shift.sale.total_cash":17744.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [20:54:42]process_action_free close_receipt [20:54:42]json_value_free [20:54:42]json_value_free done [20:54:42]process_json_proto returns [20:54:42]Send response to host [20:54:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56817,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":22966.24,"shift.sale.total_cash":17744.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [20:54:42]free response buf [20:54:42]execute_script done [20:54:42]execute_script returns [20:54:42]free content buf [20:54:42]Sock 7.Close socket [20:54:42]Sock 7.Thread stoped [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:18]accept exits with 9 [20:58:18]New connection [20:58:18]New thread 3067325796 created [20:58:18]Thread 3067182436 joined [20:58:18]Waiting for new connection... [20:58:18] Sock 9.Parse request [20:58:18]Sock 9.Check first char [20:58:18]Sock 9.First char is OK [20:58:18]request: POST /json_proto HTTP/1.0 [20:58:18]Method: POST [20:58:18]URL: /json_proto [20:58:18]Method is POST - this is cgi request [20:58:18]url: /json_proto [20:58:18]query_string will be loaded in cgi processing [20:58:18]execute_cgi json_proto POST (null) [20:58:18]execute_cgi path=json_proto method=POST [20:58:18]POST find Content-Length [20:58:18]Host: 172.17.39.4:8080 [20:58:18]Content-Length: 722 [20:58:18]Content-Type: application/json [20:58:18] [20:58:18]POST finish read [20:58:18]Found Content-Length = 722 [20:58:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129306", "tax_sys" : 0, "items" : [ { "code": "4630002599255", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super T-3 1\u043B", "price" : 500.00, "quantity" : 1.000, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:58:18]execute_script... [20:58:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129306", "tax_sys" : 0, "items" : [ { "code": "4630002599255", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super T-3 1\u043B", "price" : 500.00, "quantity" : 1.000, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:58:18]POST & json_proto [20:58:18]process_json_proto [20:58:18]json parsed OK: [20:58:18]protocol is kg_v1.0 [20:58:18]action value=close_receipt [20:58:18]process_action close_receipt [20:58:18]cmd_close_receipt [20:58:18]MH_GetDate [20:58:18]Write to MH i2c: F0 00 00 5C 01 4C [20:58:18]Write i2c OK [20:58:18]MH_I2C_Read... [20:58:18]Read from MH i2c: F0 [20:58:18]MH_I2C_Read... [20:58:18]Read from MH i2c: F0 09 00 [20:58:18]MH_I2C_Read... [20:58:18]Read from MH i2c: F0 09 00 5C 01 00 EB 98 91 66 2D 25 5D 64 E2 [20:58:18]GetLastDocTimeStamp 1720817677 [20:58:18]current date 1720817899 [20:58:18]FM_GetShiftState [20:58:18]SAM_PROTO_GetShiftState [20:58:18]wFMCommunicate request_size=4 [20:58:18]MH_SAM_APDU [20:58:18]CAPDU: 80 13 01 00 [20:58:18]Write to MH i2c: E2 08 00 5D 01 80 13 01 00 00 00 00 00 DB [20:58:18]Write i2c OK [20:58:18]MH_I2C_Read... [20:58:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:18]Read from MH i2c: E2 [20:58:18]MH_I2C_Read... [20:58:18]Read from MH i2c: E2 0E 00 [20:58:18]MH_I2C_Read... [20:58:18]Read from MH i2c: E2 0E 00 5D 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 DC [20:58:18]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:58:18]wFMCommunicate OK [20:58:18]SAM_PROTO_GetShiftState done [20:58:18]FM_GetShiftState done [20:58:18]opened in 1720744326 [20:58:18]opened+sec_in_day 1720830726 [20:58:18]quantity*price = 50000 [20:58:18]sum+1 = 50001 [20:58:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 86 12.07.2024 20:58 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56818 ФПД: 30157235325098 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205819&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56818&fm=30157235325098&tin=02508201610067®Number=0000000000091208&sum=50000 0 [20:58:19]StoreToDocumentArchive [20:58:19]shift 494 fd 56818 [20:58:19]save to /storage/0494/doc_00056818 [20:58:19]save last doc name /storage/0494/doc_00056818 to /storage/kkm_last_doc_name [20:58:19]save OK [20:58:19]Clear old archive folders... [20:58:19]ProcessDocumentItem done err = 0, tmpTLVsize=278 [20:58:19]tlvbuf is 01FCDD80 [20:58:19]SAM_PROTO_ClearQueue [20:58:19]wFMCommunicate request_size=4 [20:58:19]MH_SAM_APDU [20:58:19]CAPDU: 80 09 00 00 [20:58:19]Write to MH i2c: E2 08 00 6A 01 80 09 00 00 00 00 00 00 DD [20:58:19]Write i2c OK [20:58:19]MH_I2C_Read... [20:58:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:19]OFD Sender: No OFD packet to send [20:58:19]Read from MH i2c: E2 [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 03 00 [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 03 00 6A 01 00 90 00 DF [20:58:19]RAPDU: 90 00 [20:58:19]wFMCommunicate OK [20:58:19]SAM_PROTO_ClearQueue done [20:58:19]KKMCreateOFDPacket [20:58:19]OFDProtocolAddRootSTLVToBuf [20:58:19]FM_MakeSignedData [20:58:19]FM_MakeSignedData [20:58:19]SAM_PROTO_SignData [20:58:19]wFMCommunicate request_size=4 [20:58:19]MH_SAM_APDU [20:58:19]CAPDU: 80 0D 01 02 [20:58:19]Write to MH i2c: E2 08 00 6B 01 80 0D 01 02 00 00 00 00 E5 [20:58:19]Write i2c OK [20:58:19]MH_I2C_Read... [20:58:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:19]Read from MH i2c: E2 [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 03 00 [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 03 00 6B 01 00 90 00 E0 [20:58:19]RAPDU: 90 00 [20:58:19]wFMCommunicate OK [20:58:19]wFMCommunicate request_size=255 [20:58:19]MH_SAM_APDU [20:58:19]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 32 35 35 06 04 24 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 54 2D 33 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 C3 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 [20:58:19]Write to MH i2c: E2 02 01 6C 01 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 32 35 35 06 04 24 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 54 2D 33 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 C3 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 00 00 BF [20:58:19]Write i2c OK [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 [20:58:19]MH_I2C_Read... [20:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:19]Read from MH i2c: E2 03 00 [20:58:19]MH_I2C_Read... [20:58:19]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [20:58:19]RAPDU: 90 00 [20:58:19]wFMCommunicate OK [20:58:19]wFMCommunicate request_size=37 [20:58:19]MH_SAM_APDU [20:58:19]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DD 00 00 35 04 06 00 1B 6D 87 4C 88 AA [20:58:19]Write to MH i2c: E2 28 00 6D 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DD 00 00 35 04 06 00 1B 6D 87 4C 88 AA 00 00 A2 [20:58:19]Write i2c OK [20:58:19]MH_I2C_Read... [20:58:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:20]Read from MH i2c: E2 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 03 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [20:58:20]RAPDU: 90 00 [20:58:20]wFMCommunicate OK [20:58:20]wFMCommunicate request_size=4 [20:58:20]MH_SAM_APDU [20:58:20]CAPDU: 80 0D 03 02 [20:58:20]Write to MH i2c: E2 08 00 6E 01 80 0D 03 02 00 00 00 00 EA [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:20]Read from MH i2c: E2 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 0B 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 0B 00 6E 01 00 FE CB 49 EA B2 07 60 8F 90 00 8F [20:58:20]RAPDU: FE CB 49 EA B2 07 60 8F 90 00 [20:58:20]wFMCommunicate OK [20:58:20]SAM_PROTO_SignData done [20:58:20]FM_MakeSignedData done [20:58:20]CreateOFDProtocolMessage [20:58:20]wFMCommunicate request_size=4 [20:58:20]MH_SAM_APDU [20:58:20]CAPDU: 80 11 00 00 [20:58:20]Write to MH i2c: E2 08 00 6F 01 80 11 00 00 00 00 00 00 EA [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:20]Read from MH i2c: E2 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 17 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: E2 17 00 6F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 44 [20:58:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:58:20]wFMCommunicate OK [20:58:20]CreateOFDProtocolMessage done [20:58:20]OFDSenderStorePacket 56818 [20:58:20]StoreOFDPacket docnum=56818 [20:58:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 AE 2F 22 01 CD 77 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 32 35 35 06 04 24 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 54 2D 33 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 C3 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DD 00 00 35 04 06 00 1B 6D 87 4C 88 AA FE CB 49 EA B2 07 60 8F [20:58:20]CheckFolder [20:58:20]dirname=/storage/ofd_packets [20:58:20]CheckFolder done [20:58:20]ProducePacketName [20:58:20]name=ofd_packets/00056818 [20:58:20]NVStorageSaveData ofd_packets/00056818 [20:58:20]File name is /storage/ofd_packets/00056818 [20:58:20]Write 328 bytes [20:58:20]NVStorageSaveData done [20:58:20]OFDSenderStorePacket done [20:58:20]KKMCreateOFDPacket done [20:58:20]NVStorageSaveData kkm_last_timestamp [20:58:20]File name is /storage/kkm_last_timestamp [20:58:20]Write 4 bytes [20:58:20]NVStorageSaveData done [20:58:20]ExternCall_PrintAddStr [20:58:20]wPrintStart [20:58:20]Write to MH i2c: 01 00 00 70 01 71 [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 07 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 FF 0F 86 [20:58:20]RasterBufferAndPrint [20:58:20]line Счет N : (3)129306 [20:58:20]line ИНН: 02508201610067 [20:58:20]line Контрольно-Кассовый Чек [20:58:20]line ПРОДАЖА [20:58:20]line Товар: 4630002599255 [20:58:20]line Масло Gazpromneft Super T-3 1л [20:58:20]line 1.000 * 500.00 [20:58:20]line = 500.00 [20:58:20]line НДС 12% НСП 1% [20:58:20]line > о реализуемом товаре [20:58:20]line ИТОГО: 500.00 [20:58:20]line НСП 1% : 4.42 [20:58:20]line НДС 12% : 53.10 [20:58:20]line Наличными: 500.00 [20:58:20]line Безнал.: 0.00 [20:58:20]line Место: АЗС № 132 "Партнер Нефть" [20:58:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:58:20]line СНО: Общий режим [20:58:20]line Чек 86 12.07.2024 20:58 [20:58:20]line Смена: 494 ФФД: 1.0 [20:58:20]line ЗНМ: 0300000132 [20:58:20]line РНМ: 0000000000091208 [20:58:20]line Версия ККМ: 001 [20:58:20]line ФМ: 0000000000874857 [20:58:20]line ФД: 56818 [20:58:20]line ФПД: 30157235325098 [20:58:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205819&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56818&fm=30157235325098&tin=02508201610067®Number=0000000000091208&sum=50000 [20:58:20]line 0 [20:58:20]written 0, free lines is 4095 [20:58:20]OFD Sender: Processing packet 56818 [packets to send 38, broken 37] [20:58:20]ProducePacketName [20:58:20]name=ofd_packets/00056818 [20:58:20]OFD Sender: To server: pG, [20:58:20]CommunicateWithHost lk.salyk.kg:30040 [20:58:20]ConnectInit lk.salyk.kg [20:58:20]Connected sock=10 [20:58: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 38 35 37 2A 01 00 00 AE 2F 22 01 CD 77 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 30 32 35 39 39 32 35 35 06 04 24 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 54 2D 33 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 C3 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 98 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DD 00 00 35 04 06 00 1B 6D 87 4C 88 AA FE CB 49 EA B2 07 60 8F [20:58:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A4 C0 47 00 16 8B 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 38 35 37 10 04 04 00 F2 DD 00 00 F4 03 04 00 41 3F 91 66 B6 04 01 00 00 5D C5 B5 B2 FB 61 FF 42 [20:58:20]CommunicateWithHost err = 0 [20:58:20]CheckOFDResponse [20:58:20]1017 (14) - 77093643461234 [20:58:20]1041 (16) - 0000000000874857 [20:58:20]1040 (4) - 56818 [20:58:20]1012 (4) - 12.07.2024 14:35 [20:58:20]1206 (1) - 0 [20:58:20]OFD Sender: Remove packet 56818 [20:58:20]ProducePacketName [20:58:20]name=ofd_packets/00056818 [20:58:20]NVStorageDeleteData [20:58:20]Write to MH i2c: 01 00 00 99 01 9A [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 07 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: 01 07 00 99 01 00 00 00 00 00 E6 0C 93 [20:58:20]RasterBufferAndPrint [20:58:20]line [20:58:20]line [20:58:20]line [20:58:20]line [20:58:20]line [20:58:20]written 0, free lines is 3308 [20:58:20]MH_Cut [20:58:20]Write to MH i2c: D1 01 00 A0 01 01 73 [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: D1 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: D1 01 00 [20:58:20]MH_I2C_Read... [20:58:20]Read from MH i2c: D1 01 00 A0 01 00 72 [20:58:20]Write to MH i2c: 01 00 00 A1 01 A2 [20:58:20]Write i2c OK [20:58:20]MH_I2C_Read... [20:58:21]OFD Sender: No OFD packet to send [20:58:21]*** Cut start [20:58:21]*** Partial cut [20:58:21]*** CUTSNS_PIN = 1 [20:58:21]*** CUTSNS_PIN = 0 [20:58:21]*** Brake cut motor [20:58:21]Read from MH i2c: 01 [20:58:21]MH_I2C_Read... [20:58:21]*** Stop cut motor [20:58:21]*** Cut end [20:58:21]Read from MH i2c: 01 07 00 [20:58:21]MH_I2C_Read... [20:58:21]Read from MH i2c: 01 07 00 A1 01 00 00 00 00 00 FF 0F B7 [20:58:21]process_action close_receipt done [20:58:21]requested_data is exist [20:58:21]produce_requested_data [20:58:21]requested_item fm.sn is exist - process it [20:58:21]wFMCommunicate request_size=4 [20:58:21]MH_SAM_APDU [20:58:21]CAPDU: 80 11 00 00 [20:58:21]Write to MH i2c: E2 08 00 A2 01 80 11 00 00 00 00 00 00 1D [20:58:21]Write i2c OK [20:58:21]MH_I2C_Read... [20:58:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:21]Read from MH i2c: E2 [20:58:21]MH_I2C_Read... [20:58:21]Read from MH i2c: E2 17 00 [20:58:21]MH_I2C_Read... [20:58:21]Read from MH i2c: E2 17 00 A2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 77 [20:58:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:58:21]wFMCommunicate OK [20:58:21]requested_item fd.num is exist - process it [20:58:21]SAM_PROTO_GetFieldsCounters [20:58:21]wFMCommunicate request_size=4 [20:58:21]MH_SAM_APDU [20:58:21]CAPDU: 80 13 00 00 [20:58:21]Write to MH i2c: E2 08 00 A3 01 80 13 00 00 00 00 00 00 20 [20:58:21]Write i2c OK [20:58:21]MH_I2C_Read... [20:58:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:22]Read from MH i2c: E2 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 62 00 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 62 00 A3 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F2 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [20:58: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F2 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:22]wFMCommunicate OK [20:58:22]SAM_PROTO_GetFieldsCounters done [20:58:22]requested_item shift.num is exist - process it [20:58:22]requested_item shift.opened is exist - process it [20:58:22]req_shift_opened [20:58:22]FM_GetShiftState [20:58:22]SAM_PROTO_GetShiftState [20:58:22]wFMCommunicate request_size=4 [20:58:22]MH_SAM_APDU [20:58:22]CAPDU: 80 13 01 00 [20:58:22]Write to MH i2c: E2 08 00 A4 01 80 13 01 00 00 00 00 00 22 [20:58:22]Write i2c OK [20:58:22]MH_I2C_Read... [20:58:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:22]Read from MH i2c: E2 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 0E 00 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 0E 00 A4 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 23 [20:58:22]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:58:22]wFMCommunicate OK [20:58:22]SAM_PROTO_GetShiftState done [20:58:22]FM_GetShiftState done [20:58:22]req_shift_opened done [20:58:22]requested_item shift.open_date is exist - process it [20:58:22]req_shift_open_date [20:58:22]req_shift_open_date done [20:58:22]requested_item shift.sale.total is exist - process it [20:58:22]SAM_PROTO_GetShiftData [20:58:22]wFMCommunicate request_size=4 [20:58:22]MH_SAM_APDU [20:58:22]CAPDU: 80 13 02 00 [20:58:22]Write to MH i2c: E2 08 00 A5 01 80 13 02 00 00 00 00 00 24 [20:58:22]Write i2c OK [20:58:22]MH_I2C_Read... [20:58:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:58:22]Read from MH i2c: E2 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 FD 00 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 FD 00 A5 01 00 B6 04 AA 04 B2 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 80 CE 23 70 04 03 00 90 D6 1B 72 04 03 00 F0 F7 07 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 90 CD 03 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 18 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F6 [20:58:22]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 80 CE 23 70 04 03 00 90 D6 1B 72 04 03 00 F0 F7 07 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 90 CD 03 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 18 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [20:58:22]wFMCommunicate OK [20:58:22]wFMCommunicate request_size=4 [20:58:22]MH_SAM_APDU [20:58:22]CAPDU: 80 17 00 00 [20:58:22]Write to MH i2c: E2 08 00 A6 01 80 17 00 00 00 00 00 00 27 [20:58:22]Write i2c OK [20:58:22]MH_I2C_Read... [20:58:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:22]Read from MH i2c: E2 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 FD 00 [20:58:22]MH_I2C_Read... [20:58:22]Read from MH i2c: E2 FD 00 A6 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 66 [20:58:22]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:58:22]wFMCommunicate OK [20:58:22]wFMCommunicate request_size=4 [20:58:22]MH_SAM_APDU [20:58:22]CAPDU: 80 17 00 00 [20:58:22]Write to MH i2c: E2 08 00 A7 01 80 17 00 00 00 00 00 00 28 [20:58:22]Write i2c OK [20:58:22]MH_I2C_Read... [20:58:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:23]Read from MH i2c: E2 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 FD 00 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 FD 00 A7 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E8 [20:58:23]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:58:23]wFMCommunicate OK [20:58:23]wFMCommunicate request_size=4 [20:58:23]MH_SAM_APDU [20:58:23]CAPDU: 80 17 00 00 [20:58:23]Write to MH i2c: E2 08 00 A8 01 80 17 00 00 00 00 00 00 29 [20:58:23]Write i2c OK [20:58:23]MH_I2C_Read... [20:58:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:58:23]Read from MH i2c: E2 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 FD 00 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 FD 00 A8 01 00 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 90 00 98 [20:58:23]RAPDU: 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 90 00 [20:58:23]wFMCommunicate OK [20:58:23]wFMCommunicate request_size=4 [20:58:23]MH_SAM_APDU [20:58:23]CAPDU: 80 17 00 00 [20:58:23]Write to MH i2c: E2 08 00 A9 01 80 17 00 00 00 00 00 00 2A [20:58:23]Write i2c OK [20:58:23]MH_I2C_Read... [20:58:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:58:23]Read from MH i2c: E2 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 D3 00 [20:58:23]MH_I2C_Read... [20:58:23]Read from MH i2c: E2 D3 00 A9 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 17 [20:58:23]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:58:23]wFMCommunicate OK [20:58:23]SAM_PROTO_GetShiftData done [20:58:23]requested_item shift.sale.total_cash is exist - process it [20:58:23]requested_item shift.sale_refund.total is exist - process it [20:58:23]requested_item shift.sale_refund.total_cash is exist - process it [20:58:23]produce_requested_data done [20:58:23]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56818,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":23466.24,"shift.sale.total_cash":18244.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [20:58:23]process_action_free close_receipt [20:58:23]json_value_free [20:58:23]json_value_free done [20:58:23]process_json_proto returns [20:58:23]Send response to host [20:58:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56818,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":23466.24,"shift.sale.total_cash":18244.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [20:58:23]free response buf [20:58:23]execute_script done [20:58:23]execute_script returns [20:58:23]free content buf [20:58:23]Sock 9.Close socket [20:58:23]Sock 9.Thread stoped [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:39]accept exits with 7 [20:59:39]New connection [20:59:39]New thread 3067182436 created [20:59:39]Thread 3067325796 joined [20:59:39]Waiting for new connection... [20:59:39] Sock 7.Parse request [20:59:39]Sock 7.Check first char [20:59:39]Sock 7.First char is OK [20:59:39]request: POST /json_proto HTTP/1.0 [20:59:39]Method: POST [20:59:39]URL: /json_proto [20:59:39]Method is POST - this is cgi request [20:59:39]url: /json_proto [20:59:39]query_string will be loaded in cgi processing [20:59:39]execute_cgi json_proto POST (null) [20:59:39]execute_cgi path=json_proto method=POST [20:59:39]POST find Content-Length [20:59:39]Host: 172.17.39.4:8080 [20:59:39]Content-Length: 838 [20:59:39]Content-Type: application/json [20:59:39] [20:59:39]POST finish read [20:59:39]Found Content-Length = 838 [20:59:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129307", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:59:39]execute_script... [20:59: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)129307", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:59:39]POST & json_proto [20:59:39]process_json_proto [20:59:39]json parsed OK: [20:59:39]protocol is kg_v1.0 [20:59:39]action value=close_receipt [20:59:39]process_action close_receipt [20:59:39]cmd_close_receipt [20:59:39]MH_GetDate [20:59:39]Write to MH i2c: F0 00 00 AA 01 9A [20:59:39]Write i2c OK [20:59:39]MH_I2C_Read... [20:59:39]Read from MH i2c: F0 [20:59:39]MH_I2C_Read... [20:59:39]Read from MH i2c: F0 09 00 [20:59:39]MH_I2C_Read... [20:59:39]Read from MH i2c: F0 09 00 AA 01 00 3C 99 91 66 2D 25 5D 64 82 [20:59:39]GetLastDocTimeStamp 1720817899 [20:59:39]current date 1720817980 [20:59:39]FM_GetShiftState [20:59:39]SAM_PROTO_GetShiftState [20:59:39]wFMCommunicate request_size=4 [20:59:39]MH_SAM_APDU [20:59:39]CAPDU: 80 13 01 00 [20:59:39]Write to MH i2c: E2 08 00 AB 01 80 13 01 00 00 00 00 00 29 [20:59:39]Write i2c OK [20:59:39]MH_I2C_Read... [20:59:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:39]Read from MH i2c: E2 [20:59:39]MH_I2C_Read... [20:59:39]Read from MH i2c: E2 0E 00 [20:59:39]MH_I2C_Read... [20:59:39]Read from MH i2c: E2 0E 00 AB 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 2A [20:59:39]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:59:39]wFMCommunicate OK [20:59:39]SAM_PROTO_GetShiftState done [20:59:39]FM_GetShiftState done [20:59:39]opened in 1720744326 [20:59:39]opened+sec_in_day 1720830726 [20:59:39]quantity*price = 39500 [20:59:39]sum+1 = 39501 [20:59:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 87 12.07.2024 20:59 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56819 ФПД: 131164324605624 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205940&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56819&fm=131164324605624&tin=02508201610067®Number=0000000000091208&sum=39500 0 [20:59:40]StoreToDocumentArchive [20:59:40]shift 494 fd 56819 [20:59:40]save to /storage/0494/doc_00056819 [20:59:40]save last doc name /storage/0494/doc_00056819 to /storage/kkm_last_doc_name [20:59:40]save OK [20:59:40]Clear old archive folders... [20:59:40]ProcessDocumentItem done err = 0, tmpTLVsize=306 [20:59:40]tlvbuf is 01FCDD80 [20:59:40]SAM_PROTO_ClearQueue [20:59:40]wFMCommunicate request_size=4 [20:59:40]MH_SAM_APDU [20:59:40]CAPDU: 80 09 00 00 [20:59:40]Write to MH i2c: E2 08 00 B8 01 80 09 00 00 00 00 00 00 2B [20:59:40]Write i2c OK [20:59:40]MH_I2C_Read... [20:59:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:59:40]Read from MH i2c: E2 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [20:59:40]RAPDU: 90 00 [20:59:40]wFMCommunicate OK [20:59:40]SAM_PROTO_ClearQueue done [20:59:40]KKMCreateOFDPacket [20:59:40]OFDProtocolAddRootSTLVToBuf [20:59:40]FM_MakeSignedData [20:59:40]FM_MakeSignedData [20:59:40]SAM_PROTO_SignData [20:59:40]wFMCommunicate request_size=4 [20:59:40]MH_SAM_APDU [20:59:40]CAPDU: 80 0D 01 02 [20:59:40]Write to MH i2c: E2 08 00 B9 01 80 0D 01 02 00 00 00 00 33 [20:59:40]Write i2c OK [20:59:40]MH_I2C_Read... [20:59:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:59:40]Read from MH i2c: E2 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 B9 01 00 90 00 2E [20:59:40]RAPDU: 90 00 [20:59:40]wFMCommunicate OK [20:59:40]wFMCommunicate request_size=255 [20:59:40]MH_SAM_APDU [20:59:40]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 3C 99 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 [20:59:40]Write to MH i2c: E2 02 01 BA 01 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 3C 99 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 00 59 [20:59:40]Write i2c OK [20:59:40]MH_I2C_Read... [20:59:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:40]Read from MH i2c: E2 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 [20:59:40]MH_I2C_Read... [20:59:40]Read from MH i2c: E2 03 00 BA 01 00 90 00 2F [20:59:40]RAPDU: 90 00 [20:59:40]wFMCommunicate OK [20:59:40]wFMCommunicate request_size=65 [20:59:40]MH_SAM_APDU [20:59:40]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DD 00 00 35 04 06 00 77 4B 12 F9 AE B8 [20:59:40]Write to MH i2c: E2 44 00 BB 01 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DD 00 00 35 04 06 00 77 4B 12 F9 AE B8 00 00 8A [20:59:40]Write i2c OK [20:59:40]MH_I2C_Read... [20:59:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:41]Read from MH i2c: E2 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 03 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 03 00 BB 01 00 90 00 30 [20:59:41]RAPDU: 90 00 [20:59:41]wFMCommunicate OK [20:59:41]wFMCommunicate request_size=4 [20:59:41]MH_SAM_APDU [20:59:41]CAPDU: 80 0D 03 02 [20:59:41]Write to MH i2c: E2 08 00 BC 01 80 0D 03 02 00 00 00 00 38 [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:41]Read from MH i2c: E2 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 0B 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 0B 00 BC 01 00 FA AF 13 AB 06 10 B5 6E 90 00 D9 [20:59:41]RAPDU: FA AF 13 AB 06 10 B5 6E 90 00 [20:59:41]wFMCommunicate OK [20:59:41]SAM_PROTO_SignData done [20:59:41]FM_MakeSignedData done [20:59:41]CreateOFDProtocolMessage [20:59:41]wFMCommunicate request_size=4 [20:59:41]MH_SAM_APDU [20:59:41]CAPDU: 80 11 00 00 [20:59:41]Write to MH i2c: E2 08 00 BD 01 80 11 00 00 00 00 00 00 38 [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:41]Read from MH i2c: E2 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 17 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: E2 17 00 BD 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 92 [20:59:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:59:41]wFMCommunicate OK [20:59:41]CreateOFDProtocolMessage done [20:59:41]OFDSenderStorePacket 56819 [20:59:41]StoreOFDPacket docnum=56819 [20:59:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 46 01 00 00 BE 8B 3E 01 3C 5D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 3C 99 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DD 00 00 35 04 06 00 77 4B 12 F9 AE B8 FA AF 13 AB 06 10 B5 6E [20:59:41]CheckFolder [20:59:41]dirname=/storage/ofd_packets [20:59:41]CheckFolder done [20:59:41]ProducePacketName [20:59:41]name=ofd_packets/00056819 [20:59:41]NVStorageSaveData ofd_packets/00056819 [20:59:41]File name is /storage/ofd_packets/00056819 [20:59:41]Write 356 bytes [20:59:41]NVStorageSaveData done [20:59:41]OFDSenderStorePacket done [20:59:41]KKMCreateOFDPacket done [20:59:41]NVStorageSaveData kkm_last_timestamp [20:59:41]File name is /storage/kkm_last_timestamp [20:59:41]Write 4 bytes [20:59:41]NVStorageSaveData done [20:59:41]ExternCall_PrintAddStr [20:59:41]wPrintStart [20:59:41]Write to MH i2c: 01 00 00 BE 01 BF [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 07 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 07 00 BE 01 00 00 00 00 00 FF 0F D4 [20:59:41]RasterBufferAndPrint [20:59:41]line Счет N : (3)129307 [20:59:41]line ИНН: 02508201610067 [20:59:41]line Контрольно-Кассовый Чек [20:59:41]line ПРОДАЖА [20:59:41]line Товар: 0010420131003133 [20:59:41]line Уголь древесный Партнер Нефть 3кг [20:59:41]line 1.000 * 395.00 [20:59:41]line = 395.00 [20:59:41]line НДС 12% НСП 1% [20:59:41]line > о реализуемом товаре [20:59:41]line ИТОГО: 395.00 [20:59:41]line НСП 1% : 3.50 [20:59:41]line НДС 12% : 41.95 [20:59:41]line Наличными: 395.00 [20:59:41]line Безнал.: 0.00 [20:59:41]line Место: АЗС № 132 "Партнер Нефть" [20:59:41]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:59:41]line СНО: Общий режим [20:59:41]line Чек 87 12.07.2024 20:59 [20:59:41]line Смена: 494 ФФД: 1.0 [20:59:41]line ЗНМ: 0300000132 [20:59:41]line РНМ: 0000000000091208 [20:59:41]line Версия ККМ: 001 [20:59:41]line ФМ: 0000000000874857 [20:59:41]line ФД: 56819 [20:59:41]line ФПД: 131164324605624 [20:59:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205940&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56819&fm=131164324605624&tin=02508201610067®Number=0000000000091208&sum=39500 [20:59:41]line 0 [20:59:41]OFD Sender: Processing packet 56819 [packets to send 38, broken 37] [20:59:41]ProducePacketName [20:59:41]name=ofd_packets/00056819 [20:59:41]OFD Sender: To server: pG, [20:59:41]CommunicateWithHost lk.salyk.kg:30040 [20:59:41]ConnectInit lk.salyk.kg [20:59:41]written 0, free lines is 4095 [20:59:41]Connected sock=10 [20:59: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 38 35 37 46 01 00 00 BE 8B 3E 01 3C 5D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 3C 99 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DD 00 00 35 04 06 00 77 4B 12 F9 AE B8 FA AF 13 AB 06 10 B5 6E [20:59:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 23 E1 47 00 2C 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 38 35 37 10 04 04 00 F3 DD 00 00 F4 03 04 00 92 3F 91 66 B6 04 01 00 00 86 25 66 81 D1 12 6D 17 [20:59:41]CommunicateWithHost err = 0 [20:59:41]CheckOFDResponse [20:59:41]1017 (14) - 77093643461234 [20:59:41]1041 (16) - 0000000000874857 [20:59:41]1040 (4) - 56819 [20:59:41]1012 (4) - 12.07.2024 14:37 [20:59:41]1206 (1) - 0 [20:59:41]OFD Sender: Remove packet 56819 [20:59:41]ProducePacketName [20:59:41]name=ofd_packets/00056819 [20:59:41]NVStorageDeleteData [20:59:41]Write to MH i2c: 01 00 00 E7 01 E8 [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 07 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 E3 0C DE [20:59:41]RasterBufferAndPrint [20:59:41]line [20:59:41]line [20:59:41]line [20:59:41]line [20:59:41]line [20:59:41]written 0, free lines is 3305 [20:59:41]MH_Cut [20:59:41]Write to MH i2c: D1 01 00 EE 01 01 C1 [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: D1 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: D1 01 00 [20:59:41]MH_I2C_Read... [20:59:41]Read from MH i2c: D1 01 00 EE 01 00 C0 [20:59:41]Write to MH i2c: 01 00 00 EF 01 F0 [20:59:41]Write i2c OK [20:59:41]MH_I2C_Read... [20:59:42]OFD Sender: No OFD packet to send [20:59:42]*** Cut start [20:59:42]*** Partial cut [20:59:42]*** CUTSNS_PIN = 1 [20:59:42]*** CUTSNS_PIN = 0 [20:59:42]*** Brake cut motor [20:59:43]Read from MH i2c: 01 [20:59:43]MH_I2C_Read... [20:59:43]*** Stop cut motor [20:59:43]*** Cut end [20:59:43]Read from MH i2c: 01 07 00 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: 01 07 00 EF 01 00 00 00 00 00 FF 0F 05 [20:59:43]process_action close_receipt done [20:59:43]requested_data is exist [20:59:43]produce_requested_data [20:59:43]requested_item fm.sn is exist - process it [20:59:43]wFMCommunicate request_size=4 [20:59:43]MH_SAM_APDU [20:59:43]CAPDU: 80 11 00 00 [20:59:43]Write to MH i2c: E2 08 00 F0 01 80 11 00 00 00 00 00 00 6B [20:59:43]Write i2c OK [20:59:43]MH_I2C_Read... [20:59:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:43]Read from MH i2c: E2 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 17 00 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 17 00 F0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C5 [20:59:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:59:43]wFMCommunicate OK [20:59:43]requested_item fd.num is exist - process it [20:59:43]SAM_PROTO_GetFieldsCounters [20:59:43]wFMCommunicate request_size=4 [20:59:43]MH_SAM_APDU [20:59:43]CAPDU: 80 13 00 00 [20:59:43]Write to MH i2c: E2 08 00 F1 01 80 13 00 00 00 00 00 00 6E [20:59:43]Write i2c OK [20:59:43]MH_I2C_Read... [20:59:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:43]Read from MH i2c: E2 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 62 00 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 62 00 F1 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F3 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 55 [20:59: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F3 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:59:43]wFMCommunicate OK [20:59:43]SAM_PROTO_GetFieldsCounters done [20:59:43]requested_item shift.num is exist - process it [20:59:43]requested_item shift.opened is exist - process it [20:59:43]req_shift_opened [20:59:43]FM_GetShiftState [20:59:43]SAM_PROTO_GetShiftState [20:59:43]wFMCommunicate request_size=4 [20:59:43]MH_SAM_APDU [20:59:43]CAPDU: 80 13 01 00 [20:59:43]Write to MH i2c: E2 08 00 F2 01 80 13 01 00 00 00 00 00 70 [20:59:43]Write i2c OK [20:59:43]MH_I2C_Read... [20:59:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:43]Read from MH i2c: E2 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 0E 00 [20:59:43]MH_I2C_Read... [20:59:43]Read from MH i2c: E2 0E 00 F2 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 71 [20:59:43]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [20:59:43]wFMCommunicate OK [20:59:43]SAM_PROTO_GetShiftState done [20:59:43]FM_GetShiftState done [20:59:43]req_shift_opened done [20:59:43]requested_item shift.open_date is exist - process it [20:59:43]req_shift_open_date [20:59:43]req_shift_open_date done [20:59:43]requested_item shift.sale.total is exist - process it [20:59:43]SAM_PROTO_GetShiftData [20:59:43]wFMCommunicate request_size=4 [20:59:43]MH_SAM_APDU [20:59:43]CAPDU: 80 13 02 00 [20:59:43]Write to MH i2c: E2 08 00 F3 01 80 13 02 00 00 00 00 00 72 [20:59:43]Write i2c OK [20:59:43]MH_I2C_Read... [20:59:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:59:44]Read from MH i2c: E2 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 F3 01 00 B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 CC 68 24 70 04 03 00 DC 70 1C 72 04 03 00 F0 F7 07 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 F3 DD 03 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 76 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E6 [20:59:44]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 CC 68 24 70 04 03 00 DC 70 1C 72 04 03 00 F0 F7 07 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 F3 DD 03 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 76 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [20:59:44]wFMCommunicate OK [20:59:44]wFMCommunicate request_size=4 [20:59:44]MH_SAM_APDU [20:59:44]CAPDU: 80 17 00 00 [20:59:44]Write to MH i2c: E2 08 00 F4 01 80 17 00 00 00 00 00 00 75 [20:59:44]Write i2c OK [20:59:44]MH_I2C_Read... [20:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:59:44]Read from MH i2c: E2 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 F4 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [20:59:44]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:59:44]wFMCommunicate OK [20:59:44]wFMCommunicate request_size=4 [20:59:44]MH_SAM_APDU [20:59:44]CAPDU: 80 17 00 00 [20:59:44]Write to MH i2c: E2 08 00 F5 01 80 17 00 00 00 00 00 00 76 [20:59:44]Write i2c OK [20:59:44]MH_I2C_Read... [20:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:59:44]Read from MH i2c: E2 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 F5 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 36 [20:59:44]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:59:44]wFMCommunicate OK [20:59:44]wFMCommunicate request_size=4 [20:59:44]MH_SAM_APDU [20:59:44]CAPDU: 80 17 00 00 [20:59:44]Write to MH i2c: E2 08 00 F6 01 80 17 00 00 00 00 00 00 77 [20:59:44]Write i2c OK [20:59:44]MH_I2C_Read... [20:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:59:44]Read from MH i2c: E2 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 [20:59:44]MH_I2C_Read... [20:59:44]Read from MH i2c: E2 FD 00 F6 01 00 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 90 00 E6 [20:59:44]RAPDU: 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 90 00 [20:59:44]wFMCommunicate OK [20:59:44]wFMCommunicate request_size=4 [20:59:44]MH_SAM_APDU [20:59:44]CAPDU: 80 17 00 00 [20:59:44]Write to MH i2c: E2 08 00 F7 01 80 17 00 00 00 00 00 00 78 [20:59:44]Write i2c OK [20:59:44]MH_I2C_Read... [20:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [20:59:45]Read from MH i2c: E2 [20:59:45]MH_I2C_Read... [20:59:45]Read from MH i2c: E2 D3 00 [20:59:45]MH_I2C_Read... [20:59:45]Read from MH i2c: E2 D3 00 F7 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 65 [20:59:45]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:59:45]wFMCommunicate OK [20:59:45]SAM_PROTO_GetShiftData done [20:59:45]requested_item shift.sale.total_cash is exist - process it [20:59:45]requested_item shift.sale_refund.total is exist - process it [20:59:45]requested_item shift.sale_refund.total_cash is exist - process it [20:59:45]produce_requested_data done [20:59:45]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56819,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":23861.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [20:59:45]process_action_free close_receipt [20:59:45]json_value_free [20:59:45]json_value_free done [20:59:45]process_json_proto returns [20:59:45]Send response to host [20:59:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56819,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":23861.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [20:59:45]free response buf [20:59:45]execute_script done [20:59:45]execute_script returns [20:59:45]free content buf [20:59:45]Sock 7.Close socket [20:59:45]Sock 7.Thread stoped [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]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:26]accept exits with 9 [21:23:26]New connection [21:23:26]New thread 3067325796 created [21:23:26]Thread 3067182436 joined [21:23:26]Waiting for new connection... [21:23:26] Sock 9.Parse request [21:23:26]Sock 9.Check first char [21:23:26]Sock 9.First char is OK [21:23:26]request: POST /json_proto HTTP/1.0 [21:23:26]Method: POST [21:23:26]URL: /json_proto [21:23:26]Method is POST - this is cgi request [21:23:26]url: /json_proto [21:23:26]query_string will be loaded in cgi processing [21:23:26]execute_cgi json_proto POST (null) [21:23:26]execute_cgi path=json_proto method=POST [21:23:26]POST find Content-Length [21:23:26]Host: 172.17.39.4:8080 [21:23:26]Content-Length: 926 [21:23:26]Content-Type: application/json [21:23:26] [21:23:26]POST finish read [21:23:26]Found Content-Length = 926 [21:23:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129308", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:23:26]execute_script... [21:23:26]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)129308", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:23:26]POST & json_proto [21:23:26]process_json_proto [21:23:26]json parsed OK: [21:23:26]protocol is kg_v1.0 [21:23:26]action value=close_receipt [21:23:26]process_action close_receipt [21:23:26]cmd_close_receipt [21:23:26]MH_GetDate [21:23:26]Write to MH i2c: F0 00 00 F8 01 E8 [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: F0 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: F0 09 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: F0 09 00 F8 01 00 CF 9E 91 66 2D 25 5D 64 68 [21:23:26]GetLastDocTimeStamp 1720817980 [21:23:26]current date 1720819407 [21:23:26]FM_GetShiftState [21:23:26]SAM_PROTO_GetShiftState [21:23:26]wFMCommunicate request_size=4 [21:23:26]MH_SAM_APDU [21:23:26]CAPDU: 80 13 01 00 [21:23:26]Write to MH i2c: E2 08 00 F9 01 80 13 01 00 00 00 00 00 77 [21:23:26]Write i2c OK [21:23:26]MH_I2C_Read... [21:23:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:26]Read from MH i2c: E2 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 0E 00 [21:23:26]MH_I2C_Read... [21:23:26]Read from MH i2c: E2 0E 00 F9 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 78 [21:23:26]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:23:26]wFMCommunicate OK [21:23:26]SAM_PROTO_GetShiftState done [21:23:26]FM_GetShiftState done [21:23:26]opened in 1720744326 [21:23:26]opened+sec_in_day 1720830726 [21:23:26]quantity*price = 14000 [21:23:26]sum+1 = 14001 [21:23:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 88 12.07.2024 21:23 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56820 ФПД: 240135845495196 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T212327&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56820&fm=240135845495196&tin=02508201610067®Number=0000000000091208&sum=14000 0 [21:23:27]StoreToDocumentArchive [21:23:27]shift 494 fd 56820 [21:23:27]save to /storage/0494/doc_00056820 [21:23:27]save last doc name /storage/0494/doc_00056820 to /storage/kkm_last_doc_name [21:23:27]save OK [21:23:27]Clear old archive folders... [21:23:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:23:27]tlvbuf is 01FDBF80 [21:23:27]SAM_PROTO_ClearQueue [21:23:27]wFMCommunicate request_size=4 [21:23:27]MH_SAM_APDU [21:23:27]CAPDU: 80 09 00 00 [21:23:27]Write to MH i2c: E2 08 00 06 02 80 09 00 00 00 00 00 00 7A [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:23:27]Read from MH i2c: E2 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 03 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 03 00 06 02 00 90 00 7C [21:23:27]RAPDU: 90 00 [21:23:27]wFMCommunicate OK [21:23:27]SAM_PROTO_ClearQueue done [21:23:27]KKMCreateOFDPacket [21:23:27]OFDProtocolAddRootSTLVToBuf [21:23:27]FM_MakeSignedData [21:23:27]FM_MakeSignedData [21:23:27]SAM_PROTO_SignData [21:23:27]wFMCommunicate request_size=4 [21:23:27]MH_SAM_APDU [21:23:27]CAPDU: 80 0D 01 02 [21:23:27]Write to MH i2c: E2 08 00 07 02 80 0D 01 02 00 00 00 00 82 [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:23:27]Read from MH i2c: E2 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 03 00 [21:23:27]MH_I2C_Read... [21:23:27]Read from MH i2c: E2 03 00 07 02 00 90 00 7D [21:23:27]RAPDU: 90 00 [21:23:27]wFMCommunicate OK [21:23:27]wFMCommunicate request_size=255 [21:23:27]MH_SAM_APDU [21:23:27]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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 CF 9E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [21:23:27]Write to MH i2c: E2 02 01 08 02 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 CF 9E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 1D [21:23:27]Write i2c OK [21:23:27]MH_I2C_Read... [21:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:28]Read from MH i2c: E2 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 03 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 03 00 08 02 00 90 00 7E [21:23:28]RAPDU: 90 00 [21:23:28]wFMCommunicate OK [21:23:28]wFMCommunicate request_size=32 [21:23:28]MH_SAM_APDU [21:23:28]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DD 00 00 35 04 06 00 DA 66 FB C4 C1 9C [21:23:28]Write to MH i2c: E2 23 00 09 02 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DD 00 00 35 04 06 00 DA 66 FB C4 C1 9C 00 00 16 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:28]Read from MH i2c: E2 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 03 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 03 00 09 02 00 90 00 7F [21:23:28]RAPDU: 90 00 [21:23:28]wFMCommunicate OK [21:23:28]wFMCommunicate request_size=4 [21:23:28]MH_SAM_APDU [21:23:28]CAPDU: 80 0D 03 02 [21:23:28]Write to MH i2c: E2 08 00 0A 02 80 0D 03 02 00 00 00 00 87 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:23:28]Read from MH i2c: E2 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 0B 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 0B 00 0A 02 00 92 2E 3A DF C0 8D E3 7A 90 00 0B [21:23:28]RAPDU: 92 2E 3A DF C0 8D E3 7A 90 00 [21:23:28]wFMCommunicate OK [21:23:28]SAM_PROTO_SignData done [21:23:28]FM_MakeSignedData done [21:23:28]CreateOFDProtocolMessage [21:23:28]wFMCommunicate request_size=4 [21:23:28]MH_SAM_APDU [21:23:28]CAPDU: 80 11 00 00 [21:23:28]Write to MH i2c: E2 08 00 0B 02 80 11 00 00 00 00 00 00 87 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:28]Read from MH i2c: E2 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 17 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: E2 17 00 0B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E1 [21:23:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:23:28]wFMCommunicate OK [21:23:28]CreateOFDProtocolMessage done [21:23:28]OFDSenderStorePacket 56820 [21:23:28]StoreOFDPacket docnum=56820 [21:23:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 D3 F8 1D 01 19 4F 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 CF 9E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DD 00 00 35 04 06 00 DA 66 FB C4 C1 9C 92 2E 3A DF C0 8D E3 7A [21:23:28]CheckFolder [21:23:28]dirname=/storage/ofd_packets [21:23:28]CheckFolder done [21:23:28]ProducePacketName [21:23:28]name=ofd_packets/00056820 [21:23:28]NVStorageSaveData ofd_packets/00056820 [21:23:28]File name is /storage/ofd_packets/00056820 [21:23:28]Write 323 bytes [21:23:28]NVStorageSaveData done [21:23:28]OFDSenderStorePacket done [21:23:28]KKMCreateOFDPacket done [21:23:28]NVStorageSaveData kkm_last_timestamp [21:23:28]File name is /storage/kkm_last_timestamp [21:23:28]Write 4 bytes [21:23:28]NVStorageSaveData done [21:23:28]ExternCall_PrintAddStr [21:23:28]wPrintStart [21:23:28]Write to MH i2c: 01 00 00 0C 02 0E [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 07 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 07 00 0C 02 00 00 00 00 00 FF 0F 23 [21:23:28]RasterBufferAndPrint [21:23:28]line Счет N : (3)129308 [21:23:28]line ИНН: 02508201610067 [21:23:28]line Контрольно-Кассовый Чек [21:23:28]line ПРОДАЖА [21:23:28]line Товар: 48743570 [21:23:28]line Сигареты Winston XStyle Blue [21:23:28]line 1.000 * 140.00 [21:23:28]line = 140.00 [21:23:28]line НДС 12% НСП 1% [21:23:28]line > о реализуемом товаре [21:23:28]line ИТОГО: 140.00 [21:23:28]line НСП 1% : 1.24 [21:23:28]line НДС 12% : 14.87 [21:23:28]line Наличными: 0.00 [21:23:28]line Безнал.: 140.00 [21:23:28]line Место: АЗС № 132 "Партнер Нефть" [21:23:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:23:28]line СНО: Общий режим [21:23:28]line Чек 88 12.07.2024 21:23 [21:23:28]line Смена: 494 ФФД: 1.0 [21:23:28]line ЗНМ: 0300000132 [21:23:28]line РНМ: 0000000000091208 [21:23:28]line Версия ККМ: 001 [21:23:28]line Платежная система: АКБ Кыргызстан [21:23:28]line ФМ: 0000000000874857 [21:23:28]line ФД: 56820 [21:23:28]line ФПД: 240135845495196 [21:23:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T212327&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56820&fm=240135845495196&tin=02508201610067®Number=0000000000091208&sum=14000 [21:23:28]line 0 [21:23:28]written 0, free lines is 4095 [21:23:28]OFD Sender: Processing packet 56820 [packets to send 38, broken 37] [21:23:28]ProducePacketName [21:23:28]name=ofd_packets/00056820 [21:23:28]OFD Sender: To server: pG, [21:23:28]CommunicateWithHost lk.salyk.kg:30040 [21:23:28]ConnectInit lk.salyk.kg [21:23:28]Connected sock=10 [21:23: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 38 35 37 25 01 00 00 D3 F8 1D 01 19 4F 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 CF 9E 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DD 00 00 35 04 06 00 DA 66 FB C4 C1 9C 92 2E 3A DF C0 8D E3 7A [21:23:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F9 6D 47 00 42 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DD 00 00 F4 03 04 00 25 45 91 66 B6 04 01 00 00 DE C8 68 FE 2E 66 A4 06 [21:23:28]CommunicateWithHost err = 0 [21:23:28]CheckOFDResponse [21:23:28]1017 (14) - 77093643461234 [21:23:28]1041 (16) - 0000000000874857 [21:23:28]1040 (4) - 56820 [21:23:28]1012 (4) - 12.07.2024 15:00 [21:23:28]1206 (1) - 0 [21:23:28]OFD Sender: Remove packet 56820 [21:23:28]ProducePacketName [21:23:28]name=ofd_packets/00056820 [21:23:28]NVStorageDeleteData [21:23:28]Write to MH i2c: 01 00 00 36 02 38 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 07 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: 01 07 00 36 02 00 00 00 00 00 E3 0C 2E [21:23:28]RasterBufferAndPrint [21:23:28]line [21:23:28]line [21:23:28]line [21:23:28]line [21:23:28]line [21:23:28]written 0, free lines is 3305 [21:23:28]MH_Cut [21:23:28]Write to MH i2c: D1 01 00 3D 02 01 11 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: D1 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: D1 01 00 [21:23:28]MH_I2C_Read... [21:23:28]Read from MH i2c: D1 01 00 3D 02 00 10 [21:23:28]Write to MH i2c: 01 00 00 3E 02 40 [21:23:28]Write i2c OK [21:23:28]MH_I2C_Read... [21:23:29]OFD Sender: No OFD packet to send [21:23:29]*** Cut start [21:23:29]*** Partial cut [21:23:29]*** CUTSNS_PIN = 1 [21:23:29]*** CUTSNS_PIN = 0 [21:23:29]*** Brake cut motor [21:23:29]Read from MH i2c: 01 [21:23:30]MH_I2C_Read... [21:23:30]*** Stop cut motor [21:23:30]*** Cut end [21:23:30]Read from MH i2c: 01 07 00 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: 01 07 00 3E 02 00 00 00 00 00 FF 0F 55 [21:23:30]process_action close_receipt done [21:23:30]requested_data is exist [21:23:30]produce_requested_data [21:23:30]requested_item fm.sn is exist - process it [21:23:30]wFMCommunicate request_size=4 [21:23:30]MH_SAM_APDU [21:23:30]CAPDU: 80 11 00 00 [21:23:30]Write to MH i2c: E2 08 00 3F 02 80 11 00 00 00 00 00 00 BB [21:23:30]Write i2c OK [21:23:30]MH_I2C_Read... [21:23:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:30]Read from MH i2c: E2 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 17 00 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 17 00 3F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 15 [21:23:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:23:30]wFMCommunicate OK [21:23:30]requested_item fd.num is exist - process it [21:23:30]SAM_PROTO_GetFieldsCounters [21:23:30]wFMCommunicate request_size=4 [21:23:30]MH_SAM_APDU [21:23:30]CAPDU: 80 13 00 00 [21:23:30]Write to MH i2c: E2 08 00 40 02 80 13 00 00 00 00 00 00 BE [21:23:30]Write i2c OK [21:23:30]MH_I2C_Read... [21:23:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:23:30]Read from MH i2c: E2 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 62 00 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 62 00 40 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F4 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [21:23:30]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F4 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:23:30]wFMCommunicate OK [21:23:30]SAM_PROTO_GetFieldsCounters done [21:23:30]requested_item shift.num is exist - process it [21:23:30]requested_item shift.opened is exist - process it [21:23:30]req_shift_opened [21:23:30]FM_GetShiftState [21:23:30]SAM_PROTO_GetShiftState [21:23:30]wFMCommunicate request_size=4 [21:23:30]MH_SAM_APDU [21:23:30]CAPDU: 80 13 01 00 [21:23:30]Write to MH i2c: E2 08 00 41 02 80 13 01 00 00 00 00 00 C0 [21:23:30]Write i2c OK [21:23:30]MH_I2C_Read... [21:23:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:30]Read from MH i2c: E2 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 0E 00 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 0E 00 41 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C1 [21:23:30]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:23:30]wFMCommunicate OK [21:23:30]SAM_PROTO_GetShiftState done [21:23:30]FM_GetShiftState done [21:23:30]req_shift_opened done [21:23:30]requested_item shift.open_date is exist - process it [21:23:30]req_shift_open_date [21:23:30]req_shift_open_date done [21:23:30]requested_item shift.sale.total is exist - process it [21:23:30]SAM_PROTO_GetShiftData [21:23:30]wFMCommunicate request_size=4 [21:23:30]MH_SAM_APDU [21:23:30]CAPDU: 80 13 02 00 [21:23:30]Write to MH i2c: E2 08 00 42 02 80 13 02 00 00 00 00 00 C2 [21:23:30]Write i2c OK [21:23:30]MH_I2C_Read... [21:23:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:23:30]Read from MH i2c: E2 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 FD 00 [21:23:30]MH_I2C_Read... [21:23:30]Read from MH i2c: E2 FD 00 42 02 00 B6 04 AA 04 B2 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 7C 9F 24 70 04 03 00 DC 70 1C 72 04 03 00 A0 2E 08 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 C2 E3 03 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 F2 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 58 [21:23:30]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 7C 9F 24 70 04 03 00 DC 70 1C 72 04 03 00 A0 2E 08 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 C2 E3 03 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 F2 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [21:23:30]wFMCommunicate OK [21:23:30]wFMCommunicate request_size=4 [21:23:30]MH_SAM_APDU [21:23:30]CAPDU: 80 17 00 00 [21:23:30]Write to MH i2c: E2 08 00 43 02 80 17 00 00 00 00 00 00 C5 [21:23:30]Write i2c OK [21:23:30]MH_I2C_Read... [21:23:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:31]Read from MH i2c: E2 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 43 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [21:23:31]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:23:31]wFMCommunicate OK [21:23:31]wFMCommunicate request_size=4 [21:23:31]MH_SAM_APDU [21:23:31]CAPDU: 80 17 00 00 [21:23:31]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [21:23:31]Write i2c OK [21:23:31]MH_I2C_Read... [21:23:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:31]Read from MH i2c: E2 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 44 02 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [21:23:31]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:23:31]wFMCommunicate OK [21:23:31]wFMCommunicate request_size=4 [21:23:31]MH_SAM_APDU [21:23:31]CAPDU: 80 17 00 00 [21:23:31]Write to MH i2c: E2 08 00 45 02 80 17 00 00 00 00 00 00 C7 [21:23:31]Write i2c OK [21:23:31]MH_I2C_Read... [21:23:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:31]Read from MH i2c: E2 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 FD 00 45 02 00 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 90 00 36 [21:23:31]RAPDU: 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 90 00 [21:23:31]wFMCommunicate OK [21:23:31]wFMCommunicate request_size=4 [21:23:31]MH_SAM_APDU [21:23:31]CAPDU: 80 17 00 00 [21:23:31]Write to MH i2c: E2 08 00 46 02 80 17 00 00 00 00 00 00 C8 [21:23:31]Write i2c OK [21:23:31]MH_I2C_Read... [21:23:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:23:31]Read from MH i2c: E2 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 D3 00 [21:23:31]MH_I2C_Read... [21:23:31]Read from MH i2c: E2 D3 00 46 02 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B5 [21:23:31]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:23:31]wFMCommunicate OK [21:23:31]SAM_PROTO_GetShiftData done [21:23:31]requested_item shift.sale.total_cash is exist - process it [21:23:31]requested_item shift.sale_refund.total is exist - process it [21:23:31]requested_item shift.sale_refund.total_cash is exist - process it [21:23:31]produce_requested_data done [21:23:31]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56820,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24001.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [21:23:31]process_action_free close_receipt [21:23:31]json_value_free [21:23:31]json_value_free done [21:23:31]process_json_proto returns [21:23:31]Send response to host [21:23:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56820,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24001.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [21:23:31]free response buf [21:23:31]execute_script done [21:23:31]execute_script returns [21:23:31]free content buf [21:23:31]Sock 9.Close socket [21:23:31]Sock 9.Thread stoped [21:23:34]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:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:43]accept exits with 7 [21:34:43]New connection [21:34:43]New thread 3067182436 created [21:34:43]Thread 3067325796 joined [21:34:43]Waiting for new connection... [21:34:43] Sock 7.Parse request [21:34:43]Sock 7.Check first char [21:34:43]Sock 7.First char is OK [21:34:43]request: POST /json_proto HTTP/1.0 [21:34:43]Method: POST [21:34:43]URL: /json_proto [21:34:43]Method is POST - this is cgi request [21:34:43]url: /json_proto [21:34:43]query_string will be loaded in cgi processing [21:34:43]execute_cgi json_proto POST (null) [21:34:43]execute_cgi path=json_proto method=POST [21:34:43]POST find Content-Length [21:34:43]Host: 172.17.39.4:8080 [21:34:43]Content-Length: 961 [21:34:43]Content-Type: application/json [21:34:43] [21:34:43]POST finish read [21:34:43]Found Content-Length = 961 [21:34:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129309", "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" : 2.000, "sum" : 190.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:34:43]execute_script... [21:34: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)129309", "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" : 2.000, "sum" : 190.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:34:43]POST & json_proto [21:34:43]process_json_proto [21:34:43]json parsed OK: [21:34:43]protocol is kg_v1.0 [21:34:43]action value=close_receipt [21:34:43]process_action close_receipt [21:34:43]cmd_close_receipt [21:34:43]MH_GetDate [21:34:43]Write to MH i2c: F0 00 00 47 02 38 [21:34:43]Write i2c OK [21:34:43]MH_I2C_Read... [21:34:43]Read from MH i2c: F0 [21:34:43]MH_I2C_Read... [21:34:43]Read from MH i2c: F0 09 00 [21:34:43]MH_I2C_Read... [21:34:43]Read from MH i2c: F0 09 00 47 02 00 74 A1 91 66 2D 25 5D 64 60 [21:34:43]GetLastDocTimeStamp 1720819407 [21:34:43]current date 1720820084 [21:34:43]FM_GetShiftState [21:34:43]SAM_PROTO_GetShiftState [21:34:43]wFMCommunicate request_size=4 [21:34:43]MH_SAM_APDU [21:34:43]CAPDU: 80 13 01 00 [21:34:43]Write to MH i2c: E2 08 00 48 02 80 13 01 00 00 00 00 00 C7 [21:34:43]Write i2c OK [21:34:43]MH_I2C_Read... [21:34:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:43]Read from MH i2c: E2 [21:34:43]MH_I2C_Read... [21:34:43]Read from MH i2c: E2 0E 00 [21:34:43]MH_I2C_Read... [21:34:43]Read from MH i2c: E2 0E 00 48 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 C8 [21:34:43]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:34:43]wFMCommunicate OK [21:34:43]SAM_PROTO_GetShiftState done [21:34:43]FM_GetShiftState done [21:34:43]opened in 1720744326 [21:34:43]opened+sec_in_day 1720830726 [21:34:43]quantity*price = 19000 [21:34:43]sum+1 = 19001 [21:34:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 89 12.07.2024 21:34 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56821 ФПД: 9455136111672 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T213444&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56821&fm=9455136111672&tin=02508201610067®Number=0000000000091208&sum=19000 0 [21:34:44]StoreToDocumentArchive [21:34:44]shift 494 fd 56821 [21:34:44]save to /storage/0494/doc_00056821 [21:34:44]save last doc name /storage/0494/doc_00056821 to /storage/kkm_last_doc_name [21:34:44]save OK [21:34:44]Clear old archive folders... [21:34:44]ProcessDocumentItem done err = 0, tmpTLVsize=293 [21:34:44]tlvbuf is 01FC5400 [21:34:44]SAM_PROTO_ClearQueue [21:34:44]wFMCommunicate request_size=4 [21:34:44]MH_SAM_APDU [21:34:44]CAPDU: 80 09 00 00 [21:34:44]Write to MH i2c: E2 08 00 55 02 80 09 00 00 00 00 00 00 C9 [21:34:44]Write i2c OK [21:34:44]MH_I2C_Read... [21:34:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:34:44]Read from MH i2c: E2 [21:34:44]MH_I2C_Read... [21:34:44]Read from MH i2c: E2 03 00 [21:34:44]MH_I2C_Read... [21:34:44]Read from MH i2c: E2 03 00 55 02 00 90 00 CB [21:34:44]RAPDU: 90 00 [21:34:44]wFMCommunicate OK [21:34:44]SAM_PROTO_ClearQueue done [21:34:44]KKMCreateOFDPacket [21:34:44]OFDProtocolAddRootSTLVToBuf [21:34:44]FM_MakeSignedData [21:34:44]FM_MakeSignedData [21:34:44]SAM_PROTO_SignData [21:34:44]wFMCommunicate request_size=4 [21:34:44]MH_SAM_APDU [21:34:44]CAPDU: 80 0D 01 02 [21:34:44]Write to MH i2c: E2 08 00 56 02 80 0D 01 02 00 00 00 00 D1 [21:34:44]Write i2c OK [21:34:44]MH_I2C_Read... [21:34:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:34:44]Read from MH i2c: E2 [21:34:44]MH_I2C_Read... [21:34:44]Read from MH i2c: E2 03 00 [21:34:44]MH_I2C_Read... [21:34:44]Read from MH i2c: E2 03 00 56 02 00 90 00 CC [21:34:44]RAPDU: 90 00 [21:34:44]wFMCommunicate OK [21:34:44]wFMCommunicate request_size=255 [21:34:44]MH_SAM_APDU [21:34:44]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 74 A1 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [21:34:44]Write to MH i2c: E2 02 01 57 02 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 74 A1 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BD [21:34:44]OFD Sender: No OFD packet to send [21:34:44]Write i2c OK [21:34:44]MH_I2C_Read... [21:34:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:45]Read from MH i2c: E2 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 03 00 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 03 00 57 02 00 90 00 CD [21:34:45]RAPDU: 90 00 [21:34:45]wFMCommunicate OK [21:34:45]wFMCommunicate request_size=52 [21:34:45]MH_SAM_APDU [21:34:45]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DD 00 00 35 04 06 00 08 99 72 07 7C 38 [21:34:45]Write to MH i2c: E2 37 00 58 02 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DD 00 00 35 04 06 00 08 99 72 07 7C 38 00 00 39 [21:34:45]Write i2c OK [21:34:45]MH_I2C_Read... [21:34:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:45]Read from MH i2c: E2 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 03 00 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 03 00 58 02 00 90 00 CE [21:34:45]RAPDU: 90 00 [21:34:45]wFMCommunicate OK [21:34:45]wFMCommunicate request_size=4 [21:34:45]MH_SAM_APDU [21:34:45]CAPDU: 80 0D 03 02 [21:34:45]Write to MH i2c: E2 08 00 59 02 80 0D 03 02 00 00 00 00 D6 [21:34:45]Write i2c OK [21:34:45]MH_I2C_Read... [21:34:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:34:45]Read from MH i2c: E2 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 0B 00 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 0B 00 59 02 00 BD 32 41 FF A0 5A B6 93 90 00 49 [21:34:45]RAPDU: BD 32 41 FF A0 5A B6 93 90 00 [21:34:45]wFMCommunicate OK [21:34:45]SAM_PROTO_SignData done [21:34:45]FM_MakeSignedData done [21:34:45]CreateOFDProtocolMessage [21:34:45]wFMCommunicate request_size=4 [21:34:45]MH_SAM_APDU [21:34:45]CAPDU: 80 11 00 00 [21:34:45]Write to MH i2c: E2 08 00 5A 02 80 11 00 00 00 00 00 00 D6 [21:34:45]Write i2c OK [21:34:45]MH_I2C_Read... [21:34:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:45]Read from MH i2c: E2 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 17 00 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: E2 17 00 5A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 30 [21:34:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:34:45]wFMCommunicate OK [21:34:45]CreateOFDProtocolMessage done [21:34:45]OFDSenderStorePacket 56821 [21:34:45]StoreOFDPacket docnum=56821 [21:34:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 D2 FE 31 01 B9 DC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 74 A1 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DD 00 00 35 04 06 00 08 99 72 07 7C 38 BD 32 41 FF A0 5A B6 93 [21:34:45]CheckFolder [21:34:45]dirname=/storage/ofd_packets [21:34:45]CheckFolder done [21:34:45]ProducePacketName [21:34:45]name=ofd_packets/00056821 [21:34:45]NVStorageSaveData ofd_packets/00056821 [21:34:45]File name is /storage/ofd_packets/00056821 [21:34:45]Write 343 bytes [21:34:45]NVStorageSaveData done [21:34:45]OFDSenderStorePacket done [21:34:45]KKMCreateOFDPacket done [21:34:45]NVStorageSaveData kkm_last_timestamp [21:34:45]File name is /storage/kkm_last_timestamp [21:34:45]Write 4 bytes [21:34:45]NVStorageSaveData done [21:34:45]ExternCall_PrintAddStr [21:34:45]wPrintStart [21:34:45]Write to MH i2c: 01 00 00 5B 02 5D [21:34:45]Write i2c OK [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: 01 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: 01 07 00 [21:34:45]MH_I2C_Read... [21:34:45]Read from MH i2c: 01 07 00 5B 02 00 00 00 00 00 FF 0F 72 [21:34:45]RasterBufferAndPrint [21:34:45]line Счет N : (3)129309 [21:34:45]line ИНН: 02508201610067 [21:34:45]line Контрольно-Кассовый Чек [21:34:45]line ПРОДАЖА [21:34:45]line Товар: 4700000480050 [21:34:45]line Напиток Nitro Energy эн green ж/б 0,45л [21:34:45]line 2.000 * 95.00 [21:34:45]line = 190.00 [21:34:45]line НДС 12% НСП 1% [21:34:45]line > о реализуемом товаре [21:34:45]line ИТОГО: 190.00 [21:34:45]line НСП 1% : 1.68 [21:34:45]line НДС 12% : 20.18 [21:34:45]line Наличными: 0.00 [21:34:45]line Безнал.: 190.00 [21:34:45]line Место: АЗС № 132 "Партнер Нефть" [21:34:45]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:34:45]line СНО: Общий режим [21:34:45]line Чек 89 12.07.2024 21:34 [21:34:45]line Смена: 494 ФФД: 1.0 [21:34:45]line ЗНМ: 0300000132 [21:34:45]line РНМ: 0000000000091208 [21:34:45]line Версия ККМ: 001 [21:34:45]line Платежная система: АКБ Кыргызстан [21:34:45]line ФМ: 0000000000874857 [21:34:45]line ФД: 56821 [21:34:45]line ФПД: 9455136111672 [21:34:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T213444&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56821&fm=9455136111672&tin=02508201610067®Number=0000000000091208&sum=19000 [21:34:45]line 0 [21:34:45]OFD Sender: Processing packet 56821 [packets to send 38, broken 37] [21:34:45]ProducePacketName [21:34:45]name=ofd_packets/00056821 [21:34:45]OFD Sender: To server: pG, [21:34:45]CommunicateWithHost lk.salyk.kg:30040 [21:34:45]ConnectInit lk.salyk.kg [21:34:45]written 0, free lines is 4095 [21:34:45]Connected sock=10 [21:34: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 38 35 37 39 01 00 00 D2 FE 31 01 B9 DC 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 74 A1 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DD 00 00 35 04 06 00 08 99 72 07 7C 38 BD 32 41 FF A0 5A B6 93 [21:34:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9D 48 47 00 24 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DD 00 00 F4 03 04 00 CA 47 91 66 B6 04 01 00 00 AF 1F 31 17 A7 16 A1 0C [21:34:45]CommunicateWithHost err = 0 [21:34:45]CheckOFDResponse [21:34:45]1017 (14) - 77093643461234 [21:34:45]1041 (16) - 0000000000874857 [21:34:45]1040 (4) - 56821 [21:34:45]1012 (4) - 12.07.2024 15:12 [21:34:45]1206 (1) - 0 [21:34:45]OFD Sender: Remove packet 56821 [21:34:45]ProducePacketName [21:34:45]name=ofd_packets/00056821 [21:34:45]NVStorageDeleteData [21:34:46]Write to MH i2c: 01 00 00 86 02 88 [21:34:46]Write i2c OK [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: 01 [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: 01 07 00 [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: 01 07 00 86 02 00 00 00 00 00 E6 0C 81 [21:34:46]RasterBufferAndPrint [21:34:46]line [21:34:46]line [21:34:46]line [21:34:46]line [21:34:46]line [21:34:46]written 0, free lines is 3309 [21:34:46]MH_Cut [21:34:46]Write to MH i2c: D1 01 00 8D 02 01 61 [21:34:46]Write i2c OK [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: D1 [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: D1 01 00 [21:34:46]MH_I2C_Read... [21:34:46]Read from MH i2c: D1 01 00 8D 02 00 60 [21:34:46]Write to MH i2c: 01 00 00 8E 02 90 [21:34:46]Write i2c OK [21:34:46]MH_I2C_Read... [21:34:46]OFD Sender: No OFD packet to send [21:34:46]*** Cut start [21:34:46]*** Partial cut [21:34:46]*** CUTSNS_PIN = 1 [21:34:46]*** CUTSNS_PIN = 0 [21:34:47]*** Brake cut motor [21:34:47]Read from MH i2c: 01 [21:34:47]MH_I2C_Read... [21:34:47]*** Stop cut motor [21:34:47]*** Cut end [21:34:47]Read from MH i2c: 01 07 00 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 FF 0F A5 [21:34:47]process_action close_receipt done [21:34:47]requested_data is exist [21:34:47]produce_requested_data [21:34:47]requested_item fm.sn is exist - process it [21:34:47]wFMCommunicate request_size=4 [21:34:47]MH_SAM_APDU [21:34:47]CAPDU: 80 11 00 00 [21:34:47]Write to MH i2c: E2 08 00 8F 02 80 11 00 00 00 00 00 00 0B [21:34:47]Write i2c OK [21:34:47]MH_I2C_Read... [21:34:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:47]Read from MH i2c: E2 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 17 00 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 17 00 8F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [21:34:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:34:47]wFMCommunicate OK [21:34:47]requested_item fd.num is exist - process it [21:34:47]SAM_PROTO_GetFieldsCounters [21:34:47]wFMCommunicate request_size=4 [21:34:47]MH_SAM_APDU [21:34:47]CAPDU: 80 13 00 00 [21:34:47]Write to MH i2c: E2 08 00 90 02 80 13 00 00 00 00 00 00 0E [21:34:47]Write i2c OK [21:34:47]MH_I2C_Read... [21:34:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:34:47]Read from MH i2c: E2 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 62 00 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 62 00 90 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F5 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [21:34: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F5 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:34:47]wFMCommunicate OK [21:34:47]SAM_PROTO_GetFieldsCounters done [21:34:47]requested_item shift.num is exist - process it [21:34:47]requested_item shift.opened is exist - process it [21:34:47]req_shift_opened [21:34:47]FM_GetShiftState [21:34:47]SAM_PROTO_GetShiftState [21:34:47]wFMCommunicate request_size=4 [21:34:47]MH_SAM_APDU [21:34:47]CAPDU: 80 13 01 00 [21:34:47]Write to MH i2c: E2 08 00 91 02 80 13 01 00 00 00 00 00 10 [21:34:47]Write i2c OK [21:34:47]MH_I2C_Read... [21:34:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:47]Read from MH i2c: E2 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 0E 00 [21:34:47]MH_I2C_Read... [21:34:47]Read from MH i2c: E2 0E 00 91 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 11 [21:34:47]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:34:47]wFMCommunicate OK [21:34:47]SAM_PROTO_GetShiftState done [21:34:47]FM_GetShiftState done [21:34:47]req_shift_opened done [21:34:47]requested_item shift.open_date is exist - process it [21:34:47]req_shift_open_date [21:34:47]req_shift_open_date done [21:34:47]requested_item shift.sale.total is exist - process it [21:34:47]SAM_PROTO_GetShiftData [21:34:47]wFMCommunicate request_size=4 [21:34:47]MH_SAM_APDU [21:34:47]CAPDU: 80 13 02 00 [21:34:47]Write to MH i2c: E2 08 00 92 02 80 13 02 00 00 00 00 00 12 [21:34:47]Write i2c OK [21:34:47]MH_I2C_Read... [21:34:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:34:48]Read from MH i2c: E2 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 92 02 00 B6 04 AA 04 B2 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 B4 E9 24 70 04 03 00 DC 70 1C 72 04 03 00 D8 78 08 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 A4 EB 03 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 9A 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 41 [21:34:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 B4 E9 24 70 04 03 00 DC 70 1C 72 04 03 00 D8 78 08 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 A4 EB 03 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 9A 53 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [21:34:48]wFMCommunicate OK [21:34:48]wFMCommunicate request_size=4 [21:34:48]MH_SAM_APDU [21:34:48]CAPDU: 80 17 00 00 [21:34:48]Write to MH i2c: E2 08 00 93 02 80 17 00 00 00 00 00 00 15 [21:34:48]Write i2c OK [21:34:48]MH_I2C_Read... [21:34:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:34:48]Read from MH i2c: E2 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 93 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [21:34:48]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:34:48]wFMCommunicate OK [21:34:48]wFMCommunicate request_size=4 [21:34:48]MH_SAM_APDU [21:34:48]CAPDU: 80 17 00 00 [21:34:48]Write to MH i2c: E2 08 00 94 02 80 17 00 00 00 00 00 00 16 [21:34:48]Write i2c OK [21:34:48]MH_I2C_Read... [21:34:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:34:48]Read from MH i2c: E2 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 94 02 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [21:34:48]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:34:48]wFMCommunicate OK [21:34:48]wFMCommunicate request_size=4 [21:34:48]MH_SAM_APDU [21:34:48]CAPDU: 80 17 00 00 [21:34:48]Write to MH i2c: E2 08 00 95 02 80 17 00 00 00 00 00 00 17 [21:34:48]Write i2c OK [21:34:48]MH_I2C_Read... [21:34:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:34:48]Read from MH i2c: E2 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 [21:34:48]MH_I2C_Read... [21:34:48]Read from MH i2c: E2 FD 00 95 02 00 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 90 00 86 [21:34:48]RAPDU: 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 90 00 [21:34:48]wFMCommunicate OK [21:34:48]wFMCommunicate request_size=4 [21:34:48]MH_SAM_APDU [21:34:48]CAPDU: 80 17 00 00 [21:34:48]Write to MH i2c: E2 08 00 96 02 80 17 00 00 00 00 00 00 18 [21:34:48]Write i2c OK [21:34:48]MH_I2C_Read... [21:34:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:34:49]Read from MH i2c: E2 [21:34:49]MH_I2C_Read... [21:34:49]Read from MH i2c: E2 D3 00 [21:34:49]MH_I2C_Read... [21:34:49]Read from MH i2c: E2 D3 00 96 02 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 05 [21:34:49]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:34:49]wFMCommunicate OK [21:34:49]SAM_PROTO_GetShiftData done [21:34:49]requested_item shift.sale.total_cash is exist - process it [21:34:49]requested_item shift.sale_refund.total is exist - process it [21:34:49]requested_item shift.sale_refund.total_cash is exist - process it [21:34:49]produce_requested_data done [21:34:49]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56821,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24191.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [21:34:49]process_action_free close_receipt [21:34:49]json_value_free [21:34:49]json_value_free done [21:34:49]process_json_proto returns [21:34:49]Send response to host [21:34:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56821,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24191.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [21:34:49]free response buf [21:34:49]execute_script done [21:34:49]execute_script returns [21:34:49]free content buf [21:34:49]Sock 7.Close socket [21:34:49]Sock 7.Thread stoped [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:46:31]ConnectInit Can't connect to host [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:27]accept exits with 8 [21:50:27]New connection [21:50:27]New thread 3067563364 created [21:50:27]Thread 3067420004 joined [21:50:27]Waiting for new connection... [21:50:27] Sock 8.Parse request [21:50:27]Sock 8.Check first char [21:50:27]Sock 8.First char is OK [21:50:27]request: POST /json_proto HTTP/1.0 [21:50:27]Method: POST [21:50:27]URL: /json_proto [21:50:27]Method is POST - this is cgi request [21:50:27]url: /json_proto [21:50:27]query_string will be loaded in cgi processing [21:50:27]execute_cgi json_proto POST (null) [21:50:27]execute_cgi path=json_proto method=POST [21:50:27]POST find Content-Length [21:50:27]Host: 172.17.39.4:8080 [21:50:27]Content-Length: 1610 [21:50:27]Content-Type: application/json [21:50:27] [21:50:27]POST finish read [21:50:27]Found Content-Length = 1610 [21:50:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129310", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338007564", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043C\u0443\u043B\u044C\u0442\u0438\u0444\u0440\u0443\u043A\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:50:27]execute_script... [21:50: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)129310", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338007564", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043C\u0443\u043B\u044C\u0442\u0438\u0444\u0440\u0443\u043A\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:50:27]POST & json_proto [21:50:27]process_json_proto [21:50:27]json parsed OK: [21:50:27]protocol is kg_v1.0 [21:50:27]action value=close_receipt [21:50:27]process_action close_receipt [21:50:27]cmd_close_receipt [21:50:27]MH_GetDate [21:50:27]Write to MH i2c: F0 00 00 1D 00 0C [21:50:27]Write i2c OK [21:50:27]MH_I2C_Read... [21:50:27]Read from MH i2c: F0 [21:50:27]MH_I2C_Read... [21:50:27]Read from MH i2c: F0 09 00 [21:50:27]MH_I2C_Read... [21:50:27]Read from MH i2c: F0 09 00 1D 00 00 23 A5 91 66 2D 25 5D 64 E7 [21:50:27]GetLastDocTimeStamp 1720820084 [21:50:27]current date 1720821027 [21:50:27]FM_GetShiftState [21:50:27]SAM_PROTO_GetShiftState [21:50:27]wFMCommunicate request_size=4 [21:50:27]MH_SAM_APDU [21:50:27]CAPDU: 80 13 01 00 [21:50:27]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [21:50:27]Write i2c OK [21:50:27]MH_I2C_Read... [21:50:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:27]Read from MH i2c: E2 [21:50:27]MH_I2C_Read... [21:50:27]Read from MH i2c: E2 0E 00 [21:50:27]MH_I2C_Read... [21:50:27]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 9C [21:50:27]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:50:27]wFMCommunicate OK [21:50:27]SAM_PROTO_GetShiftState done [21:50:27]FM_GetShiftState done [21:50:27]opened in 1720744326 [21:50:27]opened+sec_in_day 1720830726 [21:50:27]quantity*price = 6500 [21:50:27]sum+1 = 6501 [21:50:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600338007564 Сок Фруто НЯНЯ мультифрукт 0,2л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.25 НДС 12% : 27.07 Наличными: 0.00 Безнал.: 255.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 90 12.07.2024 21:50 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56822 ФПД: 4254773602258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T215028&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56822&fm=4254773602258&tin=02508201610067®Number=0000000000091208&sum=25500 0 [21:50:28]StoreToDocumentArchive [21:50:28]shift 494 fd 56822 [21:50:28]save to /storage/0494/doc_00056822 [21:50:28]save last doc name /storage/0494/doc_00056822 to /storage/kkm_last_doc_name [21:50:28]save OK [21:50:28]Clear old archive folders... [21:50:28]ProcessDocumentItem done err = 0, tmpTLVsize=533 [21:50:28]tlvbuf is 012F4F80 [21:50:28]SAM_PROTO_ClearQueue [21:50:28]wFMCommunicate request_size=4 [21:50:28]MH_SAM_APDU [21:50:28]CAPDU: 80 09 00 00 [21:50:28]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [21:50:28]Write i2c OK [21:50:28]MH_I2C_Read... [21:50:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:50:28]Read from MH i2c: E2 [21:50:28]MH_I2C_Read... [21:50:28]Read from MH i2c: E2 03 00 [21:50:28]MH_I2C_Read... [21:50:28]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [21:50:28]RAPDU: 90 00 [21:50:28]wFMCommunicate OK [21:50:28]SAM_PROTO_ClearQueue done [21:50:28]KKMCreateOFDPacket [21:50:28]OFDProtocolAddRootSTLVToBuf [21:50:28]FM_MakeSignedData [21:50:28]FM_MakeSignedData [21:50:28]SAM_PROTO_SignData [21:50:28]wFMCommunicate request_size=4 [21:50:28]MH_SAM_APDU [21:50:28]CAPDU: 80 0D 01 02 [21:50:28]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [21:50:28]Write i2c OK [21:50:28]MH_I2C_Read... [21:50:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:50:28]Read from MH i2c: E2 [21:50:28]MH_I2C_Read... [21:50:28]Read from MH i2c: E2 03 00 [21:50:28]MH_I2C_Read... [21:50:28]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [21:50:28]RAPDU: 90 00 [21:50:28]wFMCommunicate OK [21:50:28]wFMCommunicate request_size=255 [21:50:28]MH_SAM_APDU [21:50:28]CAPDU: 80 0D 02 02 FA 03 00 15 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7B 00 8A [21:50:28]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 15 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7B 00 8A 00 00 1F [21:50:28]Write i2c OK [21:50:28]MH_I2C_Read... [21:50:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:29]Read from MH i2c: E2 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [21:50:29]RAPDU: 90 00 [21:50:29]wFMCommunicate OK [21:50:29]wFMCommunicate request_size=255 [21:50:29]MH_SAM_APDU [21:50:29]CAPDU: 80 0D 02 02 FA 04 0D 00 34 36 30 30 33 33 38 30 30 37 35 36 34 06 04 37 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BC D1 83 D0 BB D1 8C D1 82 D0 B8 D1 84 D1 80 D1 83 D0 BA D1 82 20 30 2C 32 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 24 A5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [21:50:29]Write to MH i2c: E2 02 01 2E 00 80 0D 02 02 FA 00 04 0D 00 34 36 30 30 33 33 38 30 30 37 35 36 34 06 04 37 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BC D1 83 D0 BB D1 8C D1 82 D0 B8 D1 84 D1 80 D1 83 D0 BA D1 82 20 30 2C 32 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 24 A5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 36 [21:50:29]Write i2c OK [21:50:29]MH_I2C_Read... [21:50:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:29]Read from MH i2c: E2 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [21:50:29]RAPDU: 90 00 [21:50:29]wFMCommunicate OK [21:50:29]wFMCommunicate request_size=42 [21:50:29]MH_SAM_APDU [21:50:29]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DD 00 00 35 04 06 00 03 DE A4 44 E7 D2 [21:50:29]Write to MH i2c: E2 2D 00 2F 00 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DD 00 00 35 04 06 00 03 DE A4 44 E7 D2 00 00 DA [21:50:29]Write i2c OK [21:50:29]MH_I2C_Read... [21:50:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:29]Read from MH i2c: E2 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [21:50:29]RAPDU: 90 00 [21:50:29]wFMCommunicate OK [21:50:29]wFMCommunicate request_size=4 [21:50:29]MH_SAM_APDU [21:50:29]CAPDU: 80 0D 03 02 [21:50:29]Write to MH i2c: E2 08 00 30 00 80 0D 03 02 00 00 00 00 AB [21:50:29]Write i2c OK [21:50:29]MH_I2C_Read... [21:50:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:50:29]Read from MH i2c: E2 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 0B 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 0B 00 30 00 00 8A 5F 0D 65 D4 B6 9D 1B 90 00 49 [21:50:29]RAPDU: 8A 5F 0D 65 D4 B6 9D 1B 90 00 [21:50:29]wFMCommunicate OK [21:50:29]SAM_PROTO_SignData done [21:50:29]FM_MakeSignedData done [21:50:29]CreateOFDProtocolMessage [21:50:29]wFMCommunicate request_size=4 [21:50:29]MH_SAM_APDU [21:50:29]CAPDU: 80 11 00 00 [21:50:29]Write to MH i2c: E2 08 00 31 00 80 11 00 00 00 00 00 00 AB [21:50:29]Write i2c OK [21:50:29]MH_I2C_Read... [21:50:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:29]Read from MH i2c: E2 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 17 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: E2 17 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 05 [21:50:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:50:29]wFMCommunicate OK [21:50:29]CreateOFDProtocolMessage done [21:50:29]OFDSenderStorePacket 56822 [21:50:29]StoreOFDPacket docnum=56822 [21:50:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 29 02 00 00 CC C6 21 02 69 00 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7B 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 35 36 34 06 04 37 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BC D1 83 D0 BB D1 8C D1 82 D0 B8 D1 84 D1 80 D1 83 D0 BA D1 82 20 30 2C 32 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 24 A5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DD 00 00 35 04 06 00 03 DE A4 44 E7 D2 8A 5F 0D 65 D4 B6 9D 1B [21:50:29]CheckFolder [21:50:29]dirname=/storage/ofd_packets [21:50:29]CheckFolder done [21:50:29]ProducePacketName [21:50:29]name=ofd_packets/00056822 [21:50:29]NVStorageSaveData ofd_packets/00056822 [21:50:29]File name is /storage/ofd_packets/00056822 [21:50:29]Write 583 bytes [21:50:29]NVStorageSaveData done [21:50:29]OFDSenderStorePacket done [21:50:29]KKMCreateOFDPacket done [21:50:29]NVStorageSaveData kkm_last_timestamp [21:50:29]File name is /storage/kkm_last_timestamp [21:50:29]Write 4 bytes [21:50:29]NVStorageSaveData done [21:50:29]ExternCall_PrintAddStr [21:50:29]wPrintStart [21:50:29]Write to MH i2c: 01 00 00 32 00 32 [21:50:29]Write i2c OK [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: 01 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: 01 07 00 [21:50:29]MH_I2C_Read... [21:50:29]Read from MH i2c: 01 07 00 32 00 00 00 00 00 00 FF 0F 47 [21:50:29]RasterBufferAndPrint [21:50:29]line Счет N : (3)129310 [21:50:29]line ИНН: 02508201610067 [21:50:29]line Контрольно-Кассовый Чек [21:50:29]line ПРОДАЖА [21:50:29]line Товар: 4600338000183 [21:50:29]line Сок Фруто НЯНЯ яблоко освет 0,2л [21:50:29]line 1.000 * 65.00 [21:50:29]line = 65.00 [21:50:29]line НДС 12% НСП 1% [21:50:29]line > о реализуемом товаре [21:50:29]line Товар: 5449000054227 [21:50:29]line Напиток Кока-Кола 1л [21:50:29]line 1.000 * 125.00 [21:50:29]line = 125.00 [21:50:29]line НДС 12% НСП 1% [21:50:29]line > о реализуемом товаре [21:50:29]line Товар: 4600338007564 [21:50:29]line Сок Фруто НЯНЯ мультифрукт 0,2л [21:50:29]line 1.000 * 65.00 [21:50:29]line = 65.00 [21:50:29]line НДС 12% НСП 1% [21:50:29]line > о реализуемом товаре [21:50:29]line ИТОГО: 255.00 [21:50:29]line НСП 1% : 2.25 [21:50:29]line НДС 12% : 27.07 [21:50:29]line Наличными: 0.00 [21:50:29]line Безнал.: 255.00 [21:50:30]line Место: АЗС № 132 "Партнер Нефть" [21:50:30]OFD Sender: Processing packet 56822 [packets to send 38, broken 37] [21:50:30]ProducePacketName [21:50:30]name=ofd_packets/00056822 [21:50:30]OFD Sender: To server: pG, [21:50:30]CommunicateWithHost lk.salyk.kg:30040 [21:50:30]ConnectInit lk.salyk.kg [21:50:30]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:50:30]line СНО: Общий режим [21:50:30]line Чек 90 12.07.2024 21:50 [21:50:30]line Смена: 494 ФФД: 1.0 [21:50:30]line ЗНМ: 0300000132 [21:50:30]line РНМ: 0000000000091208 [21:50:30]line Версия ККМ: 001 [21:50:30]line Платежная система: АКБ Кыргызстан [21:50:30]line ФМ: 0000000000874857 [21:50:30]line ФД: 56822 [21:50:30]line ФПД: 4254773602258 [21:50:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T215028&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56822&fm=4254773602258&tin=02508201610067®Number=0000000000091208&sum=25500 [21:50:30]line 0 [21:50:30]written 0, free lines is 4095 [21:50:30]Connected sock=10 [21:50:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 29 02 00 00 CC C6 21 02 69 00 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7B 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 35 36 34 06 04 37 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BC D1 83 D0 BB D1 8C D1 82 D0 B8 D1 84 D1 80 D1 83 D0 BA D1 82 20 30 2C 32 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 63 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 24 A5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DD 00 00 35 04 06 00 03 DE A4 44 E7 D2 8A 5F 0D 65 D4 B6 9D 1B [21:50:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3D 88 47 00 52 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DD 00 00 F4 03 04 00 7A 4B 91 66 B6 04 01 00 00 A0 52 B2 2F 5E 01 CD B8 [21:50:30]CommunicateWithHost err = 0 [21:50:30]CheckOFDResponse [21:50:30]1017 (14) - 77093643461234 [21:50:30]1041 (16) - 0000000000874857 [21:50:30]1040 (4) - 56822 [21:50:30]1012 (4) - 12.07.2024 15:27 [21:50:30]1206 (1) - 0 [21:50:30]OFD Sender: Remove packet 56822 [21:50:30]ProducePacketName [21:50:30]name=ofd_packets/00056822 [21:50:30]NVStorageDeleteData [21:50:30]Write to MH i2c: 01 00 00 6A 00 6A [21:50:30]Write i2c OK [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: 01 [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: 01 07 00 [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: 01 07 00 6A 00 00 00 00 00 00 25 0C A2 [21:50:30]RasterBufferAndPrint [21:50:30]line [21:50:30]line [21:50:30]line [21:50:30]line [21:50:30]line [21:50:30]written 0, free lines is 3117 [21:50:30]MH_Cut [21:50:30]Write to MH i2c: D1 01 00 71 00 01 43 [21:50:30]Write i2c OK [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: D1 [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: D1 01 00 [21:50:30]MH_I2C_Read... [21:50:30]Read from MH i2c: D1 01 00 71 00 00 42 [21:50:30]Write to MH i2c: 01 00 00 72 00 72 [21:50:30]Write i2c OK [21:50:30]MH_I2C_Read... [21:50:30]OFD Sender: No OFD packet to send [21:50:31]*** Cut start [21:50:31]*** Partial cut [21:50:31]*** CUTSNS_PIN = 1 [21:50:31]*** CUTSNS_PIN = 0 [21:50:31]*** Brake cut motor [21:50:32]Read from MH i2c: 01 [21:50:32]MH_I2C_Read... [21:50:32]*** Stop cut motor [21:50:32]*** Cut end [21:50:32]Read from MH i2c: 01 07 00 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: 01 07 00 72 00 00 00 00 00 00 FF 0F 87 [21:50:32]process_action close_receipt done [21:50:32]requested_data is exist [21:50:32]produce_requested_data [21:50:32]requested_item fm.sn is exist - process it [21:50:32]wFMCommunicate request_size=4 [21:50:32]MH_SAM_APDU [21:50:32]CAPDU: 80 11 00 00 [21:50:32]Write to MH i2c: E2 08 00 73 00 80 11 00 00 00 00 00 00 ED [21:50:32]Write i2c OK [21:50:32]MH_I2C_Read... [21:50:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:32]Read from MH i2c: E2 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 17 00 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 17 00 73 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 47 [21:50:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:50:32]wFMCommunicate OK [21:50:32]requested_item fd.num is exist - process it [21:50:32]SAM_PROTO_GetFieldsCounters [21:50:32]wFMCommunicate request_size=4 [21:50:32]MH_SAM_APDU [21:50:32]CAPDU: 80 13 00 00 [21:50:32]Write to MH i2c: E2 08 00 74 00 80 13 00 00 00 00 00 00 F0 [21:50:32]Write i2c OK [21:50:32]MH_I2C_Read... [21:50:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:50:32]Read from MH i2c: E2 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 62 00 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 62 00 74 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [21:50: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F6 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:50:32]wFMCommunicate OK [21:50:32]SAM_PROTO_GetFieldsCounters done [21:50:32]requested_item shift.num is exist - process it [21:50:32]requested_item shift.opened is exist - process it [21:50:32]req_shift_opened [21:50:32]FM_GetShiftState [21:50:32]SAM_PROTO_GetShiftState [21:50:32]wFMCommunicate request_size=4 [21:50:32]MH_SAM_APDU [21:50:32]CAPDU: 80 13 01 00 [21:50:32]Write to MH i2c: E2 08 00 75 00 80 13 01 00 00 00 00 00 F2 [21:50:32]Write i2c OK [21:50:32]MH_I2C_Read... [21:50:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:32]Read from MH i2c: E2 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 0E 00 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 0E 00 75 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F3 [21:50:32]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [21:50:32]wFMCommunicate OK [21:50:32]SAM_PROTO_GetShiftState done [21:50:32]FM_GetShiftState done [21:50:32]req_shift_opened done [21:50:32]requested_item shift.open_date is exist - process it [21:50:32]req_shift_open_date [21:50:32]req_shift_open_date done [21:50:32]requested_item shift.sale.total is exist - process it [21:50:32]SAM_PROTO_GetShiftData [21:50:32]wFMCommunicate request_size=4 [21:50:32]MH_SAM_APDU [21:50:32]CAPDU: 80 13 02 00 [21:50:32]Write to MH i2c: E2 08 00 76 00 80 13 02 00 00 00 00 00 F4 [21:50:32]Write i2c OK [21:50:32]MH_I2C_Read... [21:50:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:50:32]Read from MH i2c: E2 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 FD 00 [21:50:32]MH_I2C_Read... [21:50:32]Read from MH i2c: E2 FD 00 76 00 00 B6 04 AA 04 B2 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 50 4D 25 70 04 03 00 DC 70 1C 72 04 03 00 74 DC 08 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 37 F6 03 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 7B 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 A6 [21:50:32]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 50 4D 25 70 04 03 00 DC 70 1C 72 04 03 00 74 DC 08 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 37 F6 03 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 7B 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [21:50:32]wFMCommunicate OK [21:50:32]wFMCommunicate request_size=4 [21:50:32]MH_SAM_APDU [21:50:32]CAPDU: 80 17 00 00 [21:50:32]Write to MH i2c: E2 08 00 77 00 80 17 00 00 00 00 00 00 F7 [21:50:32]Write i2c OK [21:50:32]MH_I2C_Read... [21:50:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:50:33]Read from MH i2c: E2 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 77 00 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 36 [21:50:33]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:50:33]wFMCommunicate OK [21:50:33]wFMCommunicate request_size=4 [21:50:33]MH_SAM_APDU [21:50:33]CAPDU: 80 17 00 00 [21:50:33]Write to MH i2c: E2 08 00 78 00 80 17 00 00 00 00 00 00 F8 [21:50:33]Write i2c OK [21:50:33]MH_I2C_Read... [21:50:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:50:33]Read from MH i2c: E2 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 78 00 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [21:50:33]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:50:33]wFMCommunicate OK [21:50:33]wFMCommunicate request_size=4 [21:50:33]MH_SAM_APDU [21:50:33]CAPDU: 80 17 00 00 [21:50:33]Write to MH i2c: E2 08 00 79 00 80 17 00 00 00 00 00 00 F9 [21:50:33]Write i2c OK [21:50:33]MH_I2C_Read... [21:50:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:50:33]Read from MH i2c: E2 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 FD 00 79 00 00 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 90 00 68 [21:50:33]RAPDU: 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 90 00 [21:50:33]wFMCommunicate OK [21:50:33]wFMCommunicate request_size=4 [21:50:33]MH_SAM_APDU [21:50:33]CAPDU: 80 17 00 00 [21:50:33]Write to MH i2c: E2 08 00 7A 00 80 17 00 00 00 00 00 00 FA [21:50:33]Write i2c OK [21:50:33]MH_I2C_Read... [21:50:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [21:50:34]Read from MH i2c: E2 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 D3 00 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 D3 00 7A 00 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E7 [21:50:34]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:50:34]wFMCommunicate OK [21:50:34]SAM_PROTO_GetShiftData done [21:50:34]requested_item shift.sale.total_cash is exist - process it [21:50:34]requested_item shift.sale_refund.total is exist - process it [21:50:34]requested_item shift.sale_refund.total_cash is exist - process it [21:50:34]produce_requested_data done [21:50:34]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56822,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24446.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [21:50:34]process_action_free close_receipt [21:50:34]json_value_free [21:50:34]json_value_free done [21:50:34]process_json_proto returns [21:50:34]Send response to host [21:50:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56822,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24446.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [21:50:34]free response buf [21:50:34]execute_script done [21:50:34]execute_script returns [21:50:34]free content buf [21:50:34]Sock 8.Close socket [21:50:34]Sock 8.Thread stoped [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:55]accept exits with 9 [22:10:55]New connection [22:10:55]New thread 3067420004 created [22:10:55]Thread 3067563364 joined [22:10:55]Waiting for new connection... [22:10:55] Sock 9.Parse request [22:10:55]Sock 9.Check first char [22:10:55]Sock 9.First char is OK [22:10:55]request: POST /json_proto HTTP/1.0 [22:10:55]Method: POST [22:10:55]URL: /json_proto [22:10:55]Method is POST - this is cgi request [22:10:55]url: /json_proto [22:10:55]query_string will be loaded in cgi processing [22:10:55]execute_cgi json_proto POST (null) [22:10:55]execute_cgi path=json_proto method=POST [22:10:55]POST find Content-Length [22:10:55]Host: 172.17.39.4:8080 [22:10:55]Content-Length: 931 [22:10:55]Content-Type: application/json [22:10:55] [22:10:55]POST finish read [22:10:55]Found Content-Length = 931 [22:10:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129311", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:10:55]execute_script... [22:10:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129311", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:10:55]POST & json_proto [22:10:55]process_json_proto [22:10:55]json parsed OK: [22:10:55]protocol is kg_v1.0 [22:10:55]action value=close_receipt [22:10:55]process_action close_receipt [22:10:55]cmd_close_receipt [22:10:55]MH_GetDate [22:10:55]Write to MH i2c: F0 00 00 7B 00 6A [22:10:55]Write i2c OK [22:10:55]MH_I2C_Read... [22:10:55]Read from MH i2c: F0 [22:10:55]MH_I2C_Read... [22:10:55]Read from MH i2c: F0 09 00 [22:10:55]MH_I2C_Read... [22:10:55]Read from MH i2c: F0 09 00 7B 00 00 F0 A9 91 66 2D 25 5D 64 16 [22:10:55]GetLastDocTimeStamp 1720821028 [22:10:55]current date 1720822256 [22:10:55]FM_GetShiftState [22:10:55]SAM_PROTO_GetShiftState [22:10:55]wFMCommunicate request_size=4 [22:10:55]MH_SAM_APDU [22:10:55]CAPDU: 80 13 01 00 [22:10:55]Write to MH i2c: E2 08 00 7C 00 80 13 01 00 00 00 00 00 F9 [22:10:55]Write i2c OK [22:10:55]MH_I2C_Read... [22:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:55]Read from MH i2c: E2 [22:10:55]MH_I2C_Read... [22:10:55]Read from MH i2c: E2 0E 00 [22:10:55]MH_I2C_Read... [22:10:55]Read from MH i2c: E2 0E 00 7C 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 FA [22:10:55]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:10:55]wFMCommunicate OK [22:10:55]SAM_PROTO_GetShiftState done [22:10:55]FM_GetShiftState done [22:10:55]opened in 1720744326 [22:10:55]opened+sec_in_day 1720830726 [22:10:55]quantity*price = 13500 [22:10:55]sum+1 = 13501 [22:10:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 91 12.07.2024 22:10 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56823 ФПД: 196198036260560 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T221056&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56823&fm=196198036260560&tin=02508201610067®Number=0000000000091208&sum=13500 0 [22:10:57]StoreToDocumentArchive [22:10:57]shift 494 fd 56823 [22:10:57]save to /storage/0494/doc_00056823 [22:10:57]save last doc name /storage/0494/doc_00056823 to /storage/kkm_last_doc_name [22:10:57]save OK [22:10:57]Clear old archive folders... [22:10:57]ProcessDocumentItem done err = 0, tmpTLVsize=278 [22:10:57]tlvbuf is 012F8380 [22:10:57]SAM_PROTO_ClearQueue [22:10:57]wFMCommunicate request_size=4 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 09 00 00 [22:10:57]Write to MH i2c: E2 08 00 89 00 80 09 00 00 00 00 00 00 FB [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 89 00 00 90 00 FD [22:10:57]RAPDU: 90 00 [22:10:57]wFMCommunicate OK [22:10:57]SAM_PROTO_ClearQueue done [22:10:57]KKMCreateOFDPacket [22:10:57]OFDProtocolAddRootSTLVToBuf [22:10:57]FM_MakeSignedData [22:10:57]FM_MakeSignedData [22:10:57]SAM_PROTO_SignData [22:10:57]wFMCommunicate request_size=4 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 0D 01 02 [22:10:57]Write to MH i2c: E2 08 00 8A 00 80 0D 01 02 00 00 00 00 03 [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 8A 00 00 90 00 FE [22:10:57]RAPDU: 90 00 [22:10:57]wFMCommunicate OK [22:10:57]wFMCommunicate request_size=255 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F0 A9 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 [22:10:57]Write to MH i2c: E2 02 01 8B 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F0 A9 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 00 00 A2 [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 8B 00 00 90 00 FF [22:10:57]RAPDU: 90 00 [22:10:57]wFMCommunicate OK [22:10:57]wFMCommunicate request_size=37 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DD 00 00 35 04 06 00 B2 70 EA 41 C6 D0 [22:10:57]Write to MH i2c: E2 28 00 8C 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DD 00 00 35 04 06 00 B2 70 EA 41 C6 D0 00 00 1B [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 03 00 8C 00 00 90 00 00 [22:10:57]RAPDU: 90 00 [22:10:57]wFMCommunicate OK [22:10:57]wFMCommunicate request_size=4 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 0D 03 02 [22:10:57]Write to MH i2c: E2 08 00 8D 00 80 0D 03 02 00 00 00 00 08 [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 0B 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 0B 00 8D 00 00 64 29 DD BD FD 7B 70 8A 90 00 A2 [22:10:57]RAPDU: 64 29 DD BD FD 7B 70 8A 90 00 [22:10:57]wFMCommunicate OK [22:10:57]SAM_PROTO_SignData done [22:10:57]FM_MakeSignedData done [22:10:57]CreateOFDProtocolMessage [22:10:57]wFMCommunicate request_size=4 [22:10:57]MH_SAM_APDU [22:10:57]CAPDU: 80 11 00 00 [22:10:57]Write to MH i2c: E2 08 00 8E 00 80 11 00 00 00 00 00 00 08 [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:57]Read from MH i2c: E2 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 17 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: E2 17 00 8E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 62 [22:10:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:10:57]wFMCommunicate OK [22:10:57]CreateOFDProtocolMessage done [22:10:57]OFDSenderStorePacket 56823 [22:10:57]StoreOFDPacket docnum=56823 [22:10:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 C7 9B 22 01 4C AA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F0 A9 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DD 00 00 35 04 06 00 B2 70 EA 41 C6 D0 64 29 DD BD FD 7B 70 8A [22:10:57]CheckFolder [22:10:57]dirname=/storage/ofd_packets [22:10:57]CheckFolder done [22:10:57]ProducePacketName [22:10:57]name=ofd_packets/00056823 [22:10:57]NVStorageSaveData ofd_packets/00056823 [22:10:57]File name is /storage/ofd_packets/00056823 [22:10:57]Write 328 bytes [22:10:57]NVStorageSaveData done [22:10:57]OFDSenderStorePacket done [22:10:57]KKMCreateOFDPacket done [22:10:57]NVStorageSaveData kkm_last_timestamp [22:10:57]File name is /storage/kkm_last_timestamp [22:10:57]Write 4 bytes [22:10:57]NVStorageSaveData done [22:10:57]ExternCall_PrintAddStr [22:10:57]wPrintStart [22:10:57]Write to MH i2c: 01 00 00 8F 00 8F [22:10:57]Write i2c OK [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: 01 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: 01 07 00 [22:10:57]MH_I2C_Read... [22:10:57]Read from MH i2c: 01 07 00 8F 00 00 00 00 00 00 FF 0F A4 [22:10:57]RasterBufferAndPrint [22:10:57]line Счет N : (3)129311 [22:10:57]line ИНН: 02508201610067 [22:10:57]line Контрольно-Кассовый Чек [22:10:57]line ПРОДАЖА [22:10:57]line Товар: 48741224 [22:10:57]line Сигареты Winston Super Slims Blue [22:10:57]line 1.000 * 135.00 [22:10:57]line = 135.00 [22:10:57]line НДС 12% НСП 1% [22:10:57]line > о реализуемом товаре [22:10:57]line ИТОГО: 135.00 [22:10:57]line НСП 1% : 1.19 [22:10:57]line НДС 12% : 14.34 [22:10:57]line Наличными: 0.00 [22:10:57]line Безнал.: 135.00 [22:10:57]line Место: АЗС № 132 "Партнер Нефть" [22:10:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:10:57]line СНО: Общий режим [22:10:57]line Чек 91 12.07.2024 22:10 [22:10:57]line Смена: 494 ФФД: 1.0 [22:10:57]line ЗНМ: 0300000132 [22:10:57]line РНМ: 0000000000091208 [22:10:57]line Версия ККМ: 001 [22:10:57]line Платежная система: АКБ Кыргызстан [22:10:57]line ФМ: 0000000000874857 [22:10:57]line ФД: 56823 [22:10:57]line ФПД: 196198036260560 [22:10:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T221056&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56823&fm=196198036260560&tin=02508201610067®Number=0000000000091208&sum=13500 [22:10:57]OFD Sender: Processing packet 56823 [packets to send 38, broken 37] [22:10:57]ProducePacketName [22:10:57]name=ofd_packets/00056823 [22:10:57]OFD Sender: To server: pG, [22:10:57]CommunicateWithHost lk.salyk.kg:30040 [22:10:57]ConnectInit lk.salyk.kg [22:10:57]line 0 [22:10:57]written 0, free lines is 4095 [22:10:58]Connected sock=8 [22:10:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 C7 9B 22 01 4C AA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 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 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F0 A9 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DD 00 00 35 04 06 00 B2 70 EA 41 C6 D0 64 29 DD BD FD 7B 70 8A [22:10:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 4D 7A 47 00 63 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 38 35 37 10 04 04 00 F7 DD 00 00 F4 03 04 00 46 50 91 66 B6 04 01 00 00 20 3B 15 70 D1 DC 89 CD [22:10:58]CommunicateWithHost err = 0 [22:10:58]CheckOFDResponse [22:10:58]1017 (14) - 77093643461234 [22:10:58]1041 (16) - 0000000000874857 [22:10:58]1040 (4) - 56823 [22:10:58]1012 (4) - 12.07.2024 15:48 [22:10:58]1206 (1) - 0 [22:10:58]OFD Sender: Remove packet 56823 [22:10:58]ProducePacketName [22:10:58]name=ofd_packets/00056823 [22:10:58]NVStorageDeleteData [22:10:58]Write to MH i2c: 01 00 00 BA 00 BA [22:10:58]Write i2c OK [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: 01 [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: 01 07 00 [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: 01 07 00 BA 00 00 00 00 00 00 C8 0C 95 [22:10:58]RasterBufferAndPrint [22:10:58]line [22:10:58]line [22:10:58]line [22:10:58]line [22:10:58]line [22:10:58]written 0, free lines is 3281 [22:10:58]MH_Cut [22:10:58]Write to MH i2c: D1 01 00 C1 00 01 93 [22:10:58]Write i2c OK [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: D1 [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: D1 01 00 [22:10:58]MH_I2C_Read... [22:10:58]Read from MH i2c: D1 01 00 C1 00 00 92 [22:10:58]Write to MH i2c: 01 00 00 C2 00 C2 [22:10:58]Write i2c OK [22:10:58]MH_I2C_Read... [22:10:58]OFD Sender: No OFD packet to send [22:10:59]*** Cut start [22:10:59]*** Partial cut [22:10:59]*** CUTSNS_PIN = 1 [22:10:59]*** CUTSNS_PIN = 0 [22:10:59]*** Brake cut motor [22:10:59]Read from MH i2c: 01 [22:10:59]MH_I2C_Read... [22:10:59]*** Stop cut motor [22:10:59]*** Cut end [22:10:59]Read from MH i2c: 01 07 00 [22:10:59]MH_I2C_Read... [22:10:59]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [22:10:59]process_action close_receipt done [22:10:59]requested_data is exist [22:10:59]produce_requested_data [22:10:59]requested_item fm.sn is exist - process it [22:10:59]wFMCommunicate request_size=4 [22:10:59]MH_SAM_APDU [22:10:59]CAPDU: 80 11 00 00 [22:10:59]Write to MH i2c: E2 08 00 C3 00 80 11 00 00 00 00 00 00 3D [22:10:59]Write i2c OK [22:10:59]MH_I2C_Read... [22:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:59]Read from MH i2c: E2 [22:10:59]MH_I2C_Read... [22:10:59]Read from MH i2c: E2 17 00 [22:10:59]MH_I2C_Read... [22:10:59]Read from MH i2c: E2 17 00 C3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 97 [22:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:10:59]wFMCommunicate OK [22:10:59]requested_item fd.num is exist - process it [22:10:59]SAM_PROTO_GetFieldsCounters [22:10:59]wFMCommunicate request_size=4 [22:10:59]MH_SAM_APDU [22:10:59]CAPDU: 80 13 00 00 [22:10:59]Write to MH i2c: E2 08 00 C4 00 80 13 00 00 00 00 00 00 40 [22:10:59]Write i2c OK [22:10:59]MH_I2C_Read... [22:10:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:10:59]Read from MH i2c: E2 [22:10:59]MH_I2C_Read... [22:10:59]Read from MH i2c: E2 62 00 [22:10:59]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 62 00 C4 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F7 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 37 [22:11:00]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F7 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:11:00]wFMCommunicate OK [22:11:00]SAM_PROTO_GetFieldsCounters done [22:11:00]requested_item shift.num is exist - process it [22:11:00]requested_item shift.opened is exist - process it [22:11:00]req_shift_opened [22:11:00]FM_GetShiftState [22:11:00]SAM_PROTO_GetShiftState [22:11:00]wFMCommunicate request_size=4 [22:11:00]MH_SAM_APDU [22:11:00]CAPDU: 80 13 01 00 [22:11:00]Write to MH i2c: E2 08 00 C5 00 80 13 01 00 00 00 00 00 42 [22:11:00]Write i2c OK [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 [22:11:00]MH_I2C_Read... [22:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:00]Read from MH i2c: E2 0E 00 [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 0E 00 C5 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 43 [22:11:00]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:11:00]wFMCommunicate OK [22:11:00]SAM_PROTO_GetShiftState done [22:11:00]FM_GetShiftState done [22:11:00]req_shift_opened done [22:11:00]requested_item shift.open_date is exist - process it [22:11:00]req_shift_open_date [22:11:00]req_shift_open_date done [22:11:00]requested_item shift.sale.total is exist - process it [22:11:00]SAM_PROTO_GetShiftData [22:11:00]wFMCommunicate request_size=4 [22:11:00]MH_SAM_APDU [22:11:00]CAPDU: 80 13 02 00 [22:11:00]Write to MH i2c: E2 08 00 C6 00 80 13 02 00 00 00 00 00 44 [22:11:00]Write i2c OK [22:11:00]MH_I2C_Read... [22:11:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:11:00]Read from MH i2c: E2 [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 FD 00 [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 FD 00 C6 00 00 B6 04 AA 04 B2 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 0C 82 25 70 04 03 00 DC 70 1C 72 04 03 00 30 11 09 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 D1 FB 03 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 F2 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F1 [22:11:00]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 0C 82 25 70 04 03 00 DC 70 1C 72 04 03 00 30 11 09 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 D1 FB 03 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 F2 54 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:11:00]wFMCommunicate OK [22:11:00]wFMCommunicate request_size=4 [22:11:00]MH_SAM_APDU [22:11:00]CAPDU: 80 17 00 00 [22:11:00]Write to MH i2c: E2 08 00 C7 00 80 17 00 00 00 00 00 00 47 [22:11:00]Write i2c OK [22:11:00]MH_I2C_Read... [22:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:00]Read from MH i2c: E2 [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 FD 00 [22:11:00]MH_I2C_Read... [22:11:00]Read from MH i2c: E2 FD 00 C7 00 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [22:11:00]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:11:00]wFMCommunicate OK [22:11:00]wFMCommunicate request_size=4 [22:11:00]MH_SAM_APDU [22:11:00]CAPDU: 80 17 00 00 [22:11:00]Write to MH i2c: E2 08 00 C8 00 80 17 00 00 00 00 00 00 48 [22:11:00]Write i2c OK [22:11:00]MH_I2C_Read... [22:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:01]Read from MH i2c: E2 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 FD 00 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 FD 00 C8 00 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 08 [22:11:01]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:11:01]wFMCommunicate OK [22:11:01]wFMCommunicate request_size=4 [22:11:01]MH_SAM_APDU [22:11:01]CAPDU: 80 17 00 00 [22:11:01]Write to MH i2c: E2 08 00 C9 00 80 17 00 00 00 00 00 00 49 [22:11:01]Write i2c OK [22:11:01]MH_I2C_Read... [22:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:01]Read from MH i2c: E2 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 FD 00 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 FD 00 C9 00 00 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 90 00 B8 [22:11:01]RAPDU: 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 90 00 [22:11:01]wFMCommunicate OK [22:11:01]wFMCommunicate request_size=4 [22:11:01]MH_SAM_APDU [22:11:01]CAPDU: 80 17 00 00 [22:11:01]Write to MH i2c: E2 08 00 CA 00 80 17 00 00 00 00 00 00 4A [22:11:01]Write i2c OK [22:11:01]MH_I2C_Read... [22:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:11:01]Read from MH i2c: E2 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 D3 00 [22:11:01]MH_I2C_Read... [22:11:01]Read from MH i2c: E2 D3 00 CA 00 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 37 [22:11:01]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:11:01]wFMCommunicate OK [22:11:01]SAM_PROTO_GetShiftData done [22:11:01]requested_item shift.sale.total_cash is exist - process it [22:11:01]requested_item shift.sale_refund.total is exist - process it [22:11:01]requested_item shift.sale_refund.total_cash is exist - process it [22:11:01]produce_requested_data done [22:11:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56823,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24581.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:11:01]process_action_free close_receipt [22:11:01]json_value_free [22:11:01]json_value_free done [22:11:01]process_json_proto returns [22:11:01]Send response to host [22:11:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56823,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24581.24,"shift.sale.total_cash":18639.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:11:01]free response buf [22:11:01]execute_script done [22:11:01]execute_script returns [22:11:01]free content buf [22:11:01]Sock 9.Close socket [22:11:01]Sock 9.Thread stoped [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:41]accept exits with 10 [22:11:41]New connection [22:11:41]New thread 3067563364 created [22:11:41]Thread 3067420004 joined [22:11:41]Waiting for new connection... [22:11:41] Sock 10.Parse request [22:11:41]Sock 10.Check first char [22:11:41]Sock 10.First char is OK [22:11:41]request: POST /json_proto HTTP/1.0 [22:11:41]Method: POST [22:11:41]URL: /json_proto [22:11:41]Method is POST - this is cgi request [22:11:41]url: /json_proto [22:11:41]query_string will be loaded in cgi processing [22:11:41]execute_cgi json_proto POST (null) [22:11:41]execute_cgi path=json_proto method=POST [22:11:41]POST find Content-Length [22:11:41]Host: 172.17.39.4:8080 [22:11:41]Content-Length: 1203 [22:11:41]Content-Type: application/json [22:11:41] [22:11:41]POST finish read [22:11:41]Found Content-Length = 1203 [22:11:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129312", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 299.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:11:41]execute_script... [22:11: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)129312", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 299.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:11:41]POST & json_proto [22:11:41]process_json_proto [22:11:41]json parsed OK: [22:11:41]protocol is kg_v1.0 [22:11:41]action value=close_receipt [22:11:41]process_action close_receipt [22:11:41]cmd_close_receipt [22:11:41]MH_GetDate [22:11:41]Write to MH i2c: F0 00 00 CB 00 BA [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: F0 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: F0 09 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: F0 09 00 CB 00 00 1D AA 91 66 2D 25 5D 64 94 [22:11:41]GetLastDocTimeStamp 1720822256 [22:11:41]current date 1720822301 [22:11:41]FM_GetShiftState [22:11:41]SAM_PROTO_GetShiftState [22:11:41]wFMCommunicate request_size=4 [22:11:41]MH_SAM_APDU [22:11:41]CAPDU: 80 13 01 00 [22:11:41]Write to MH i2c: E2 08 00 CC 00 80 13 01 00 00 00 00 00 49 [22:11:41]Write i2c OK [22:11:41]MH_I2C_Read... [22:11:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:41]Read from MH i2c: E2 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 0E 00 [22:11:41]MH_I2C_Read... [22:11:41]Read from MH i2c: E2 0E 00 CC 00 00 09 00 01 86 79 90 66 00 00 00 00 90 00 4A [22:11:41]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:11:41]wFMCommunicate OK [22:11:41]SAM_PROTO_GetShiftState done [22:11:41]FM_GetShiftState done [22:11:41]opened in 1720744326 [22:11:41]opened+sec_in_day 1720830726 [22:11:41]quantity*price = 5000 [22:11:41]sum+1 = 5001 [22:11:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091669 Сигареты ESSE Exchange S 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 299.00 НСП 1% : 2.64 НДС 12% : 31.75 Наличными: 299.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 92 12.07.2024 22:11 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56824 ФПД: 154206496463469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T221141&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56824&fm=154206496463469&tin=02508201610067®Number=0000000000091208&sum=29900 0 [22:11:42]StoreToDocumentArchive [22:11:42]shift 494 fd 56824 [22:11:42]save to /storage/0494/doc_00056824 [22:11:42]save last doc name /storage/0494/doc_00056824 to /storage/kkm_last_doc_name [22:11:42]save OK [22:11:42]Clear old archive folders... [22:11:42]ProcessDocumentItem done err = 0, tmpTLVsize=469 [22:11:42]tlvbuf is 012F7F50 [22:11:42]SAM_PROTO_ClearQueue [22:11:42]wFMCommunicate request_size=4 [22:11:42]MH_SAM_APDU [22:11:42]CAPDU: 80 09 00 00 [22:11:42]Write to MH i2c: E2 08 00 D9 00 80 09 00 00 00 00 00 00 4B [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:42]Read from MH i2c: E2 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: E2 03 00 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: E2 03 00 D9 00 00 90 00 4D [22:11:42]RAPDU: 90 00 [22:11:42]wFMCommunicate OK [22:11:42]SAM_PROTO_ClearQueue done [22:11:42]KKMCreateOFDPacket [22:11:42]OFDProtocolAddRootSTLVToBuf [22:11:42]FM_MakeSignedData [22:11:42]FM_MakeSignedData [22:11:42]SAM_PROTO_SignData [22:11:42]wFMCommunicate request_size=4 [22:11:42]MH_SAM_APDU [22:11:42]CAPDU: 80 0D 01 02 [22:11:42]Write to MH i2c: E2 08 00 DA 00 80 0D 01 02 00 00 00 00 53 [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:42]Read from MH i2c: E2 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: E2 03 00 [22:11:42]MH_I2C_Read... [22:11:42]Read from MH i2c: E2 03 00 DA 00 00 90 00 4E [22:11:42]RAPDU: 90 00 [22:11:42]wFMCommunicate OK [22:11:42]wFMCommunicate request_size=255 [22:11:42]MH_SAM_APDU [22:11:42]CAPDU: 80 0D 02 02 FA 03 00 D5 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 [22:11:42]Write to MH i2c: E2 02 01 DB 00 80 0D 02 02 FA 00 03 00 D5 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 00 00 F5 [22:11:42]Write i2c OK [22:11:42]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 03 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 03 00 DB 00 00 90 00 4F [22:11:43]RAPDU: 90 00 [22:11:43]wFMCommunicate OK [22:11:43]wFMCommunicate request_size=228 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 0D 02 02 DF 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 1D AA 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DD 00 00 35 04 06 00 8C 3F FF 71 9A 6D [22:11:43]Write to MH i2c: E2 E7 00 DC 00 80 0D 02 02 DF 00 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 1D AA 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DD 00 00 35 04 06 00 8C 3F FF 71 9A 6D 00 00 6E [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 03 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 03 00 DC 00 00 90 00 50 [22:11:43]RAPDU: 90 00 [22:11:43]wFMCommunicate OK [22:11:43]wFMCommunicate request_size=4 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 0D 03 02 [22:11:43]Write to MH i2c: E2 08 00 DD 00 80 0D 03 02 00 00 00 00 58 [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 0B 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 0B 00 DD 00 00 38 EE DD D9 F8 35 94 2A 90 00 20 [22:11:43]RAPDU: 38 EE DD D9 F8 35 94 2A 90 00 [22:11:43]wFMCommunicate OK [22:11:43]SAM_PROTO_SignData done [22:11:43]FM_MakeSignedData done [22:11:43]CreateOFDProtocolMessage [22:11:43]wFMCommunicate request_size=4 [22:11:43]MH_SAM_APDU [22:11:43]CAPDU: 80 11 00 00 [22:11:43]Write to MH i2c: E2 08 00 DE 00 80 11 00 00 00 00 00 00 58 [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:43]Read from MH i2c: E2 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 17 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: E2 17 00 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B2 [22:11:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:11:43]wFMCommunicate OK [22:11:43]CreateOFDProtocolMessage done [22:11:43]OFDSenderStorePacket 56824 [22:11:43]StoreOFDPacket docnum=56824 [22:11:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 E9 01 00 00 B9 4F E1 01 F6 DA 5A 03 01 00 03 00 D5 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 1D AA 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DD 00 00 35 04 06 00 8C 3F FF 71 9A 6D 38 EE DD D9 F8 35 94 2A [22:11:43]CheckFolder [22:11:43]dirname=/storage/ofd_packets [22:11:43]CheckFolder done [22:11:43]ProducePacketName [22:11:43]name=ofd_packets/00056824 [22:11:43]NVStorageSaveData ofd_packets/00056824 [22:11:43]File name is /storage/ofd_packets/00056824 [22:11:43]Write 519 bytes [22:11:43]NVStorageSaveData done [22:11:43]OFDSenderStorePacket done [22:11:43]KKMCreateOFDPacket done [22:11:43]NVStorageSaveData kkm_last_timestamp [22:11:43]File name is /storage/kkm_last_timestamp [22:11:43]Write 4 bytes [22:11:43]NVStorageSaveData done [22:11:43]ExternCall_PrintAddStr [22:11:43]wPrintStart [22:11:43]Write to MH i2c: 01 00 00 DF 00 DF [22:11:43]Write i2c OK [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: 01 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: 01 07 00 [22:11:43]MH_I2C_Read... [22:11:43]Read from MH i2c: 01 07 00 DF 00 00 00 00 00 00 FF 0F F4 [22:11:43]RasterBufferAndPrint [22:11:43]line Счет N : (3)129312 [22:11:43]line ИНН: 02508201610067 [22:11:43]line Контрольно-Кассовый Чек [22:11:43]line ПРОДАЖА [22:11:43]line Товар: 4700000160358 [22:11:43]line Вода Легенда 1л [22:11:43]line 1.000 * 50.00 [22:11:43]line = 50.00 [22:11:43]line НДС 12% НСП 1% [22:11:43]line > о реализуемом товаре [22:11:43]line Товар: 4870001570071 [22:11:43]line Напиток Pepsi 1л [22:11:43]line 1.000 * 111.00 [22:11:43]line = 111.00 [22:11:43]line НДС 12% НСП 1% [22:11:43]line > о реализуемом товаре [22:11:43]line Товар: 4640030091669 [22:11:43]line Сигареты ESSE Exchange S [22:11:43]line 1.000 * 138.00 [22:11:43]line = 138.00 [22:11:43]line НДС 12% НСП 1% [22:11:43]line > о реализуемом товаре [22:11:43]line ИТОГО: 299.00 [22:11:43]line НСП 1% : 2.64 [22:11:43]line НДС 12% : 31.75 [22:11:43]line Наличными: 299.00 [22:11:43]line Безнал.: 0.00 [22:11:43]line Место: АЗС № 132 "Партнер Нефть" [22:11:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:11:43]line СНО: Общий режим [22:11:43]line Чек 92 12.07.2024 22:11 [22:11:43]line Смена: 494 ФФД: 1.0 [22:11:43]line ЗНМ: 0300000132 [22:11:43]line РНМ: 0000000000091208 [22:11:43]line Версия ККМ: 001 [22:11:43]line ФМ: 0000000000874857 [22:11:43]line ФД: 56824 [22:11:43]line ФПД: 154206496463469 [22:11:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T221141&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56824&fm=154206496463469&tin=02508201610067®Number=0000000000091208&sum=29900 [22:11:43]line 0 [22:11:43]written 0, free lines is 4095 [22:11:43]OFD Sender: Processing packet 56824 [packets to send 38, broken 37] [22:11:43]ProducePacketName [22:11:43]name=ofd_packets/00056824 [22:11:43]OFD Sender: To server: pG, [22:11:43]CommunicateWithHost lk.salyk.kg:30040 [22:11:43]ConnectInit lk.salyk.kg [22:11:43]Connected sock=11 [22:11: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 38 35 37 E9 01 00 00 B9 4F E1 01 F6 DA 5A 03 01 00 03 00 D5 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 08 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 1D AA 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DD 00 00 35 04 06 00 8C 3F FF 71 9A 6D 38 EE DD D9 F8 35 94 2A [22:11:44]Write to MH i2c: 01 00 00 13 01 14 [22:11:44]Write i2c OK [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: 01 [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: 01 07 00 [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: 01 07 00 13 01 00 00 00 00 00 57 0C 7E [22:11:44]RasterBufferAndPrint [22:11:44]line [22:11:44]line [22:11:44]line [22:11:44]line [22:11:44]line [22:11:44]written 0, free lines is 3163 [22:11:44]MH_Cut [22:11:44]Write to MH i2c: D1 01 00 1A 01 01 ED [22:11:44]Write i2c OK [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: D1 [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: D1 01 00 [22:11:44]MH_I2C_Read... [22:11:44]Read from MH i2c: D1 01 00 1A 01 00 EC [22:11:44]Write to MH i2c: 01 00 00 1B 01 1C [22:11:44]Write i2c OK [22:11:44]MH_I2C_Read... [22:11:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D6 EE 47 00 29 7D 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 38 35 37 10 04 04 00 F8 DD 00 00 F4 03 04 00 74 50 91 66 B6 04 01 00 00 1E D0 2F A1 BA 5D AE 6F [22:11:44]CommunicateWithHost err = 0 [22:11:44]CheckOFDResponse [22:11:44]1017 (14) - 77093643461234 [22:11:44]1041 (16) - 0000000000874857 [22:11:44]1040 (4) - 56824 [22:11:44]1012 (4) - 12.07.2024 15:49 [22:11:44]1206 (1) - 0 [22:11:44]OFD Sender: Remove packet 56824 [22:11:44]ProducePacketName [22:11:44]name=ofd_packets/00056824 [22:11:44]NVStorageDeleteData [22:11:44]OFD Sender: No OFD packet to send [22:11:44]*** Cut start [22:11:44]*** Partial cut [22:11:44]*** CUTSNS_PIN = 1 [22:11:44]*** CUTSNS_PIN = 0 [22:11:45]*** Brake cut motor [22:11:45]Read from MH i2c: 01 [22:11:45]MH_I2C_Read... [22:11:45]*** Stop cut motor [22:11:45]*** Cut end [22:11:45]Read from MH i2c: 01 07 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: 01 07 00 1B 01 00 00 00 00 00 FF 0F 31 [22:11:45]process_action close_receipt done [22:11:45]requested_data is exist [22:11:45]produce_requested_data [22:11:45]requested_item fm.sn is exist - process it [22:11:45]wFMCommunicate request_size=4 [22:11:45]MH_SAM_APDU [22:11:45]CAPDU: 80 11 00 00 [22:11:45]Write to MH i2c: E2 08 00 1C 01 80 11 00 00 00 00 00 00 97 [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 [22:11:45]MH_I2C_Read... [22:11:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:45]Read from MH i2c: E2 17 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 17 00 1C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [22:11:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:11:45]wFMCommunicate OK [22:11:45]requested_item fd.num is exist - process it [22:11:45]SAM_PROTO_GetFieldsCounters [22:11:45]wFMCommunicate request_size=4 [22:11:45]MH_SAM_APDU [22:11:45]CAPDU: 80 13 00 00 [22:11:45]Write to MH i2c: E2 08 00 1D 01 80 13 00 00 00 00 00 00 9A [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:45]Read from MH i2c: E2 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 62 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 62 00 1D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F8 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [22:11: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F8 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:11:45]wFMCommunicate OK [22:11:45]SAM_PROTO_GetFieldsCounters done [22:11:45]requested_item shift.num is exist - process it [22:11:45]requested_item shift.opened is exist - process it [22:11:45]req_shift_opened [22:11:45]FM_GetShiftState [22:11:45]SAM_PROTO_GetShiftState [22:11:45]wFMCommunicate request_size=4 [22:11:45]MH_SAM_APDU [22:11:45]CAPDU: 80 13 01 00 [22:11:45]Write to MH i2c: E2 08 00 1E 01 80 13 01 00 00 00 00 00 9C [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:45]Read from MH i2c: E2 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 0E 00 [22:11:45]MH_I2C_Read... [22:11:45]Read from MH i2c: E2 0E 00 1E 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 9D [22:11:45]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:11:45]wFMCommunicate OK [22:11:45]SAM_PROTO_GetShiftState done [22:11:45]FM_GetShiftState done [22:11:45]req_shift_opened done [22:11:45]requested_item shift.open_date is exist - process it [22:11:45]req_shift_open_date [22:11:45]req_shift_open_date done [22:11:45]requested_item shift.sale.total is exist - process it [22:11:45]SAM_PROTO_GetShiftData [22:11:45]wFMCommunicate request_size=4 [22:11:45]MH_SAM_APDU [22:11:45]CAPDU: 80 13 02 00 [22:11:45]Write to MH i2c: E2 08 00 1F 01 80 13 02 00 00 00 00 00 9E [22:11:45]Write i2c OK [22:11:45]MH_I2C_Read... [22:11:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:11:46]Read from MH i2c: E2 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 1F 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 D8 F6 25 70 04 03 00 A8 E5 1C 72 04 03 00 30 11 09 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 38 08 04 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 FA 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 4C [22:11:46]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 D8 F6 25 70 04 03 00 A8 E5 1C 72 04 03 00 30 11 09 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 38 08 04 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 FA 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:11:46]wFMCommunicate OK [22:11:46]wFMCommunicate request_size=4 [22:11:46]MH_SAM_APDU [22:11:46]CAPDU: 80 17 00 00 [22:11:46]Write to MH i2c: E2 08 00 20 01 80 17 00 00 00 00 00 00 A1 [22:11:46]Write i2c OK [22:11:46]MH_I2C_Read... [22:11:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:46]Read from MH i2c: E2 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 20 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [22:11:46]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:11:46]wFMCommunicate OK [22:11:46]wFMCommunicate request_size=4 [22:11:46]MH_SAM_APDU [22:11:46]CAPDU: 80 17 00 00 [22:11:46]Write to MH i2c: E2 08 00 21 01 80 17 00 00 00 00 00 00 A2 [22:11:46]Write i2c OK [22:11:46]MH_I2C_Read... [22:11:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:46]Read from MH i2c: E2 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 [22:11:46]MH_I2C_Read... [22:11:46]Read from MH i2c: E2 FD 00 21 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [22:11:46]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:11:46]wFMCommunicate OK [22:11:46]wFMCommunicate request_size=4 [22:11:46]MH_SAM_APDU [22:11:46]CAPDU: 80 17 00 00 [22:11:46]Write to MH i2c: E2 08 00 22 01 80 17 00 00 00 00 00 00 A3 [22:11:46]Write i2c OK [22:11:46]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 FD 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 FD 00 22 01 00 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 90 00 12 [22:11:47]RAPDU: 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 90 00 [22:11:47]wFMCommunicate OK [22:11:47]wFMCommunicate request_size=4 [22:11:47]MH_SAM_APDU [22:11:47]CAPDU: 80 17 00 00 [22:11:47]Write to MH i2c: E2 08 00 23 01 80 17 00 00 00 00 00 00 A4 [22:11:47]Write i2c OK [22:11:47]MH_I2C_Read... [22:11:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:11:47]Read from MH i2c: E2 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 D3 00 [22:11:47]MH_I2C_Read... [22:11:47]Read from MH i2c: E2 D3 00 23 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 [22:11:47]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:11:47]wFMCommunicate OK [22:11:47]SAM_PROTO_GetShiftData done [22:11:47]requested_item shift.sale.total_cash is exist - process it [22:11:47]requested_item shift.sale_refund.total is exist - process it [22:11:47]requested_item shift.sale_refund.total_cash is exist - process it [22:11:47]produce_requested_data done [22:11:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56824,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24880.24,"shift.sale.total_cash":18938.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:11:47]process_action_free close_receipt [22:11:47]json_value_free [22:11:47]json_value_free done [22:11:47]process_json_proto returns [22:11:47]Send response to host [22:11:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56824,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":24880.24,"shift.sale.total_cash":18938.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:11:47]free response buf [22:11:47]execute_script done [22:11:47]execute_script returns [22:11:47]free content buf [22:11:47]Sock 10.Close socket [22:11:47]Sock 10.Thread stoped [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:30]OFD Sender: No OFD packet to send [22:22:35]OFD Sender: No OFD packet to send [22:22:40]OFD Sender: No OFD packet to send [22:22:45]OFD Sender: No OFD packet to send [22:22:50]OFD Sender: No OFD packet to send [22:22:55]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [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:37]accept exits with 8 [22:29:37]New connection [22:29:37]New thread 3067420004 created [22:29:37]Thread 3067563364 joined [22:29:37]Waiting for new connection... [22:29:37] Sock 8.Parse request [22:29:37]Sock 8.Check first char [22:29:37]Sock 8.First char is OK [22:29:37]request: POST /json_proto HTTP/1.0 [22:29:37]Method: POST [22:29:37]URL: /json_proto [22:29:37]Method is POST - this is cgi request [22:29:37]url: /json_proto [22:29:37]query_string will be loaded in cgi processing [22:29:37]execute_cgi json_proto POST (null) [22:29:37]execute_cgi path=json_proto method=POST [22:29:37]POST find Content-Length [22:29:37]Host: 172.17.39.4:8080 [22:29:37]Content-Length: 1074 [22:29:37]Content-Type: application/json [22:29:37] [22:29:37]POST finish read [22:29:37]Found Content-Length = 1074 [22:29:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129313", "tax_sys" : 0, "items" : [ { "code": "4602441011292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:29:37]execute_script... [22:29: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)129313", "tax_sys" : 0, "items" : [ { "code": "4602441011292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 232.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:29:37]POST & json_proto [22:29:37]process_json_proto [22:29:37]json parsed OK: [22:29:37]protocol is kg_v1.0 [22:29:37]action value=close_receipt [22:29:37]process_action close_receipt [22:29:37]cmd_close_receipt [22:29:37]MH_GetDate [22:29:37]Write to MH i2c: F0 00 00 24 01 14 [22:29:37]Write i2c OK [22:29:37]MH_I2C_Read... [22:29:37]Read from MH i2c: F0 [22:29:37]MH_I2C_Read... [22:29:37]Read from MH i2c: F0 09 00 [22:29:37]MH_I2C_Read... [22:29:37]Read from MH i2c: F0 09 00 24 01 00 51 AE 91 66 2D 25 5D 64 26 [22:29:37]GetLastDocTimeStamp 1720822301 [22:29:37]current date 1720823377 [22:29:37]FM_GetShiftState [22:29:37]SAM_PROTO_GetShiftState [22:29:37]wFMCommunicate request_size=4 [22:29:37]MH_SAM_APDU [22:29:37]CAPDU: 80 13 01 00 [22:29:37]Write to MH i2c: E2 08 00 25 01 80 13 01 00 00 00 00 00 A3 [22:29:37]Write i2c OK [22:29:37]MH_I2C_Read... [22:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:37]Read from MH i2c: E2 [22:29:37]MH_I2C_Read... [22:29:37]Read from MH i2c: E2 0E 00 [22:29:37]MH_I2C_Read... [22:29:37]Read from MH i2c: E2 0E 00 25 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 A4 [22:29:37]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:29:37]wFMCommunicate OK [22:29:37]SAM_PROTO_GetShiftState done [22:29:37]FM_GetShiftState done [22:29:37]opened in 1720744326 [22:29:37]opened+sec_in_day 1720830726 [22:29:37]quantity*price = 12500 [22:29:37]sum+1 = 12501 [22:29:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 232.00 НСП 1% : 2.06 НДС 12% : 24.63 Наличными: 232.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 93 12.07.2024 22:29 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56825 ФПД: 242714021173863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222937&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56825&fm=242714021173863&tin=02508201610067®Number=0000000000091208&sum=23200 0 [22:29:38]StoreToDocumentArchive [22:29:38]shift 494 fd 56825 [22:29:38]save to /storage/0494/doc_00056825 [22:29:38]save last doc name /storage/0494/doc_00056825 to /storage/kkm_last_doc_name [22:29:38]save OK [22:29:38]Clear old archive folders... [22:29:38]ProcessDocumentItem done err = 0, tmpTLVsize=412 [22:29:38]tlvbuf is 012FAC90 [22:29:38]SAM_PROTO_ClearQueue [22:29:38]wFMCommunicate request_size=4 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 09 00 00 [22:29:38]Write to MH i2c: E2 08 00 32 01 80 09 00 00 00 00 00 00 A5 [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:29:38]Read from MH i2c: E2 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 32 01 00 90 00 A7 [22:29:38]RAPDU: 90 00 [22:29:38]wFMCommunicate OK [22:29:38]SAM_PROTO_ClearQueue done [22:29:38]KKMCreateOFDPacket [22:29:38]OFDProtocolAddRootSTLVToBuf [22:29:38]FM_MakeSignedData [22:29:38]FM_MakeSignedData [22:29:38]SAM_PROTO_SignData [22:29:38]wFMCommunicate request_size=4 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 0D 01 02 [22:29:38]Write to MH i2c: E2 08 00 33 01 80 0D 01 02 00 00 00 00 AD [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:29:38]Read from MH i2c: E2 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 33 01 00 90 00 A8 [22:29:38]RAPDU: 90 00 [22:29:38]wFMCommunicate OK [22:29:38]wFMCommunicate request_size=255 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 0D 02 02 FA 03 00 9C 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 32 39 32 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [22:29:38]Write to MH i2c: E2 02 01 34 01 80 0D 02 02 FA 00 03 00 9C 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 32 39 32 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 CB [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:38]Read from MH i2c: E2 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 34 01 00 90 00 A9 [22:29:38]RAPDU: 90 00 [22:29:38]wFMCommunicate OK [22:29:38]wFMCommunicate request_size=171 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 51 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DD 00 00 35 04 06 00 DC BF 43 03 9A 67 [22:29:38]Write to MH i2c: E2 AE 00 35 01 80 0D 02 02 A6 00 01 FC 03 06 00 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 51 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DD 00 00 35 04 06 00 DC BF 43 03 9A 67 00 00 A5 [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:38]Read from MH i2c: E2 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 03 00 35 01 00 90 00 AA [22:29:38]RAPDU: 90 00 [22:29:38]wFMCommunicate OK [22:29:38]wFMCommunicate request_size=4 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 0D 03 02 [22:29:38]Write to MH i2c: E2 08 00 36 01 80 0D 03 02 00 00 00 00 B2 [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:29:38]Read from MH i2c: E2 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 0B 00 [22:29:38]MH_I2C_Read... [22:29:38]Read from MH i2c: E2 0B 00 36 01 00 8F BD 93 9B 9B 4F 0C 8C 90 00 AF [22:29:38]RAPDU: 8F BD 93 9B 9B 4F 0C 8C 90 00 [22:29:38]wFMCommunicate OK [22:29:38]SAM_PROTO_SignData done [22:29:38]FM_MakeSignedData done [22:29:38]CreateOFDProtocolMessage [22:29:38]wFMCommunicate request_size=4 [22:29:38]MH_SAM_APDU [22:29:38]CAPDU: 80 11 00 00 [22:29:38]Write to MH i2c: E2 08 00 37 01 80 11 00 00 00 00 00 00 B2 [22:29:38]Write i2c OK [22:29:38]MH_I2C_Read... [22:29:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:39]Read from MH i2c: E2 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: E2 17 00 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: E2 17 00 37 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0C [22:29:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:29:39]wFMCommunicate OK [22:29:39]CreateOFDProtocolMessage done [22:29:39]OFDSenderStorePacket 56825 [22:29:39]StoreOFDPacket docnum=56825 [22:29:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B0 01 00 00 98 61 A8 01 7B FC 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 32 39 32 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 51 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DD 00 00 35 04 06 00 DC BF 43 03 9A 67 8F BD 93 9B 9B 4F 0C 8C [22:29:39]CheckFolder [22:29:39]dirname=/storage/ofd_packets [22:29:39]CheckFolder done [22:29:39]ProducePacketName [22:29:39]name=ofd_packets/00056825 [22:29:39]NVStorageSaveData ofd_packets/00056825 [22:29:39]File name is /storage/ofd_packets/00056825 [22:29:39]Write 462 bytes [22:29:39]NVStorageSaveData done [22:29:39]OFDSenderStorePacket done [22:29:39]KKMCreateOFDPacket done [22:29:39]NVStorageSaveData kkm_last_timestamp [22:29:39]File name is /storage/kkm_last_timestamp [22:29:39]Write 4 bytes [22:29:39]NVStorageSaveData done [22:29:39]ExternCall_PrintAddStr [22:29:39]wPrintStart [22:29:39]Write to MH i2c: 01 00 00 38 01 39 [22:29:39]OFD Sender: Processing packet 56825 [packets to send 38, broken 37] [22:29:39]ProducePacketName [22:29:39]name=ofd_packets/00056825 [22:29:39]OFD Sender: To server: pG, [22:29:39]CommunicateWithHost lk.salyk.kg:30040 [22:29:39]ConnectInit lk.salyk.kg [22:29:39]Write i2c OK [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 07 00 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 07 00 38 01 00 00 00 00 00 FF 0F 4E [22:29:39]RasterBufferAndPrint [22:29:39]line Счет N : (3)129313 [22:29:39]line ИНН: 02508201610067 [22:29:39]line Контрольно-Кассовый Чек [22:29:39]line ПРОДАЖА [22:29:39]line Товар: 4602441011292 [22:29:39]line Напиток Лимонад 0,5л ст (Gabb trade) [22:29:39]line 1.000 * 125.00 [22:29:39]line = 125.00 [22:29:39]line НДС 12% НСП 1% [22:29:39]line > о реализуемом товаре [22:29:39]line Товар: 5449000189332 [22:29:39]line Холодный чай Fuse персик 1л [22:29:39]line 1.000 * 107.00 [22:29:39]line = 107.00 [22:29:39]line НДС 12% НСП 1% [22:29:39]line > о реализуемом товаре [22:29:39]line ИТОГО: 232.00 [22:29:39]line НСП 1% : 2.06 [22:29:39]line НДС 12% : 24.63 [22:29:39]line Наличными: 232.00 [22:29:39]line Безнал.: 0.00 [22:29:39]line Место: АЗС № 132 "Партнер Нефть" [22:29:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:29:39]line СНО: Общий режим [22:29:39]line Чек 93 12.07.2024 22:29 [22:29:39]line Смена: 494 ФФД: 1.0 [22:29:39]line ЗНМ: 0300000132 [22:29:39]line РНМ: 0000000000091208 [22:29:39]line Версия ККМ: 001 [22:29:39]line ФМ: 0000000000874857 [22:29:39]line ФД: 56825 [22:29:39]line ФПД: 242714021173863 [22:29:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T222937&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56825&fm=242714021173863&tin=02508201610067®Number=0000000000091208&sum=23200 [22:29:39]line 0 [22:29:39]written 0, free lines is 4095 [22:29:39]Connected sock=10 [22:29: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 38 35 37 B0 01 00 00 98 61 A8 01 7B FC 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 32 39 32 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 51 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DD 00 00 35 04 06 00 DC BF 43 03 9A 67 8F BD 93 9B 9B 4F 0C 8C [22:29:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3F 20 47 00 8A 7E 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 38 35 37 10 04 04 00 F9 DD 00 00 F4 03 04 00 A8 54 91 66 B6 04 01 00 00 11 7D DB 52 DE 1C 4B 79 [22:29:39]CommunicateWithHost err = 0 [22:29:39]CheckOFDResponse [22:29:39]1017 (14) - 77093643461234 [22:29:39]1041 (16) - 0000000000874857 [22:29:39]1040 (4) - 56825 [22:29:39]1012 (4) - 12.07.2024 16:07 [22:29:39]1206 (1) - 0 [22:29:39]OFD Sender: Remove packet 56825 [22:29:39]ProducePacketName [22:29:39]name=ofd_packets/00056825 [22:29:39]NVStorageDeleteData [22:29:39]Write to MH i2c: 01 00 00 67 01 68 [22:29:39]Write i2c OK [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 07 00 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: 01 07 00 67 01 00 00 00 00 00 A5 0C 20 [22:29:39]RasterBufferAndPrint [22:29:39]line [22:29:39]line [22:29:39]line [22:29:39]line [22:29:39]line [22:29:39]written 0, free lines is 3244 [22:29:39]MH_Cut [22:29:39]Write to MH i2c: D1 01 00 6E 01 01 41 [22:29:39]Write i2c OK [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: D1 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: D1 01 00 [22:29:39]MH_I2C_Read... [22:29:39]Read from MH i2c: D1 01 00 6E 01 00 40 [22:29:39]Write to MH i2c: 01 00 00 6F 01 70 [22:29:39]Write i2c OK [22:29:39]MH_I2C_Read... [22:29:40]OFD Sender: No OFD packet to send [22:29:40]*** Cut start [22:29:40]*** Partial cut [22:29:40]*** CUTSNS_PIN = 1 [22:29:40]*** CUTSNS_PIN = 0 [22:29:40]*** Brake cut motor [22:29:41]Read from MH i2c: 01 [22:29:41]MH_I2C_Read... [22:29:41]*** Stop cut motor [22:29:41]*** Cut end [22:29:41]Read from MH i2c: 01 07 00 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: 01 07 00 6F 01 00 00 00 00 00 FF 0F 85 [22:29:41]process_action close_receipt done [22:29:41]requested_data is exist [22:29:41]produce_requested_data [22:29:41]requested_item fm.sn is exist - process it [22:29:41]wFMCommunicate request_size=4 [22:29:41]MH_SAM_APDU [22:29:41]CAPDU: 80 11 00 00 [22:29:41]Write to MH i2c: E2 08 00 70 01 80 11 00 00 00 00 00 00 EB [22:29:41]Write i2c OK [22:29:41]MH_I2C_Read... [22:29:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:41]Read from MH i2c: E2 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 17 00 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 17 00 70 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 45 [22:29:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:29:41]wFMCommunicate OK [22:29:41]requested_item fd.num is exist - process it [22:29:41]SAM_PROTO_GetFieldsCounters [22:29:41]wFMCommunicate request_size=4 [22:29:41]MH_SAM_APDU [22:29:41]CAPDU: 80 13 00 00 [22:29:41]Write to MH i2c: E2 08 00 71 01 80 13 00 00 00 00 00 00 EE [22:29:41]Write i2c OK [22:29:41]MH_I2C_Read... [22:29:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:29:41]Read from MH i2c: E2 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 62 00 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 62 00 71 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F9 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [22:29: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F9 DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:29:41]wFMCommunicate OK [22:29:41]SAM_PROTO_GetFieldsCounters done [22:29:41]requested_item shift.num is exist - process it [22:29:41]requested_item shift.opened is exist - process it [22:29:41]req_shift_opened [22:29:41]FM_GetShiftState [22:29:41]SAM_PROTO_GetShiftState [22:29:41]wFMCommunicate request_size=4 [22:29:41]MH_SAM_APDU [22:29:41]CAPDU: 80 13 01 00 [22:29:41]Write to MH i2c: E2 08 00 72 01 80 13 01 00 00 00 00 00 F0 [22:29:41]Write i2c OK [22:29:41]MH_I2C_Read... [22:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:41]Read from MH i2c: E2 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 0E 00 [22:29:41]MH_I2C_Read... [22:29:41]Read from MH i2c: E2 0E 00 72 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F1 [22:29:41]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:29:41]wFMCommunicate OK [22:29:41]SAM_PROTO_GetShiftState done [22:29:41]FM_GetShiftState done [22:29:41]req_shift_opened done [22:29:41]requested_item shift.open_date is exist - process it [22:29:41]req_shift_open_date [22:29:41]req_shift_open_date done [22:29:41]requested_item shift.sale.total is exist - process it [22:29:41]SAM_PROTO_GetShiftData [22:29:41]wFMCommunicate request_size=4 [22:29:41]MH_SAM_APDU [22:29:41]CAPDU: 80 13 02 00 [22:29:41]Write to MH i2c: E2 08 00 73 01 80 13 02 00 00 00 00 00 F2 [22:29:41]Write i2c OK [22:29:41]MH_I2C_Read... [22:29:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:29:42]Read from MH i2c: E2 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 73 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 78 51 26 70 04 03 00 48 40 1D 72 04 03 00 30 11 09 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 D7 11 04 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 C8 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 11 [22:29:42]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 78 51 26 70 04 03 00 48 40 1D 72 04 03 00 30 11 09 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 D7 11 04 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 C8 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:29:42]wFMCommunicate OK [22:29:42]wFMCommunicate request_size=4 [22:29:42]MH_SAM_APDU [22:29:42]CAPDU: 80 17 00 00 [22:29:42]Write to MH i2c: E2 08 00 74 01 80 17 00 00 00 00 00 00 F5 [22:29:42]Write i2c OK [22:29:42]MH_I2C_Read... [22:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:29:42]Read from MH i2c: E2 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 74 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [22:29:42]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:29:42]wFMCommunicate OK [22:29:42]wFMCommunicate request_size=4 [22:29:42]MH_SAM_APDU [22:29:42]CAPDU: 80 17 00 00 [22:29:42]Write to MH i2c: E2 08 00 75 01 80 17 00 00 00 00 00 00 F6 [22:29:42]Write i2c OK [22:29:42]MH_I2C_Read... [22:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:29:42]Read from MH i2c: E2 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 75 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [22:29:42]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:29:42]wFMCommunicate OK [22:29:42]wFMCommunicate request_size=4 [22:29:42]MH_SAM_APDU [22:29:42]CAPDU: 80 17 00 00 [22:29:42]Write to MH i2c: E2 08 00 76 01 80 17 00 00 00 00 00 00 F7 [22:29:42]Write i2c OK [22:29:42]MH_I2C_Read... [22:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:29:42]Read from MH i2c: E2 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 [22:29:42]MH_I2C_Read... [22:29:42]Read from MH i2c: E2 FD 00 76 01 00 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 90 00 66 [22:29:42]RAPDU: 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 90 00 [22:29:42]wFMCommunicate OK [22:29:42]wFMCommunicate request_size=4 [22:29:42]MH_SAM_APDU [22:29:42]CAPDU: 80 17 00 00 [22:29:42]Write to MH i2c: E2 08 00 77 01 80 17 00 00 00 00 00 00 F8 [22:29:42]Write i2c OK [22:29:42]MH_I2C_Read... [22:29:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:29:43]Read from MH i2c: E2 [22:29:43]MH_I2C_Read... [22:29:43]Read from MH i2c: E2 D3 00 [22:29:43]MH_I2C_Read... [22:29:43]Read from MH i2c: E2 D3 00 77 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E5 [22:29:43]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:29:43]wFMCommunicate OK [22:29:43]SAM_PROTO_GetShiftData done [22:29:43]requested_item shift.sale.total_cash is exist - process it [22:29:43]requested_item shift.sale_refund.total is exist - process it [22:29:43]requested_item shift.sale_refund.total_cash is exist - process it [22:29:43]produce_requested_data done [22:29:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56825,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25112.24,"shift.sale.total_cash":19170.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:29:43]process_action_free close_receipt [22:29:43]json_value_free [22:29:43]json_value_free done [22:29:43]process_json_proto returns [22:29:43]Send response to host [22:29:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56825,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25112.24,"shift.sale.total_cash":19170.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:29:43]free response buf [22:29:43]execute_script done [22:29:43]execute_script returns [22:29:43]free content buf [22:29:43]Sock 8.Close socket [22:29:43]Sock 8.Thread stoped [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:44]accept exits with 9 [22:31:44]New connection [22:31:44]New thread 3067563364 created [22:31:44]Thread 3067420004 joined [22:31:44]Waiting for new connection... [22:31:44] Sock 9.Parse request [22:31:44]Sock 9.Check first char [22:31:44]Sock 9.First char is OK [22:31:44]request: POST /json_proto HTTP/1.0 [22:31:44]Method: POST [22:31:44]URL: /json_proto [22:31:44]Method is POST - this is cgi request [22:31:44]url: /json_proto [22:31:44]query_string will be loaded in cgi processing [22:31:44]execute_cgi json_proto POST (null) [22:31:44]execute_cgi path=json_proto method=POST [22:31:44]POST find Content-Length [22:31:44]Host: 172.17.39.4:8080 [22:31:44]Content-Length: 1032 [22:31:44]Content-Type: application/json [22:31:44] [22:31:44]POST finish read [22:31:44]Found Content-Length = 1032 [22:31:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129314", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744502", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0421\u044B\u0440 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:31:44]execute_script... [22:31: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)129314", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744502", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0421\u044B\u0440 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:31:44]POST & json_proto [22:31:44]process_json_proto [22:31:44]json parsed OK: [22:31:44]protocol is kg_v1.0 [22:31:44]action value=close_receipt [22:31:44]process_action close_receipt [22:31:44]cmd_close_receipt [22:31:44]MH_GetDate [22:31:44]Write to MH i2c: F0 00 00 78 01 68 [22:31:44]Write i2c OK [22:31:44]MH_I2C_Read... [22:31:44]Read from MH i2c: F0 [22:31:44]MH_I2C_Read... [22:31:44]Read from MH i2c: F0 09 00 [22:31:44]MH_I2C_Read... [22:31:44]Read from MH i2c: F0 09 00 78 01 00 D0 AE 91 66 2D 25 5D 64 F9 [22:31:44]GetLastDocTimeStamp 1720823377 [22:31:44]current date 1720823504 [22:31:44]FM_GetShiftState [22:31:44]SAM_PROTO_GetShiftState [22:31:44]wFMCommunicate request_size=4 [22:31:44]MH_SAM_APDU [22:31:44]CAPDU: 80 13 01 00 [22:31:44]Write to MH i2c: E2 08 00 79 01 80 13 01 00 00 00 00 00 F7 [22:31:44]Write i2c OK [22:31:44]MH_I2C_Read... [22:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:31:44]Read from MH i2c: E2 [22:31:44]MH_I2C_Read... [22:31:44]Read from MH i2c: E2 0E 00 [22:31:44]MH_I2C_Read... [22:31:44]Read from MH i2c: E2 0E 00 79 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 F8 [22:31:44]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:31:44]wFMCommunicate OK [22:31:44]SAM_PROTO_GetShiftState done [22:31:44]FM_GetShiftState done [22:31:44]opened in 1720744326 [22:31:44]opened+sec_in_day 1720830726 [22:31:44]quantity*price = 13000 [22:31:44]sum+1 = 13001 [22:31:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870209744502 Сухарики Флинт Сыр 100 гр 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.17 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 94 12.07.2024 22:31 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56826 ФПД: 54381163470216 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223144&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56826&fm=54381163470216&tin=02508201610067®Number=0000000000091208&sum=19000 0 [22:31:45]StoreToDocumentArchive [22:31:45]shift 494 fd 56826 [22:31:45]save to /storage/0494/doc_00056826 [22:31:45]save last doc name /storage/0494/doc_00056826 to /storage/kkm_last_doc_name [22:31:45]save OK [22:31:45]Clear old archive folders... [22:31:45]ProcessDocumentItem done err = 0, tmpTLVsize=388 [22:31:45]tlvbuf is 012FA820 [22:31:45]SAM_PROTO_ClearQueue [22:31:45]wFMCommunicate request_size=4 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 09 00 00 [22:31:45]Write to MH i2c: E2 08 00 86 01 80 09 00 00 00 00 00 00 F9 [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 86 01 00 90 00 FB [22:31:45]RAPDU: 90 00 [22:31:45]wFMCommunicate OK [22:31:45]SAM_PROTO_ClearQueue done [22:31:45]KKMCreateOFDPacket [22:31:45]OFDProtocolAddRootSTLVToBuf [22:31:45]FM_MakeSignedData [22:31:45]FM_MakeSignedData [22:31:45]SAM_PROTO_SignData [22:31:45]wFMCommunicate request_size=4 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 0D 01 02 [22:31:45]Write to MH i2c: E2 08 00 87 01 80 0D 01 02 00 00 00 00 01 [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 87 01 00 90 00 FC [22:31:45]RAPDU: 90 00 [22:31:45]wFMCommunicate OK [22:31:45]wFMCommunicate request_size=255 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A1 D1 8B D1 80 20 31 30 30 20 D0 B3 D1 80 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 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [22:31:45]Write to MH i2c: E2 02 01 88 01 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A1 D1 8B D1 80 20 31 30 30 20 D0 B3 D1 80 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 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 0A [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]OFD Sender: No OFD packet to send [22:31:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 88 01 00 90 00 FD [22:31:45]RAPDU: 90 00 [22:31:45]wFMCommunicate OK [22:31:45]wFMCommunicate request_size=147 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 0D 02 02 8E F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 D0 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DD 00 00 35 04 06 00 31 75 99 EE 5D 88 [22:31:45]Write to MH i2c: E2 96 00 89 01 80 0D 02 02 8E 00 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 D0 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DD 00 00 35 04 06 00 31 75 99 EE 5D 88 00 00 0C [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 03 00 89 01 00 90 00 FE [22:31:45]RAPDU: 90 00 [22:31:45]wFMCommunicate OK [22:31:45]wFMCommunicate request_size=4 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 0D 03 02 [22:31:45]Write to MH i2c: E2 08 00 8A 01 80 0D 03 02 00 00 00 00 06 [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 0B 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 0B 00 8A 01 00 09 71 46 5F 64 D3 54 0E 90 00 BF [22:31:45]RAPDU: 09 71 46 5F 64 D3 54 0E 90 00 [22:31:45]wFMCommunicate OK [22:31:45]SAM_PROTO_SignData done [22:31:45]FM_MakeSignedData done [22:31:45]CreateOFDProtocolMessage [22:31:45]wFMCommunicate request_size=4 [22:31:45]MH_SAM_APDU [22:31:45]CAPDU: 80 11 00 00 [22:31:45]Write to MH i2c: E2 08 00 8B 01 80 11 00 00 00 00 00 00 06 [22:31:45]Write i2c OK [22:31:45]MH_I2C_Read... [22:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:31:45]Read from MH i2c: E2 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 17 00 [22:31:45]MH_I2C_Read... [22:31:45]Read from MH i2c: E2 17 00 8B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 60 [22:31:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:31:45]wFMCommunicate OK [22:31:45]CreateOFDProtocolMessage done [22:31:45]OFDSenderStorePacket 56826 [22:31:45]StoreOFDPacket docnum=56826 [22:31:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 98 01 00 00 F2 6E 90 01 DE 53 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A1 D1 8B D1 80 20 31 30 30 20 D0 B3 D1 80 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 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 D0 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DD 00 00 35 04 06 00 31 75 99 EE 5D 88 09 71 46 5F 64 D3 54 0E [22:31:45]CheckFolder [22:31:45]dirname=/storage/ofd_packets [22:31:45]CheckFolder done [22:31:45]ProducePacketName [22:31:45]name=ofd_packets/00056826 [22:31:45]NVStorageSaveData ofd_packets/00056826 [22:31:45]File name is /storage/ofd_packets/00056826 [22:31:45]Write 438 bytes [22:31:45]NVStorageSaveData done [22:31:45]OFDSenderStorePacket done [22:31:45]KKMCreateOFDPacket done [22:31:45]NVStorageSaveData kkm_last_timestamp [22:31:45]File name is /storage/kkm_last_timestamp [22:31:45]Write 4 bytes [22:31:45]NVStorageSaveData done [22:31:45]ExternCall_PrintAddStr [22:31:45]wPrintStart [22:31:45]Write to MH i2c: 01 00 00 8C 01 8D [22:31:45]Write i2c OK [22:31:46]MH_I2C_Read... [22:31:46]OFD Sender: Processing packet 56826 [packets to send 38, broken 37] [22:31:46]Read from MH i2c: ProducePacketName [22:31:46]01 name=ofd_packets/00056826 [22:31:46] [22:31:46]MH_I2C_Read... [22:31:46]OFD Sender: To server: pG, [22:31:46]CommunicateWithHost lk.salyk.kg:30040 [22:31:46]Read from MH i2c: ConnectInit lk.salyk.kg [22:31:46]01 07 00 [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: 01 07 00 8C 01 00 00 00 00 00 FF 0F A2 [22:31:46]RasterBufferAndPrint [22:31:46]line Счет N : (3)129314 [22:31:46]line ИНН: 02508201610067 [22:31:46]line Контрольно-Кассовый Чек [22:31:46]line ПРОДАЖА [22:31:46]line Товар: 4630007400389 [22:31:46]line Семечки ДЖИНН 140г [22:31:46]line 1.000 * 130.00 [22:31:46]line = 130.00 [22:31:46]line НДС 12% НСП 1% [22:31:46]line > о реализуемом товаре [22:31:46]line Товар: 4870209744502 [22:31:46]line Сухарики Флинт Сыр 100 гр [22:31:46]line 1.000 * 60.00 [22:31:46]line = 60.00 [22:31:46]line НДС 12% НСП 1% [22:31:46]line > о реализуемом товаре [22:31:46]line ИТОГО: 190.00 [22:31:46]line НСП 1% : 1.68 [22:31:46]line НДС 12% : 20.17 [22:31:46]line Наличными: 190.00 [22:31:46]line Безнал.: 0.00 [22:31:46]line Место: АЗС № 132 "Партнер Нефть" [22:31:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:31:46]line СНО: Общий режим [22:31:46]line Чек 94 12.07.2024 22:31 [22:31:46]line Смена: 494 ФФД: 1.0 [22:31:46]line ЗНМ: 0300000132 [22:31:46]line РНМ: 0000000000091208 [22:31:46]line Версия ККМ: 001 [22:31:46]line ФМ: 0000000000874857 [22:31:46]line ФД: 56826 [22:31:46]line ФПД: 54381163470216 [22:31:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223144&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56826&fm=54381163470216&tin=02508201610067®Number=0000000000091208&sum=19000 [22:31:46]line 0 [22:31:46]written 0, free lines is 4095 [22:31:46]Connected sock=11 [22:31:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 98 01 00 00 F2 6E 90 01 DE 53 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A1 D1 8B D1 80 20 31 30 30 20 D0 B3 D1 80 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 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 D0 AE 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DD 00 00 35 04 06 00 31 75 99 EE 5D 88 09 71 46 5F 64 D3 54 0E [22:31:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 7C 55 47 00 F9 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DD 00 00 F4 03 04 00 26 55 91 66 B6 04 01 00 00 E8 77 6A 2E A6 87 3A 95 [22:31:46]CommunicateWithHost err = 0 [22:31:46]CheckOFDResponse [22:31:46]1017 (14) - 77093643461234 [22:31:46]1041 (16) - 0000000000874857 [22:31:46]1040 (4) - 56826 [22:31:46]1012 (4) - 12.07.2024 16:09 [22:31:46]1206 (1) - 0 [22:31:46]OFD Sender: Remove packet 56826 [22:31:46]ProducePacketName [22:31:46]name=ofd_packets/00056826 [22:31:46]NVStorageDeleteData [22:31:46]Write to MH i2c: 01 00 00 BA 01 BB [22:31:46]Write i2c OK [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: 01 [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: 01 07 00 [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: 01 07 00 BA 01 00 00 00 00 00 BE 0C 8C [22:31:46]RasterBufferAndPrint [22:31:46]line [22:31:46]line [22:31:46]line [22:31:46]line [22:31:46]line [22:31:46]written 0, free lines is 3268 [22:31:46]MH_Cut [22:31:46]Write to MH i2c: D1 01 00 C1 01 01 94 [22:31:46]Write i2c OK [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: D1 [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: D1 01 00 [22:31:46]MH_I2C_Read... [22:31:46]Read from MH i2c: D1 01 00 C1 01 00 93 [22:31:46]Write to MH i2c: 01 00 00 C2 01 C3 [22:31:46]Write i2c OK [22:31:46]MH_I2C_Read... [22:31:47]OFD Sender: No OFD packet to send [22:31:47]*** Cut start [22:31:47]*** Partial cut [22:31:47]*** CUTSNS_PIN = 1 [22:31:47]*** CUTSNS_PIN = 0 [22:31:47]*** Brake cut motor [22:31:48]Read from MH i2c: 01 [22:31:48]MH_I2C_Read... [22:31:48]*** Stop cut motor [22:31:48]*** Cut end [22:31:48]Read from MH i2c: 01 07 00 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: 01 07 00 C2 01 00 00 00 00 00 FF 0F D8 [22:31:48]process_action close_receipt done [22:31:48]requested_data is exist [22:31:48]produce_requested_data [22:31:48]requested_item fm.sn is exist - process it [22:31:48]wFMCommunicate request_size=4 [22:31:48]MH_SAM_APDU [22:31:48]CAPDU: 80 11 00 00 [22:31:48]Write to MH i2c: E2 08 00 C3 01 80 11 00 00 00 00 00 00 3E [22:31:48]Write i2c OK [22:31:48]MH_I2C_Read... [22:31:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:31:48]Read from MH i2c: E2 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 17 00 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 17 00 C3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 98 [22:31:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:31:48]wFMCommunicate OK [22:31:48]requested_item fd.num is exist - process it [22:31:48]SAM_PROTO_GetFieldsCounters [22:31:48]wFMCommunicate request_size=4 [22:31:48]MH_SAM_APDU [22:31:48]CAPDU: 80 13 00 00 [22:31:48]Write to MH i2c: E2 08 00 C4 01 80 13 00 00 00 00 00 00 41 [22:31:48]Write i2c OK [22:31:48]MH_I2C_Read... [22:31:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:31:48]Read from MH i2c: E2 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 62 00 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 62 00 C4 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FA DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 44 [22:31:48]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FA DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:31:48]wFMCommunicate OK [22:31:48]SAM_PROTO_GetFieldsCounters done [22:31:48]requested_item shift.num is exist - process it [22:31:48]requested_item shift.opened is exist - process it [22:31:48]req_shift_opened [22:31:48]FM_GetShiftState [22:31:48]SAM_PROTO_GetShiftState [22:31:48]wFMCommunicate request_size=4 [22:31:48]MH_SAM_APDU [22:31:48]CAPDU: 80 13 01 00 [22:31:48]Write to MH i2c: E2 08 00 C5 01 80 13 01 00 00 00 00 00 43 [22:31:48]Write i2c OK [22:31:48]MH_I2C_Read... [22:31:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:31:48]Read from MH i2c: E2 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 0E 00 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 0E 00 C5 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 44 [22:31:48]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:31:48]wFMCommunicate OK [22:31:48]SAM_PROTO_GetShiftState done [22:31:48]FM_GetShiftState done [22:31:48]req_shift_opened done [22:31:48]requested_item shift.open_date is exist - process it [22:31:48]req_shift_open_date [22:31:48]req_shift_open_date done [22:31:48]requested_item shift.sale.total is exist - process it [22:31:48]SAM_PROTO_GetShiftData [22:31:48]wFMCommunicate request_size=4 [22:31:48]MH_SAM_APDU [22:31:48]CAPDU: 80 13 02 00 [22:31:48]Write to MH i2c: E2 08 00 C6 01 80 13 02 00 00 00 00 00 45 [22:31:48]Write i2c OK [22:31:48]MH_I2C_Read... [22:31:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:31:48]Read from MH i2c: E2 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 FD 00 [22:31:48]MH_I2C_Read... [22:31:48]Read from MH i2c: E2 FD 00 C6 01 00 B6 04 AA 04 B2 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 B0 9B 26 70 04 03 00 80 8A 1D 72 04 03 00 30 11 09 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 B8 19 04 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 70 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 FC [22:31:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 B0 9B 26 70 04 03 00 80 8A 1D 72 04 03 00 30 11 09 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 B8 19 04 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 70 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:31:48]wFMCommunicate OK [22:31:48]wFMCommunicate request_size=4 [22:31:48]MH_SAM_APDU [22:31:48]CAPDU: 80 17 00 00 [22:31:48]Write to MH i2c: E2 08 00 C7 01 80 17 00 00 00 00 00 00 48 [22:31:48]Write i2c OK [22:31:48]MH_I2C_Read... [22:31:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:31:49]Read from MH i2c: E2 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 C7 01 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [22:31:49]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:31:49]wFMCommunicate OK [22:31:49]wFMCommunicate request_size=4 [22:31:49]MH_SAM_APDU [22:31:49]CAPDU: 80 17 00 00 [22:31:49]Write to MH i2c: E2 08 00 C8 01 80 17 00 00 00 00 00 00 49 [22:31:49]Write i2c OK [22:31:49]MH_I2C_Read... [22:31:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:31:49]Read from MH i2c: E2 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 C8 01 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [22:31:49]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:31:49]wFMCommunicate OK [22:31:49]wFMCommunicate request_size=4 [22:31:49]MH_SAM_APDU [22:31:49]CAPDU: 80 17 00 00 [22:31:49]Write to MH i2c: E2 08 00 C9 01 80 17 00 00 00 00 00 00 4A [22:31:49]Write i2c OK [22:31:49]MH_I2C_Read... [22:31:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:31:49]Read from MH i2c: E2 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 FD 00 C9 01 00 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 90 00 B9 [22:31:49]RAPDU: 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 90 00 [22:31:49]wFMCommunicate OK [22:31:49]wFMCommunicate request_size=4 [22:31:49]MH_SAM_APDU [22:31:49]CAPDU: 80 17 00 00 [22:31:49]Write to MH i2c: E2 08 00 CA 01 80 17 00 00 00 00 00 00 4B [22:31:49]Write i2c OK [22:31:49]MH_I2C_Read... [22:31:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:31:49]Read from MH i2c: E2 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 D3 00 [22:31:49]MH_I2C_Read... [22:31:49]Read from MH i2c: E2 D3 00 CA 01 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:31:49]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:31:50]wFMCommunicate OK [22:31:50]SAM_PROTO_GetShiftData done [22:31:50]requested_item shift.sale.total_cash is exist - process it [22:31:50]requested_item shift.sale_refund.total is exist - process it [22:31:50]requested_item shift.sale_refund.total_cash is exist - process it [22:31:50]produce_requested_data done [22:31:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56826,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25302.24,"shift.sale.total_cash":19360.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:31:50]process_action_free close_receipt [22:31:50]json_value_free [22:31:50]json_value_free done [22:31:50]process_json_proto returns [22:31:50]Send response to host [22:31:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56826,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25302.24,"shift.sale.total_cash":19360.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:31:50]free response buf [22:31:50]execute_script done [22:31:50]execute_script returns [22:31:50]free content buf [22:31:50]Sock 9.Close socket [22:31:50]Sock 9.Thread stoped [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:33:58]accept exits with 8 [22:33:58]New connection [22:33:58]New thread 3067420004 created [22:33:58]Thread 3067563364 joined [22:33:58]Waiting for new connection... [22:33:58] Sock 8.Parse request [22:33:58]Sock 8.Check first char [22:33:58]Sock 8.First char is OK [22:33:58]request: POST /json_proto HTTP/1.0 [22:33:58]Method: POST [22:33:58]URL: /json_proto [22:33:58]Method is POST - this is cgi request [22:33:58]url: /json_proto [22:33:58]query_string will be loaded in cgi processing [22:33:58]execute_cgi json_proto POST (null) [22:33:58]execute_cgi path=json_proto method=POST [22:33:58]POST find Content-Length [22:33:58]Host: 172.17.39.4:8080 [22:33:58]Content-Length: 763 [22:33:58]Content-Type: application/json [22:33:58] [22:33:58]POST finish read [22:33:58]Found Content-Length = 763 [22:33:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129315", "tax_sys" : 0, "items" : [ { "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:33:58]execute_script... [22:33: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)129315", "tax_sys" : 0, "items" : [ { "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:33:58]POST & json_proto [22:33:58]process_json_proto [22:33:58]json parsed OK: [22:33:58]protocol is kg_v1.0 [22:33:58]action value=close_receipt [22:33:58]process_action close_receipt [22:33:58]cmd_close_receipt [22:33:58]MH_GetDate [22:33:58]Write to MH i2c: F0 00 00 CB 01 BB [22:33:58]Write i2c OK [22:33:58]MH_I2C_Read... [22:33:58]Read from MH i2c: F0 [22:33:58]MH_I2C_Read... [22:33:58]Read from MH i2c: F0 09 00 [22:33:58]MH_I2C_Read... [22:33:58]Read from MH i2c: F0 09 00 CB 01 00 56 AF 91 66 2D 25 5D 64 D3 [22:33:58]GetLastDocTimeStamp 1720823504 [22:33:58]current date 1720823638 [22:33:58]FM_GetShiftState [22:33:58]SAM_PROTO_GetShiftState [22:33:58]wFMCommunicate request_size=4 [22:33:58]MH_SAM_APDU [22:33:58]CAPDU: 80 13 01 00 [22:33:58]Write to MH i2c: E2 08 00 CC 01 80 13 01 00 00 00 00 00 4A [22:33:58]Write i2c OK [22:33:58]MH_I2C_Read... [22:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:58]Read from MH i2c: E2 [22:33:58]MH_I2C_Read... [22:33:58]Read from MH i2c: E2 0E 00 [22:33:58]MH_I2C_Read... [22:33:58]Read from MH i2c: E2 0E 00 CC 01 00 09 00 01 86 79 90 66 00 00 00 00 90 00 4B [22:33:58]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:33:58]wFMCommunicate OK [22:33:58]SAM_PROTO_GetShiftState done [22:33:58]FM_GetShiftState done [22:33:58]opened in 1720744326 [22:33:58]opened+sec_in_day 1720830726 [22:33:58]quantity*price = 7500 [22:33:58]sum+1 = 7501 [22:33:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 95 12.07.2024 22:33 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56827 ФПД: 187818185692224 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223358&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56827&fm=187818185692224&tin=02508201610067®Number=0000000000091208&sum=7500 0 [22:33:59]StoreToDocumentArchive [22:33:59]shift 494 fd 56827 [22:33:59]save to /storage/0494/doc_00056827 [22:33:59]save last doc name /storage/0494/doc_00056827 to /storage/kkm_last_doc_name [22:33:59]save OK [22:33:59]Clear old archive folders... [22:33:59]ProcessDocumentItem done err = 0, tmpTLVsize=290 [22:33:59]tlvbuf is 0130E8A0 [22:33:59]SAM_PROTO_ClearQueue [22:33:59]wFMCommunicate request_size=4 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 09 00 00 [22:33:59]Write to MH i2c: E2 08 00 D9 01 80 09 00 00 00 00 00 00 4C [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 D9 01 00 90 00 4E [22:33:59]RAPDU: 90 00 [22:33:59]wFMCommunicate OK [22:33:59]SAM_PROTO_ClearQueue done [22:33:59]KKMCreateOFDPacket [22:33:59]OFDProtocolAddRootSTLVToBuf [22:33:59]FM_MakeSignedData [22:33:59]FM_MakeSignedData [22:33:59]SAM_PROTO_SignData [22:33:59]wFMCommunicate request_size=4 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 0D 01 02 [22:33:59]Write to MH i2c: E2 08 00 DA 01 80 0D 01 02 00 00 00 00 54 [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 DA 01 00 90 00 4F [22:33:59]RAPDU: 90 00 [22:33:59]wFMCommunicate OK [22:33:59]wFMCommunicate request_size=255 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 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 5F 00 00 00 F4 03 04 00 56 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [22:33:59]Write to MH i2c: E2 02 01 DB 01 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 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 5F 00 00 00 F4 03 04 00 56 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 2B [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 DB 01 00 90 00 50 [22:33:59]RAPDU: 90 00 [22:33:59]wFMCommunicate OK [22:33:59]wFMCommunicate request_size=49 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 0D 02 02 2C 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DD 00 00 35 04 06 00 AA D1 D4 3D 94 40 [22:33:59]Write to MH i2c: E2 34 00 DC 01 80 0D 02 02 2C 00 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DD 00 00 35 04 06 00 AA D1 D4 3D 94 40 00 00 BE [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [22:33:59]RAPDU: 90 00 [22:33:59]wFMCommunicate OK [22:33:59]wFMCommunicate request_size=4 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 0D 03 02 [22:33:59]Write to MH i2c: E2 08 00 DD 01 80 0D 03 02 00 00 00 00 59 [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 0B 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 0B 00 DD 01 00 AA 2F 36 75 1E 7B B1 52 90 00 7A [22:33:59]RAPDU: AA 2F 36 75 1E 7B B1 52 90 00 [22:33:59]wFMCommunicate OK [22:33:59]SAM_PROTO_SignData done [22:33:59]FM_MakeSignedData done [22:33:59]CreateOFDProtocolMessage [22:33:59]wFMCommunicate request_size=4 [22:33:59]MH_SAM_APDU [22:33:59]CAPDU: 80 11 00 00 [22:33:59]Write to MH i2c: E2 08 00 DE 01 80 11 00 00 00 00 00 00 59 [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:59]Read from MH i2c: E2 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 17 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: E2 17 00 DE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B3 [22:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:33:59]wFMCommunicate OK [22:33:59]CreateOFDProtocolMessage done [22:33:59]OFDSenderStorePacket 56827 [22:33:59]StoreOFDPacket docnum=56827 [22:33:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 36 01 00 00 6A AD 2E 01 D0 A7 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 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 5F 00 00 00 F4 03 04 00 56 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DD 00 00 35 04 06 00 AA D1 D4 3D 94 40 AA 2F 36 75 1E 7B B1 52 [22:33:59]CheckFolder [22:33:59]dirname=/storage/ofd_packets [22:33:59]CheckFolder done [22:33:59]ProducePacketName [22:33:59]name=ofd_packets/00056827 [22:33:59]NVStorageSaveData ofd_packets/00056827 [22:33:59]File name is /storage/ofd_packets/00056827 [22:33:59]Write 340 bytes [22:33:59]NVStorageSaveData done [22:33:59]OFDSenderStorePacket done [22:33:59]KKMCreateOFDPacket done [22:33:59]NVStorageSaveData kkm_last_timestamp [22:33:59]File name is /storage/kkm_last_timestamp [22:33:59]Write 4 bytes [22:33:59]NVStorageSaveData done [22:33:59]ExternCall_PrintAddStr [22:33:59]wPrintStart [22:33:59]Write to MH i2c: 01 00 00 DF 01 E0 [22:33:59]Write i2c OK [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: 01 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: 01 07 00 [22:33:59]MH_I2C_Read... [22:33:59]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 FF 0F F5 [22:33:59]RasterBufferAndPrint [22:33:59]line Счет N : (3)129315 [22:33:59]line ИНН: 02508201610067 [22:33:59]line Контрольно-Кассовый Чек [22:33:59]line ПРОДАЖА [22:33:59]line Товар: 4870001154059 [22:33:59]line Напиток Lipton IceTea 0,5л зел чай [22:33:59]line 1.000 * 75.00 [22:33:59]line = 75.00 [22:33:59]line НДС 12% НСП 1% [22:33:59]line > о реализуемом товаре [22:33:59]line ИТОГО: 75.00 [22:33:59]line НСП 1% : 0.66 [22:33:59]line НДС 12% : 7.96 [22:33:59]line Наличными: 75.00 [22:33:59]line Безнал.: 0.00 [22:33:59]line Место: АЗС № 132 "Партнер Нефть" [22:33:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:33:59]line СНО: Общий режим [22:33:59]line Чек 95 12.07.2024 22:33 [22:33:59]line Смена: 494 ФФД: 1.0 [22:33:59]line ЗНМ: 0300000132 [22:33:59]line РНМ: 0000000000091208 [22:33:59]line Версия ККМ: 001 [22:33:59]line ФМ: 0000000000874857 [22:33:59]line ФД: 56827 [22:33:59]line ФПД: 187818185692224 [22:33:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223358&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56827&fm=187818185692224&tin=02508201610067®Number=0000000000091208&sum=7500 [22:34:00]OFD Sender: Processing packet 56827 [packets to send 38, broken 37] [22:34:00]ProducePacketName [22:34:00]name=ofd_packets/00056827 [22:34:00]OFD Sender: To server: pG, [22:34:00]CommunicateWithHost lk.salyk.kg:30040 [22:34:00]ConnectInit lk.salyk.kg [22:34:00]line 0 [22:34:00]written 0, free lines is 4095 [22:34:00]Connected sock=10 [22:34: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 38 35 37 36 01 00 00 6A AD 2E 01 D0 A7 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 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 5F 00 00 00 F4 03 04 00 56 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DD 00 00 35 04 06 00 AA D1 D4 3D 94 40 AA 2F 36 75 1E 7B B1 52 [22:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 0F 01 47 00 CF 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DD 00 00 F4 03 04 00 AC 55 91 66 B6 04 01 00 00 B2 30 7B 41 8B AD B5 D7 [22:34:00]CommunicateWithHost err = 0 [22:34:00]CheckOFDResponse [22:34:00]1017 (14) - 77093643461234 [22:34:00]1041 (16) - 0000000000874857 [22:34:00]1040 (4) - 56827 [22:34:00]1012 (4) - 12.07.2024 16:11 [22:34:00]1206 (1) - 0 [22:34:00]OFD Sender: Remove packet 56827 [22:34:00]ProducePacketName [22:34:00]name=ofd_packets/00056827 [22:34:00]NVStorageDeleteData [22:34:00]Write to MH i2c: 01 00 00 08 02 0A [22:34:00]Write i2c OK [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: 01 [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: 01 07 00 [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: 01 07 00 08 02 00 00 00 00 00 EB 0C 08 [22:34:00]RasterBufferAndPrint [22:34:00]line [22:34:00]line [22:34:00]line [22:34:00]line [22:34:00]line [22:34:00]written 0, free lines is 3313 [22:34:00]MH_Cut [22:34:00]Write to MH i2c: D1 01 00 0F 02 01 E3 [22:34:00]Write i2c OK [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: D1 [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: D1 01 00 [22:34:00]MH_I2C_Read... [22:34:00]Read from MH i2c: D1 01 00 0F 02 00 E2 [22:34:00]Write to MH i2c: 01 00 00 10 02 12 [22:34:00]Write i2c OK [22:34:00]MH_I2C_Read... [22:34:00]OFD Sender: No OFD packet to send [22:34:01]*** Cut start [22:34:01]*** Partial cut [22:34:01]*** CUTSNS_PIN = 1 [22:34:01]*** CUTSNS_PIN = 0 [22:34:01]*** Brake cut motor [22:34:01]Read from MH i2c: 01 [22:34:01]MH_I2C_Read... [22:34:01]*** Stop cut motor [22:34:01]*** Cut end [22:34:01]Read from MH i2c: 01 07 00 [22:34:01]MH_I2C_Read... [22:34:01]Read from MH i2c: 01 07 00 10 02 00 00 00 00 00 FF 0F 27 [22:34:01]process_action close_receipt done [22:34:01]requested_data is exist [22:34:01]produce_requested_data [22:34:01]requested_item fm.sn is exist - process it [22:34:01]wFMCommunicate request_size=4 [22:34:01]MH_SAM_APDU [22:34:01]CAPDU: 80 11 00 00 [22:34:01]Write to MH i2c: E2 08 00 11 02 80 11 00 00 00 00 00 00 8D [22:34:01]Write i2c OK [22:34:01]MH_I2C_Read... [22:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:34:01]Read from MH i2c: E2 [22:34:01]MH_I2C_Read... [22:34:01]Read from MH i2c: E2 17 00 [22:34:01]MH_I2C_Read... [22:34:01]Read from MH i2c: E2 17 00 11 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E7 [22:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:34:01]wFMCommunicate OK [22:34:01]requested_item fd.num is exist - process it [22:34:01]SAM_PROTO_GetFieldsCounters [22:34:01]wFMCommunicate request_size=4 [22:34:01]MH_SAM_APDU [22:34:01]CAPDU: 80 13 00 00 [22:34:01]Write to MH i2c: E2 08 00 12 02 80 13 00 00 00 00 00 00 90 [22:34:01]Write i2c OK [22:34:01]MH_I2C_Read... [22:34:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:34:02]Read from MH i2c: E2 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 62 00 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 62 00 12 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FB DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [22:34: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FB DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:34:02]wFMCommunicate OK [22:34:02]SAM_PROTO_GetFieldsCounters done [22:34:02]requested_item shift.num is exist - process it [22:34:02]requested_item shift.opened is exist - process it [22:34:02]req_shift_opened [22:34:02]FM_GetShiftState [22:34:02]SAM_PROTO_GetShiftState [22:34:02]wFMCommunicate request_size=4 [22:34:02]MH_SAM_APDU [22:34:02]CAPDU: 80 13 01 00 [22:34:02]Write to MH i2c: E2 08 00 13 02 80 13 01 00 00 00 00 00 92 [22:34:02]Write i2c OK [22:34:02]MH_I2C_Read... [22:34:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:34:02]Read from MH i2c: E2 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 0E 00 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 0E 00 13 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 93 [22:34:02]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:34:02]wFMCommunicate OK [22:34:02]SAM_PROTO_GetShiftState done [22:34:02]FM_GetShiftState done [22:34:02]req_shift_opened done [22:34:02]requested_item shift.open_date is exist - process it [22:34:02]req_shift_open_date [22:34:02]req_shift_open_date done [22:34:02]requested_item shift.sale.total is exist - process it [22:34:02]SAM_PROTO_GetShiftData [22:34:02]wFMCommunicate request_size=4 [22:34:02]MH_SAM_APDU [22:34:02]CAPDU: 80 13 02 00 [22:34:02]Write to MH i2c: E2 08 00 14 02 80 13 02 00 00 00 00 00 94 [22:34:02]Write i2c OK [22:34:02]MH_I2C_Read... [22:34:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:34:02]Read from MH i2c: E2 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 FD 00 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 FD 00 14 02 00 B6 04 AA 04 B2 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 FC B8 26 70 04 03 00 CC A7 1D 72 04 03 00 30 11 09 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 D4 1C 04 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 B2 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 80 [22:34:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 FC B8 26 70 04 03 00 CC A7 1D 72 04 03 00 30 11 09 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 D4 1C 04 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 B2 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:34:02]wFMCommunicate OK [22:34:02]wFMCommunicate request_size=4 [22:34:02]MH_SAM_APDU [22:34:02]CAPDU: 80 17 00 00 [22:34:02]Write to MH i2c: E2 08 00 15 02 80 17 00 00 00 00 00 00 97 [22:34:02]Write i2c OK [22:34:02]MH_I2C_Read... [22:34:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:34:02]Read from MH i2c: E2 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 FD 00 [22:34:02]MH_I2C_Read... [22:34:02]Read from MH i2c: E2 FD 00 15 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [22:34:02]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:34:02]wFMCommunicate OK [22:34:02]wFMCommunicate request_size=4 [22:34:02]MH_SAM_APDU [22:34:02]CAPDU: 80 17 00 00 [22:34:02]Write to MH i2c: E2 08 00 16 02 80 17 00 00 00 00 00 00 98 [22:34:02]Write i2c OK [22:34:02]MH_I2C_Read... [22:34:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:34:03]Read from MH i2c: E2 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 FD 00 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 FD 00 16 02 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [22:34:03]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:34:03]wFMCommunicate OK [22:34:03]wFMCommunicate request_size=4 [22:34:03]MH_SAM_APDU [22:34:03]CAPDU: 80 17 00 00 [22:34:03]Write to MH i2c: E2 08 00 17 02 80 17 00 00 00 00 00 00 99 [22:34:03]Write i2c OK [22:34:03]MH_I2C_Read... [22:34:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:34:03]Read from MH i2c: E2 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 FD 00 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 FD 00 17 02 00 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 90 00 08 [22:34:03]RAPDU: 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 90 00 [22:34:03]wFMCommunicate OK [22:34:03]wFMCommunicate request_size=4 [22:34:03]MH_SAM_APDU [22:34:03]CAPDU: 80 17 00 00 [22:34:03]Write to MH i2c: E2 08 00 18 02 80 17 00 00 00 00 00 00 9A [22:34:03]Write i2c OK [22:34:03]MH_I2C_Read... [22:34:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:34:03]Read from MH i2c: E2 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 D3 00 [22:34:03]MH_I2C_Read... [22:34:03]Read from MH i2c: E2 D3 00 18 02 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 87 [22:34:03]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:34:03]wFMCommunicate OK [22:34:03]SAM_PROTO_GetShiftData done [22:34:03]requested_item shift.sale.total_cash is exist - process it [22:34:03]requested_item shift.sale_refund.total is exist - process it [22:34:03]requested_item shift.sale_refund.total_cash is exist - process it [22:34:03]produce_requested_data done [22:34:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56827,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25377.24,"shift.sale.total_cash":19435.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:34:03]process_action_free close_receipt [22:34:03]json_value_free [22:34:03]json_value_free done [22:34:03]process_json_proto returns [22:34:03]Send response to host [22:34:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56827,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25377.24,"shift.sale.total_cash":19435.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:34:03]free response buf [22:34:03]execute_script done [22:34:03]execute_script returns [22:34:03]free content buf [22:34:03]Sock 8.Close socket [22:34:03]Sock 8.Thread stoped [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:34:59]accept exits with 9 [22:34:59]New connection [22:34:59]New thread 3067563364 created [22:34:59]Thread 3067420004 joined [22:34:59]Waiting for new connection... [22:34:59] Sock 9.Parse request [22:34:59]Sock 9.Check first char [22:34:59]Sock 9.First char is OK [22:34:59]request: POST /json_proto HTTP/1.0 [22:34:59]Method: POST [22:34:59]URL: /json_proto [22:34:59]Method is POST - this is cgi request [22:34:59]url: /json_proto [22:34:59]query_string will be loaded in cgi processing [22:34:59]execute_cgi json_proto POST (null) [22:34:59]execute_cgi path=json_proto method=POST [22:34:59]POST find Content-Length [22:34:59]Host: 172.17.39.4:8080 [22:34:59]Content-Length: 725 [22:34:59]Content-Type: application/json [22:34:59] [22:34:59]POST finish read [22:34:59]Found Content-Length = 725 [22:34:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129316", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:34:59]execute_script... [22:34: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)129316", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:34:59]POST & json_proto [22:34:59]process_json_proto [22:34:59]json parsed OK: [22:34:59]protocol is kg_v1.0 [22:34:59]action value=close_receipt [22:34:59]process_action close_receipt [22:34:59]cmd_close_receipt [22:34:59]MH_GetDate [22:34:59]Write to MH i2c: F0 00 00 19 02 0A [22:34:59]Write i2c OK [22:34:59]MH_I2C_Read... [22:34:59]Read from MH i2c: F0 [22:34:59]MH_I2C_Read... [22:34:59]Read from MH i2c: F0 09 00 [22:34:59]MH_I2C_Read... [22:34:59]Read from MH i2c: F0 09 00 19 02 00 94 AF 91 66 2D 25 5D 64 60 [22:34:59]GetLastDocTimeStamp 1720823638 [22:34:59]current date 1720823700 [22:34:59]FM_GetShiftState [22:34:59]SAM_PROTO_GetShiftState [22:34:59]wFMCommunicate request_size=4 [22:34:59]MH_SAM_APDU [22:34:59]CAPDU: 80 13 01 00 [22:34:59]Write to MH i2c: E2 08 00 1A 02 80 13 01 00 00 00 00 00 99 [22:34:59]Write i2c OK [22:34:59]MH_I2C_Read... [22:35:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:00]Read from MH i2c: E2 [22:35:00]MH_I2C_Read... [22:35:00]Read from MH i2c: E2 0E 00 [22:35:00]MH_I2C_Read... [22:35:00]Read from MH i2c: E2 0E 00 1A 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 9A [22:35:00]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:35:00]wFMCommunicate OK [22:35:00]SAM_PROTO_GetShiftState done [22:35:00]FM_GetShiftState done [22:35:00]opened in 1720744326 [22:35:00]opened+sec_in_day 1720830726 [22:35:00]quantity*price = 14000 [22:35:00]sum+1 = 14001 [22:35:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 96 12.07.2024 22:35 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56828 ФПД: 161501743116111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223500&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56828&fm=161501743116111&tin=02508201610067®Number=0000000000091208&sum=14000 0 [22:35:01]StoreToDocumentArchive [22:35:01]shift 494 fd 56828 [22:35:01]save to /storage/0494/doc_00056828 [22:35:01]save last doc name /storage/0494/doc_00056828 to /storage/kkm_last_doc_name [22:35:01]save OK [22:35:01]Clear old archive folders... [22:35:01]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:35:01]tlvbuf is 01310090 [22:35:01]SAM_PROTO_ClearQueue [22:35:01]wFMCommunicate request_size=4 [22:35:01]MH_SAM_APDU [22:35:01]CAPDU: 80 09 00 00 [22:35:01]Write to MH i2c: E2 08 00 27 02 80 09 00 00 00 00 00 00 9B [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 27 02 00 90 00 9D [22:35:01]RAPDU: 90 00 [22:35:01]wFMCommunicate OK [22:35:01]SAM_PROTO_ClearQueue done [22:35:01]KKMCreateOFDPacket [22:35:01]OFDProtocolAddRootSTLVToBuf [22:35:01]FM_MakeSignedData [22:35:01]FM_MakeSignedData [22:35:01]SAM_PROTO_SignData [22:35:01]wFMCommunicate request_size=4 [22:35:01]MH_SAM_APDU [22:35:01]CAPDU: 80 0D 01 02 [22:35:01]Write to MH i2c: E2 08 00 28 02 80 0D 01 02 00 00 00 00 A3 [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 28 02 00 90 00 9E [22:35:01]RAPDU: 90 00 [22:35:01]wFMCommunicate OK [22:35:01]wFMCommunicate request_size=255 [22:35:01]MH_SAM_APDU [22:35:01]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 60 00 00 00 F4 03 04 00 94 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [22:35:01]Write to MH i2c: E2 02 01 29 02 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 60 00 00 00 F4 03 04 00 94 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 08 [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 29 02 00 90 00 9F [22:35:01]RAPDU: 90 00 [22:35:01]wFMCommunicate OK [22:35:01]wFMCommunicate request_size=32 [22:35:01]MH_SAM_APDU [22:35:01]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DD 00 00 35 04 06 00 92 E2 8E 07 6F 4F [22:35:01]Write to MH i2c: E2 23 00 2A 02 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DD 00 00 35 04 06 00 92 E2 8E 07 6F 4F 00 00 AA [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 03 00 2A 02 00 90 00 A0 [22:35:01]RAPDU: 90 00 [22:35:01]wFMCommunicate OK [22:35:01]wFMCommunicate request_size=4 [22:35:01]MH_SAM_APDU [22:35:01]CAPDU: 80 0D 03 02 [22:35:01]Write to MH i2c: E2 08 00 2B 02 80 0D 03 02 00 00 00 00 A8 [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 0B 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 0B 00 2B 02 00 1B A0 B1 FE 89 97 EF 5C 90 00 7E [22:35:01]RAPDU: 1B A0 B1 FE 89 97 EF 5C 90 00 [22:35:01]wFMCommunicate OK [22:35:01]SAM_PROTO_SignData done [22:35:01]FM_MakeSignedData done [22:35:01]CreateOFDProtocolMessage [22:35:01]wFMCommunicate request_size=4 [22:35:01]MH_SAM_APDU [22:35:01]CAPDU: 80 11 00 00 [22:35:01]Write to MH i2c: E2 08 00 2C 02 80 11 00 00 00 00 00 00 A8 [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:01]Read from MH i2c: E2 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 17 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: E2 17 00 2C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 02 [22:35:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:35:01]wFMCommunicate OK [22:35:01]CreateOFDProtocolMessage done [22:35:01]OFDSenderStorePacket 56828 [22:35:01]StoreOFDPacket docnum=56828 [22:35:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 9E 94 1D 01 23 56 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 60 00 00 00 F4 03 04 00 94 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DD 00 00 35 04 06 00 92 E2 8E 07 6F 4F 1B A0 B1 FE 89 97 EF 5C [22:35:01]CheckFolder [22:35:01]dirname=/storage/ofd_packets [22:35:01]CheckFolder done [22:35:01]ProducePacketName [22:35:01]name=ofd_packets/00056828 [22:35:01]NVStorageSaveData ofd_packets/00056828 [22:35:01]File name is /storage/ofd_packets/00056828 [22:35:01]Write 323 bytes [22:35:01]NVStorageSaveData done [22:35:01]OFDSenderStorePacket done [22:35:01]KKMCreateOFDPacket done [22:35:01]NVStorageSaveData kkm_last_timestamp [22:35:01]File name is /storage/kkm_last_timestamp [22:35:01]Write 4 bytes [22:35:01]NVStorageSaveData done [22:35:01]OFD Sender: Processing packet 56828 [packets to send 38, broken 37] [22:35:01]ProducePacketName [22:35:01]name=ofd_packets/00056828 [22:35:01]OFD Sender: To server: pG, [22:35:01]CommunicateWithHost lk.salyk.kg:30040 [22:35:01]ConnectInit lk.salyk.kg [22:35:01]ExternCall_PrintAddStr [22:35:01]wPrintStart [22:35:01]Write to MH i2c: 01 00 00 2D 02 2F [22:35:01]Write i2c OK [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: 01 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: 01 07 00 [22:35:01]MH_I2C_Read... [22:35:01]Read from MH i2c: 01 07 00 2D 02 00 00 00 00 00 FF 0F 44 [22:35:01]RasterBufferAndPrint [22:35:01]line Счет N : (3)129316 [22:35:01]line ИНН: 02508201610067 [22:35:01]line Контрольно-Кассовый Чек [22:35:01]line ПРОДАЖА [22:35:01]line Товар: 48747059 [22:35:01]line Сигареты Winston Legend Blue [22:35:01]line 1.000 * 140.00 [22:35:01]line = 140.00 [22:35:01]line НДС 12% НСП 1% [22:35:01]line > о реализуемом товаре [22:35:01]line ИТОГО: 140.00 [22:35:01]line НСП 1% : 1.24 [22:35:01]line НДС 12% : 14.87 [22:35:01]line Наличными: 140.00 [22:35:01]line Безнал.: 0.00 [22:35:01]line Место: АЗС № 132 "Партнер Нефть" [22:35:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:35:01]line СНО: Общий режим [22:35:01]line Чек 96 12.07.2024 22:35 [22:35:01]line Смена: 494 ФФД: 1.0 [22:35:01]line ЗНМ: 0300000132 [22:35:01]line РНМ: 0000000000091208 [22:35:01]line Версия ККМ: 001 [22:35:01]line ФМ: 0000000000874857 [22:35:01]line ФД: 56828 [22:35:01]line ФПД: 161501743116111 [22:35:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223500&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56828&fm=161501743116111&tin=02508201610067®Number=0000000000091208&sum=14000 [22:35:02]line 0 [22:35:02]Connected sock=11 [22:35: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 38 35 37 25 01 00 00 9E 94 1D 01 23 56 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 60 00 00 00 F4 03 04 00 94 AF 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DD 00 00 35 04 06 00 92 E2 8E 07 6F 4F 1B A0 B1 FE 89 97 EF 5C [22:35:02]written 0, free lines is 4095 [22:35:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 CF 15 47 00 DF 10 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 38 35 37 10 04 04 00 FC DD 00 00 F4 03 04 00 EA 55 91 66 B6 04 01 00 00 41 5D AC 4B 70 57 E5 64 [22:35:02]CommunicateWithHost err = 0 [22:35:02]CheckOFDResponse [22:35:02]1017 (14) - 77093643461234 [22:35:02]1041 (16) - 0000000000874857 [22:35:02]1040 (4) - 56828 [22:35:02]1012 (4) - 12.07.2024 16:12 [22:35:02]1206 (1) - 0 [22:35:02]OFD Sender: Remove packet 56828 [22:35:02]ProducePacketName [22:35:02]name=ofd_packets/00056828 [22:35:02]NVStorageDeleteData [22:35:02]Write to MH i2c: 01 00 00 56 02 58 [22:35:02]Write i2c OK [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: 01 [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: 01 07 00 [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: 01 07 00 56 02 00 00 00 00 00 E4 0C 4F [22:35:02]RasterBufferAndPrint [22:35:02]line [22:35:02]line [22:35:02]line [22:35:02]line [22:35:02]line [22:35:02]written 0, free lines is 3307 [22:35:02]MH_Cut [22:35:02]Write to MH i2c: D1 01 00 5D 02 01 31 [22:35:02]Write i2c OK [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: D1 [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: D1 01 00 [22:35:02]MH_I2C_Read... [22:35:02]Read from MH i2c: D1 01 00 5D 02 00 30 [22:35:02]Write to MH i2c: 01 00 00 5E 02 60 [22:35:02]Write i2c OK [22:35:02]MH_I2C_Read... [22:35:02]OFD Sender: No OFD packet to send [22:35:03]*** Cut start [22:35:03]*** Partial cut [22:35:03]*** CUTSNS_PIN = 1 [22:35:03]*** CUTSNS_PIN = 0 [22:35:03]*** Brake cut motor [22:35:03]Read from MH i2c: 01 [22:35:03]MH_I2C_Read... [22:35:03]*** Stop cut motor [22:35:03]*** Cut end [22:35:03]Read from MH i2c: 01 07 00 [22:35:03]MH_I2C_Read... [22:35:03]Read from MH i2c: 01 07 00 5E 02 00 00 00 00 00 FF 0F 75 [22:35:03]process_action close_receipt done [22:35:03]requested_data is exist [22:35:03]produce_requested_data [22:35:03]requested_item fm.sn is exist - process it [22:35:03]wFMCommunicate request_size=4 [22:35:03]MH_SAM_APDU [22:35:03]CAPDU: 80 11 00 00 [22:35:03]Write to MH i2c: E2 08 00 5F 02 80 11 00 00 00 00 00 00 DB [22:35:03]Write i2c OK [22:35:03]MH_I2C_Read... [22:35:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:03]Read from MH i2c: E2 [22:35:03]MH_I2C_Read... [22:35:03]Read from MH i2c: E2 17 00 [22:35:03]MH_I2C_Read... [22:35:03]Read from MH i2c: E2 17 00 5F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 35 [22:35:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:35:03]wFMCommunicate OK [22:35:03]requested_item fd.num is exist - process it [22:35:03]SAM_PROTO_GetFieldsCounters [22:35:03]wFMCommunicate request_size=4 [22:35:03]MH_SAM_APDU [22:35:03]CAPDU: 80 13 00 00 [22:35:03]Write to MH i2c: E2 08 00 60 02 80 13 00 00 00 00 00 00 DE [22:35:03]Write i2c OK [22:35:03]MH_I2C_Read... [22:35:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:35:04]Read from MH i2c: E2 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 62 00 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 62 00 60 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FC DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [22:35: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FC DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:35:04]wFMCommunicate OK [22:35:04]SAM_PROTO_GetFieldsCounters done [22:35:04]requested_item shift.num is exist - process it [22:35:04]requested_item shift.opened is exist - process it [22:35:04]req_shift_opened [22:35:04]FM_GetShiftState [22:35:04]SAM_PROTO_GetShiftState [22:35:04]wFMCommunicate request_size=4 [22:35:04]MH_SAM_APDU [22:35:04]CAPDU: 80 13 01 00 [22:35:04]Write to MH i2c: E2 08 00 61 02 80 13 01 00 00 00 00 00 E0 [22:35:04]Write i2c OK [22:35:04]MH_I2C_Read... [22:35:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:04]Read from MH i2c: E2 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 0E 00 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 0E 00 61 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E1 [22:35:04]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:35:04]wFMCommunicate OK [22:35:04]SAM_PROTO_GetShiftState done [22:35:04]FM_GetShiftState done [22:35:04]req_shift_opened done [22:35:04]requested_item shift.open_date is exist - process it [22:35:04]req_shift_open_date [22:35:04]req_shift_open_date done [22:35:04]requested_item shift.sale.total is exist - process it [22:35:04]SAM_PROTO_GetShiftData [22:35:04]wFMCommunicate request_size=4 [22:35:04]MH_SAM_APDU [22:35:04]CAPDU: 80 13 02 00 [22:35:04]Write to MH i2c: E2 08 00 62 02 80 13 02 00 00 00 00 00 E2 [22:35:04]Write i2c OK [22:35:04]MH_I2C_Read... [22:35:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:35:04]Read from MH i2c: E2 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 FD 00 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 FD 00 62 02 00 B6 04 AA 04 B2 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 AC EF 26 70 04 03 00 7C DE 1D 72 04 03 00 30 11 09 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 A3 22 04 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 2E 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F0 [22:35:04]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 AC EF 26 70 04 03 00 7C DE 1D 72 04 03 00 30 11 09 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 A3 22 04 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 2E 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:35:04]wFMCommunicate OK [22:35:04]wFMCommunicate request_size=4 [22:35:04]MH_SAM_APDU [22:35:04]CAPDU: 80 17 00 00 [22:35:04]Write to MH i2c: E2 08 00 63 02 80 17 00 00 00 00 00 00 E5 [22:35:04]Write i2c OK [22:35:04]MH_I2C_Read... [22:35:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:04]Read from MH i2c: E2 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 FD 00 [22:35:04]MH_I2C_Read... [22:35:04]Read from MH i2c: E2 FD 00 63 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [22:35:04]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:35:04]wFMCommunicate OK [22:35:04]wFMCommunicate request_size=4 [22:35:04]MH_SAM_APDU [22:35:04]CAPDU: 80 17 00 00 [22:35:04]Write to MH i2c: E2 08 00 64 02 80 17 00 00 00 00 00 00 E6 [22:35:04]Write i2c OK [22:35:04]MH_I2C_Read... [22:35:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:05]Read from MH i2c: E2 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 FD 00 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 FD 00 64 02 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A6 [22:35:05]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:35:05]wFMCommunicate OK [22:35:05]wFMCommunicate request_size=4 [22:35:05]MH_SAM_APDU [22:35:05]CAPDU: 80 17 00 00 [22:35:05]Write to MH i2c: E2 08 00 65 02 80 17 00 00 00 00 00 00 E7 [22:35:05]Write i2c OK [22:35:05]MH_I2C_Read... [22:35:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:05]Read from MH i2c: E2 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 FD 00 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 FD 00 65 02 00 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 90 00 56 [22:35:05]RAPDU: 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 90 00 [22:35:05]wFMCommunicate OK [22:35:05]wFMCommunicate request_size=4 [22:35:05]MH_SAM_APDU [22:35:05]CAPDU: 80 17 00 00 [22:35:05]Write to MH i2c: E2 08 00 66 02 80 17 00 00 00 00 00 00 E8 [22:35:05]Write i2c OK [22:35:05]MH_I2C_Read... [22:35:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:35:05]Read from MH i2c: E2 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 D3 00 [22:35:05]MH_I2C_Read... [22:35:05]Read from MH i2c: E2 D3 00 66 02 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D5 [22:35:05]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:35:05]wFMCommunicate OK [22:35:05]SAM_PROTO_GetShiftData done [22:35:05]requested_item shift.sale.total_cash is exist - process it [22:35:05]requested_item shift.sale_refund.total is exist - process it [22:35:05]requested_item shift.sale_refund.total_cash is exist - process it [22:35:05]produce_requested_data done [22:35:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56828,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25517.24,"shift.sale.total_cash":19575.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:35:05]process_action_free close_receipt [22:35:05]json_value_free [22:35:05]json_value_free done [22:35:05]process_json_proto returns [22:35:05]Send response to host [22:35:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56828,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25517.24,"shift.sale.total_cash":19575.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:35:05]free response buf [22:35:05]execute_script done [22:35:05]execute_script returns [22:35:05]free content buf [22:35:05]Sock 9.Close socket [22:35:05]Sock 9.Thread stoped [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:24]accept exits with 8 [22:38:24]New connection [22:38:24]New thread 3067420004 created [22:38:24]Thread 3067563364 joined [22:38:24]Waiting for new connection... [22:38:24] Sock 8.Parse request [22:38:24]Sock 8.Check first char [22:38:24]Sock 8.First char is OK [22:38:24]request: POST /json_proto HTTP/1.0 [22:38:24]Method: POST [22:38:24]URL: /json_proto [22:38:24]Method is POST - this is cgi request [22:38:24]url: /json_proto [22:38:24]query_string will be loaded in cgi processing [22:38:24]execute_cgi json_proto POST (null) [22:38:24]execute_cgi path=json_proto method=POST [22:38:24]POST find Content-Length [22:38:24]Host: 172.17.39.4:8080 [22:38:24]Content-Length: 909 [22:38:24]Content-Type: application/json [22:38:24] [22:38:24]POST finish read [22:38:24]Found Content-Length = 909 [22:38:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129317", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:38:24]execute_script... [22:38:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129317", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:38:24]POST & json_proto [22:38:24]process_json_proto [22:38:24]json parsed OK: [22:38:24]protocol is kg_v1.0 [22:38:24]action value=close_receipt [22:38:24]process_action close_receipt [22:38:24]cmd_close_receipt [22:38:24]MH_GetDate [22:38:24]Write to MH i2c: F0 00 00 67 02 58 [22:38:24]Write i2c OK [22:38:24]MH_I2C_Read... [22:38:24]Read from MH i2c: F0 [22:38:24]MH_I2C_Read... [22:38:24]Read from MH i2c: F0 09 00 [22:38:24]MH_I2C_Read... [22:38:24]Read from MH i2c: F0 09 00 67 02 00 61 B0 91 66 2D 25 5D 64 7C [22:38:24]GetLastDocTimeStamp 1720823700 [22:38:24]current date 1720823905 [22:38:24]FM_GetShiftState [22:38:24]SAM_PROTO_GetShiftState [22:38:24]wFMCommunicate request_size=4 [22:38:24]MH_SAM_APDU [22:38:24]CAPDU: 80 13 01 00 [22:38:24]Write to MH i2c: E2 08 00 68 02 80 13 01 00 00 00 00 00 E7 [22:38:24]Write i2c OK [22:38:24]MH_I2C_Read... [22:38:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:24]Read from MH i2c: E2 [22:38:24]MH_I2C_Read... [22:38:24]Read from MH i2c: E2 0E 00 [22:38:24]MH_I2C_Read... [22:38:24]Read from MH i2c: E2 0E 00 68 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 E8 [22:38:24]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:38:24]wFMCommunicate OK [22:38:24]SAM_PROTO_GetShiftState done [22:38:24]FM_GetShiftState done [22:38:24]opened in 1720744326 [22:38:24]opened+sec_in_day 1720830726 [22:38:24]quantity*price = 5500 [22:38:24]sum+1 = 5501 [22:38:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 0.00 Безнал.: 55.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 97 12.07.2024 22:38 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56829 ФПД: 13780786368164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223825&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56829&fm=13780786368164&tin=02508201610067®Number=0000000000091208&sum=5500 0 [22:38:26]StoreToDocumentArchive [22:38:26]shift 494 fd 56829 [22:38:26]save to /storage/0494/doc_00056829 [22:38:26]save last doc name /storage/0494/doc_00056829 to /storage/kkm_last_doc_name [22:38:26]save OK [22:38:26]Clear old archive folders... [22:38:26]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:38:26]tlvbuf is 012FC0B0 [22:38:26]SAM_PROTO_ClearQueue [22:38:26]wFMCommunicate request_size=4 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 09 00 00 [22:38:26]Write to MH i2c: E2 08 00 75 02 80 09 00 00 00 00 00 00 E9 [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 75 02 00 90 00 EB [22:38:26]RAPDU: 90 00 [22:38:26]wFMCommunicate OK [22:38:26]SAM_PROTO_ClearQueue done [22:38:26]KKMCreateOFDPacket [22:38:26]OFDProtocolAddRootSTLVToBuf [22:38:26]FM_MakeSignedData [22:38:26]FM_MakeSignedData [22:38:26]SAM_PROTO_SignData [22:38:26]wFMCommunicate request_size=4 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 0D 01 02 [22:38:26]Write to MH i2c: E2 08 00 76 02 80 0D 01 02 00 00 00 00 F1 [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 76 02 00 90 00 EC [22:38:26]RAPDU: 90 00 [22:38:26]wFMCommunicate OK [22:38:26]wFMCommunicate request_size=255 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 61 B0 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [22:38:26]Write to MH i2c: E2 02 01 77 02 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 61 B0 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 9E [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 77 02 00 90 00 ED [22:38:26]RAPDU: 90 00 [22:38:26]wFMCommunicate OK [22:38:26]wFMCommunicate request_size=34 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DD 00 00 35 04 06 00 0C 88 96 E0 4E A4 [22:38:26]Write to MH i2c: E2 25 00 78 02 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DD 00 00 35 04 06 00 0C 88 96 E0 4E A4 00 00 92 [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 03 00 78 02 00 90 00 EE [22:38:26]RAPDU: 90 00 [22:38:26]wFMCommunicate OK [22:38:26]wFMCommunicate request_size=4 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 0D 03 02 [22:38:26]Write to MH i2c: E2 08 00 79 02 80 0D 03 02 00 00 00 00 F6 [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 0B 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 0B 00 79 02 00 E4 C5 01 30 A5 0B 99 5C 90 00 76 [22:38:26]RAPDU: E4 C5 01 30 A5 0B 99 5C 90 00 [22:38:26]wFMCommunicate OK [22:38:26]SAM_PROTO_SignData done [22:38:26]FM_MakeSignedData done [22:38:26]CreateOFDProtocolMessage [22:38:26]wFMCommunicate request_size=4 [22:38:26]MH_SAM_APDU [22:38:26]CAPDU: 80 11 00 00 [22:38:26]Write to MH i2c: E2 08 00 7A 02 80 11 00 00 00 00 00 00 F6 [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:26]Read from MH i2c: E2 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 17 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: E2 17 00 7A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 50 [22:38:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:38:26]wFMCommunicate OK [22:38:26]CreateOFDProtocolMessage done [22:38:26]OFDSenderStorePacket 56829 [22:38:26]StoreOFDPacket docnum=56829 [22:38:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 B9 E2 1F 01 10 04 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 61 B0 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DD 00 00 35 04 06 00 0C 88 96 E0 4E A4 E4 C5 01 30 A5 0B 99 5C [22:38:26]CheckFolder [22:38:26]dirname=/storage/ofd_packets [22:38:26]CheckFolder done [22:38:26]ProducePacketName [22:38:26]name=ofd_packets/00056829 [22:38:26]NVStorageSaveData ofd_packets/00056829 [22:38:26]File name is /storage/ofd_packets/00056829 [22:38:26]Write 325 bytes [22:38:26]NVStorageSaveData done [22:38:26]OFDSenderStorePacket done [22:38:26]KKMCreateOFDPacket done [22:38:26]NVStorageSaveData kkm_last_timestamp [22:38:26]File name is /storage/kkm_last_timestamp [22:38:26]Write 4 bytes [22:38:26]NVStorageSaveData done [22:38:26]ExternCall_PrintAddStr [22:38:26]wPrintStart [22:38:26]Write to MH i2c: 01 00 00 7B 02 7D [22:38:26]Write i2c OK [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: 01 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: 01 07 00 [22:38:26]MH_I2C_Read... [22:38:26]Read from MH i2c: 01 07 00 7B 02 00 00 00 00 00 FF 0F 92 [22:38:26]RasterBufferAndPrint [22:38:26]line Счет N : (3)129317 [22:38:26]line ИНН: 02508201610067 [22:38:26]line Контрольно-Кассовый Чек [22:38:26]line ПРОДАЖА [22:38:26]line Товар: 4870112003925 [22:38:26]line Конд ULKER-Albeni 40gr (6*24) [22:38:26]line 1.000 * 55.00 [22:38:26]line = 55.00 [22:38:26]line НДС 12% НСП 1% [22:38:26]line > о реализуемом товаре [22:38:26]line ИТОГО: 55.00 [22:38:26]line НСП 1% : 0.49 [22:38:26]line НДС 12% : 5.84 [22:38:26]line Наличными: 0.00 [22:38:26]line Безнал.: 55.00 [22:38:26]line Место: АЗС № 132 "Партнер Нефть" [22:38:26]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:38:26]line СНО: Общий режим [22:38:26]line Чек 97 12.07.2024 22:38 [22:38:26]line Смена: 494 ФФД: 1.0 [22:38:26]line ЗНМ: 0300000132 [22:38:26]line РНМ: 0000000000091208 [22:38:26]line Версия ККМ: 001 [22:38:26]line Платежная система: АКБ Кыргызстан [22:38:26]line ФМ: 0000000000874857 [22:38:26]line ФД: 56829 [22:38:26]line ФПД: 13780786368164 [22:38:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T223825&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56829&fm=13780786368164&tin=02508201610067®Number=0000000000091208&sum=5500 [22:38:26]line 0 [22:38:26]OFD Sender: Processing packet 56829 [packets to send 38, broken 37] [22:38:26]ProducePacketName [22:38:26]name=ofd_packets/00056829 [22:38:26]OFD Sender: To server: pG, [22:38:26]CommunicateWithHost lk.salyk.kg:30040 [22:38:26]ConnectInit lk.salyk.kg [22:38:26]written 0, free lines is 4095 [22:38:27]Connected sock=10 [22:38: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 38 35 37 27 01 00 00 B9 E2 1F 01 10 04 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 15 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 61 B0 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DD 00 00 35 04 06 00 0C 88 96 E0 4E A4 E4 C5 01 30 A5 0B 99 5C [22:38:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 01 AC 47 00 DC DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DD 00 00 F4 03 04 00 B7 56 91 66 B6 04 01 00 00 DB 8D 41 85 28 94 70 E4 [22:38:27]CommunicateWithHost err = 0 [22:38:27]CheckOFDResponse [22:38:27]1017 (14) - 77093643461234 [22:38:27]1041 (16) - 0000000000874857 [22:38:27]1040 (4) - 56829 [22:38:27]1012 (4) - 12.07.2024 16:15 [22:38:27]1206 (1) - 0 [22:38:27]OFD Sender: Remove packet 56829 [22:38:27]ProducePacketName [22:38:27]name=ofd_packets/00056829 [22:38:27]NVStorageDeleteData [22:38:27]Write to MH i2c: 01 00 00 A5 02 A7 [22:38:27]Write i2c OK [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: 01 [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: 01 07 00 [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: 01 07 00 A5 02 00 00 00 00 00 F2 0C AC [22:38:27]RasterBufferAndPrint [22:38:27]line [22:38:27]line [22:38:27]line [22:38:27]line [22:38:27]line [22:38:27]written 0, free lines is 3319 [22:38:27]MH_Cut [22:38:27]Write to MH i2c: D1 01 00 AC 02 01 80 [22:38:27]Write i2c OK [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: D1 [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: D1 01 00 [22:38:27]MH_I2C_Read... [22:38:27]Read from MH i2c: D1 01 00 AC 02 00 7F [22:38:27]Write to MH i2c: 01 00 00 AD 02 AF [22:38:27]Write i2c OK [22:38:27]MH_I2C_Read... [22:38:27]OFD Sender: No OFD packet to send [22:38:28]*** Cut start [22:38:28]*** Partial cut [22:38:28]*** CUTSNS_PIN = 1 [22:38:28]*** CUTSNS_PIN = 0 [22:38:28]*** Brake cut motor [22:38:28]Read from MH i2c: 01 [22:38:28]MH_I2C_Read... [22:38:28]*** Stop cut motor [22:38:28]*** Cut end [22:38:28]Read from MH i2c: 01 07 00 [22:38:28]MH_I2C_Read... [22:38:28]Read from MH i2c: 01 07 00 AD 02 00 00 00 00 00 FF 0F C4 [22:38:28]process_action close_receipt done [22:38:28]requested_data is exist [22:38:28]produce_requested_data [22:38:28]requested_item fm.sn is exist - process it [22:38:28]wFMCommunicate request_size=4 [22:38:28]MH_SAM_APDU [22:38:28]CAPDU: 80 11 00 00 [22:38:28]Write to MH i2c: E2 08 00 AE 02 80 11 00 00 00 00 00 00 2A [22:38:28]Write i2c OK [22:38:28]MH_I2C_Read... [22:38:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:28]Read from MH i2c: E2 [22:38:28]MH_I2C_Read... [22:38:28]Read from MH i2c: E2 17 00 [22:38:28]MH_I2C_Read... [22:38:28]Read from MH i2c: E2 17 00 AE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [22:38:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:38:28]wFMCommunicate OK [22:38:28]requested_item fd.num is exist - process it [22:38:28]SAM_PROTO_GetFieldsCounters [22:38:28]wFMCommunicate request_size=4 [22:38:28]MH_SAM_APDU [22:38:28]CAPDU: 80 13 00 00 [22:38:28]Write to MH i2c: E2 08 00 AF 02 80 13 00 00 00 00 00 00 2D [22:38:28]Write i2c OK [22:38:28]MH_I2C_Read... [22:38:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:28]Read from MH i2c: E2 [22:38:28]MH_I2C_Read... [22:38:28]Read from MH i2c: E2 62 00 [22:38:28]MH_I2C_Read... [22:38:28]Read from MH i2c: E2 62 00 AF 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FD DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 3C [22:38:28]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FD DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:38:28]wFMCommunicate OK [22:38:28]SAM_PROTO_GetFieldsCounters done [22:38:28]requested_item shift.num is exist - process it [22:38:28]requested_item shift.opened is exist - process it [22:38:28]req_shift_opened [22:38:28]FM_GetShiftState [22:38:28]SAM_PROTO_GetShiftState [22:38:28]wFMCommunicate request_size=4 [22:38:28]MH_SAM_APDU [22:38:28]CAPDU: 80 13 01 00 [22:38:28]Write to MH i2c: E2 08 00 B0 02 80 13 01 00 00 00 00 00 2F [22:38:28]Write i2c OK [22:38:28]MH_I2C_Read... [22:38:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:29]Read from MH i2c: E2 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 0E 00 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 0E 00 B0 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 30 [22:38:29]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:38:29]wFMCommunicate OK [22:38:29]SAM_PROTO_GetShiftState done [22:38:29]FM_GetShiftState done [22:38:29]req_shift_opened done [22:38:29]requested_item shift.open_date is exist - process it [22:38:29]req_shift_open_date [22:38:29]req_shift_open_date done [22:38:29]requested_item shift.sale.total is exist - process it [22:38:29]SAM_PROTO_GetShiftData [22:38:29]wFMCommunicate request_size=4 [22:38:29]MH_SAM_APDU [22:38:29]CAPDU: 80 13 02 00 [22:38:29]Write to MH i2c: E2 08 00 B1 02 80 13 02 00 00 00 00 00 31 [22:38:29]Write i2c OK [22:38:29]MH_I2C_Read... [22:38:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:38:29]Read from MH i2c: E2 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 FD 00 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 FD 00 B1 02 00 B6 04 AA 04 B2 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 28 05 27 70 04 03 00 7C DE 1D 72 04 03 00 AC 26 09 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 EB 24 04 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 5F 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E0 [22:38:29]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 28 05 27 70 04 03 00 7C DE 1D 72 04 03 00 AC 26 09 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 EB 24 04 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 5F 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:38:29]wFMCommunicate OK [22:38:29]wFMCommunicate request_size=4 [22:38:29]MH_SAM_APDU [22:38:29]CAPDU: 80 17 00 00 [22:38:29]Write to MH i2c: E2 08 00 B2 02 80 17 00 00 00 00 00 00 34 [22:38:29]Write i2c OK [22:38:29]MH_I2C_Read... [22:38:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:38:29]Read from MH i2c: E2 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 FD 00 [22:38:29]MH_I2C_Read... [22:38:29]Read from MH i2c: E2 FD 00 B2 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [22:38:29]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:38:29]wFMCommunicate OK [22:38:29]wFMCommunicate request_size=4 [22:38:29]MH_SAM_APDU [22:38:29]CAPDU: 80 17 00 00 [22:38:29]Write to MH i2c: E2 08 00 B3 02 80 17 00 00 00 00 00 00 35 [22:38:29]Write i2c OK [22:38:29]MH_I2C_Read... [22:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:38:30]Read from MH i2c: E2 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 FD 00 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 FD 00 B3 02 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F5 [22:38:30]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:38:30]wFMCommunicate OK [22:38:30]wFMCommunicate request_size=4 [22:38:30]MH_SAM_APDU [22:38:30]CAPDU: 80 17 00 00 [22:38:30]Write to MH i2c: E2 08 00 B4 02 80 17 00 00 00 00 00 00 36 [22:38:30]Write i2c OK [22:38:30]MH_I2C_Read... [22:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:38:30]Read from MH i2c: E2 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 FD 00 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 FD 00 B4 02 00 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 90 00 A5 [22:38:30]RAPDU: 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 90 00 [22:38:30]wFMCommunicate OK [22:38:30]wFMCommunicate request_size=4 [22:38:30]MH_SAM_APDU [22:38:30]CAPDU: 80 17 00 00 [22:38:30]Write to MH i2c: E2 08 00 B5 02 80 17 00 00 00 00 00 00 37 [22:38:30]Write i2c OK [22:38:30]MH_I2C_Read... [22:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:38:30]Read from MH i2c: E2 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 D3 00 [22:38:30]MH_I2C_Read... [22:38:30]Read from MH i2c: E2 D3 00 B5 02 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 24 [22:38:30]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:38:30]wFMCommunicate OK [22:38:30]SAM_PROTO_GetShiftData done [22:38:30]requested_item shift.sale.total_cash is exist - process it [22:38:30]requested_item shift.sale_refund.total is exist - process it [22:38:30]requested_item shift.sale_refund.total_cash is exist - process it [22:38:30]produce_requested_data done [22:38:30]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56829,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25572.24,"shift.sale.total_cash":19575.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:38:30]process_action_free close_receipt [22:38:30]json_value_free [22:38:30]json_value_free done [22:38:30]process_json_proto returns [22:38:30]Send response to host [22:38:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56829,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25572.24,"shift.sale.total_cash":19575.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:38:30]free response buf [22:38:30]execute_script done [22:38:30]execute_script returns [22:38:30]free content buf [22:38:30]Sock 8.Close socket [22:38:30]Sock 8.Thread stoped [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:31]accept exits with 9 [22:51:31]New connection [22:51:31]New thread 3067563364 created [22:51:31]Thread 3067420004 joined [22:51:31]Waiting for new connection... [22:51:31] Sock 9.Parse request [22:51:31]Sock 9.Check first char [22:51:31]Sock 9.First char is OK [22:51:31]request: POST /json_proto HTTP/1.0 [22:51:31]Method: POST [22:51:31]URL: /json_proto [22:51:31]Method is POST - this is cgi request [22:51:31]url: /json_proto [22:51:31]query_string will be loaded in cgi processing [22:51:31]execute_cgi json_proto POST (null) [22:51:31]execute_cgi path=json_proto method=POST [22:51:31]POST find Content-Length [22:51:31]Host: 172.17.39.4:8080 [22:51:31]Content-Length: 702 [22:51:31]Content-Type: application/json [22:51:31] [22:51:31]POST finish read [22:51:31]Found Content-Length = 702 [22:51:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129318", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:51:31]execute_script... [22:51: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)129318", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:51:31]POST & json_proto [22:51:31]process_json_proto [22:51:31]json parsed OK: [22:51:31]protocol is kg_v1.0 [22:51:31]action value=close_receipt [22:51:31]process_action close_receipt [22:51:31]cmd_close_receipt [22:51:31]MH_GetDate [22:51:31]Write to MH i2c: F0 00 00 B6 02 A7 [22:51:31]Write i2c OK [22:51:31]MH_I2C_Read... [22:51:31]Read from MH i2c: F0 [22:51:31]MH_I2C_Read... [22:51:31]Read from MH i2c: F0 09 00 [22:51:31]MH_I2C_Read... [22:51:31]Read from MH i2c: F0 09 00 B6 02 00 74 B3 91 66 2D 25 5D 64 E1 [22:51:31]GetLastDocTimeStamp 1720823905 [22:51:31]current date 1720824692 [22:51:31]FM_GetShiftState [22:51:31]SAM_PROTO_GetShiftState [22:51:31]wFMCommunicate request_size=4 [22:51:31]MH_SAM_APDU [22:51:31]CAPDU: 80 13 01 00 [22:51:31]Write to MH i2c: E2 08 00 B7 02 80 13 01 00 00 00 00 00 36 [22:51:31]Write i2c OK [22:51:31]MH_I2C_Read... [22:51:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:32]Read from MH i2c: E2 [22:51:32]MH_I2C_Read... [22:51:32]Read from MH i2c: E2 0E 00 [22:51:32]MH_I2C_Read... [22:51:32]Read from MH i2c: E2 0E 00 B7 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 37 [22:51:32]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:51:32]wFMCommunicate OK [22:51:32]SAM_PROTO_GetShiftState done [22:51:32]FM_GetShiftState done [22:51:32]opened in 1720744326 [22:51:32]opened+sec_in_day 1720830726 [22:51:32]quantity*price = 6000 [22:51:32]sum+1 = 6001 [22:51:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 98 12.07.2024 22:51 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56830 ФПД: 113295129638065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225132&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56830&fm=113295129638065&tin=02508201610067®Number=0000000000091208&sum=6000 0 [22:51:33]StoreToDocumentArchive [22:51:33]shift 494 fd 56830 [22:51:33]save to /storage/0494/doc_00056830 [22:51:33]save last doc name /storage/0494/doc_00056830 to /storage/kkm_last_doc_name [22:51:33]save OK [22:51:33]Clear old archive folders... [22:51:33]ProcessDocumentItem done err = 0, tmpTLVsize=261 [22:51:33]tlvbuf is 012FC0B0 [22:51:33]SAM_PROTO_ClearQueue [22:51:33]wFMCommunicate request_size=4 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 09 00 00 [22:51:33]Write to MH i2c: E2 08 00 C4 02 80 09 00 00 00 00 00 00 38 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:51:33]Read from MH i2c: E2 03 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 C4 02 00 90 00 3A [22:51:33]RAPDU: 90 00 [22:51:33]wFMCommunicate OK [22:51:33]SAM_PROTO_ClearQueue done [22:51:33]KKMCreateOFDPacket [22:51:33]OFDProtocolAddRootSTLVToBuf [22:51:33]FM_MakeSignedData [22:51:33]FM_MakeSignedData [22:51:33]SAM_PROTO_SignData [22:51:33]wFMCommunicate request_size=4 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 0D 01 02 [22:51:33]Write to MH i2c: E2 08 00 C5 02 80 0D 01 02 00 00 00 00 40 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [22:51:33]RAPDU: 90 00 [22:51:33]wFMCommunicate OK [22:51:33]wFMCommunicate request_size=255 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 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 62 00 00 00 F4 03 04 00 74 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 [22:51:33]Write to MH i2c: E2 02 01 C6 02 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 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 62 00 00 00 F4 03 04 00 74 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 32 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [22:51:33]RAPDU: 90 00 [22:51:33]wFMCommunicate OK [22:51:33]wFMCommunicate request_size=20 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 0D 02 02 0F 00 FE DD 00 00 35 04 06 00 67 0A 93 F4 F4 B1 [22:51:33]Write to MH i2c: E2 17 00 C7 02 80 0D 02 02 0F 00 00 FE DD 00 00 35 04 06 00 67 0A 93 F4 F4 B1 00 00 18 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]OFD Sender: No OFD packet to send [22:51:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 03 00 C7 02 00 90 00 3D [22:51:33]RAPDU: 90 00 [22:51:33]wFMCommunicate OK [22:51:33]wFMCommunicate request_size=4 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 0D 03 02 [22:51:33]Write to MH i2c: E2 08 00 C8 02 80 0D 03 02 00 00 00 00 45 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 0B 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 0B 00 C8 02 00 6C B4 ED 0D F3 07 5D 48 90 00 FF [22:51:33]RAPDU: 6C B4 ED 0D F3 07 5D 48 90 00 [22:51:33]wFMCommunicate OK [22:51:33]SAM_PROTO_SignData done [22:51:33]FM_MakeSignedData done [22:51:33]CreateOFDProtocolMessage [22:51:33]wFMCommunicate request_size=4 [22:51:33]MH_SAM_APDU [22:51:33]CAPDU: 80 11 00 00 [22:51:33]Write to MH i2c: E2 08 00 C9 02 80 11 00 00 00 00 00 00 45 [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:33]Read from MH i2c: E2 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 17 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: E2 17 00 C9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9F [22:51:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:51:33]wFMCommunicate OK [22:51:33]CreateOFDProtocolMessage done [22:51:33]OFDSenderStorePacket 56830 [22:51:33]StoreOFDPacket docnum=56830 [22:51:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 19 01 00 00 EA 1F 11 01 FA 13 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 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 62 00 00 00 F4 03 04 00 74 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DD 00 00 35 04 06 00 67 0A 93 F4 F4 B1 6C B4 ED 0D F3 07 5D 48 [22:51:33]CheckFolder [22:51:33]dirname=/storage/ofd_packets [22:51:33]CheckFolder done [22:51:33]ProducePacketName [22:51:33]name=ofd_packets/00056830 [22:51:33]NVStorageSaveData ofd_packets/00056830 [22:51:33]File name is /storage/ofd_packets/00056830 [22:51:33]Write 311 bytes [22:51:33]NVStorageSaveData done [22:51:33]OFDSenderStorePacket done [22:51:33]KKMCreateOFDPacket done [22:51:33]NVStorageSaveData kkm_last_timestamp [22:51:33]File name is /storage/kkm_last_timestamp [22:51:33]Write 4 bytes [22:51:33]NVStorageSaveData done [22:51:33]ExternCall_PrintAddStr [22:51:33]wPrintStart [22:51:33]Write to MH i2c: 01 00 00 CA 02 CC [22:51:33]Write i2c OK [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: 01 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: 01 07 00 [22:51:33]MH_I2C_Read... [22:51:33]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 FF 0F E1 [22:51:33]RasterBufferAndPrint [22:51:33]line Счет N : (3)129318 [22:51:33]line ИНН: 02508201610067 [22:51:33]line Контрольно-Кассовый Чек [22:51:33]line ПРОДАЖА [22:51:33]line Товар: 42203223 [22:51:33]line Драже Skittles 2в1 [22:51:33]line 1.000 * 60.00 [22:51:33]line = 60.00 [22:51:33]line НДС 12% НСП 1% [22:51:33]line > о реализуемом товаре [22:51:33]line ИТОГО: 60.00 [22:51:33]line НСП 1% : 0.53 [22:51:33]line НДС 12% : 6.37 [22:51:33]line Наличными: 60.00 [22:51:33]line Безнал.: 0.00 [22:51:33]line Место: АЗС № 132 "Партнер Нефть" [22:51:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:51:33]line СНО: Общий режим [22:51:33]line Чек 98 12.07.2024 22:51 [22:51:33]line Смена: 494 ФФД: 1.0 [22:51:33]line ЗНМ: 0300000132 [22:51:33]line РНМ: 0000000000091208 [22:51:33]line Версия ККМ: 001 [22:51:33]line ФМ: 0000000000874857 [22:51:33]line ФД: 56830 [22:51:33]line ФПД: 113295129638065 [22:51:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225132&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56830&fm=113295129638065&tin=02508201610067®Number=0000000000091208&sum=6000 [22:51:33]line 0 [22:51:33]OFD Sender: Processing packet 56830 [packets to send 38, broken 37] [22:51:33]ProducePacketName [22:51:33]name=ofd_packets/00056830 [22:51:33]OFD Sender: To server: pG, [22:51:33]CommunicateWithHost lk.salyk.kg:30040 [22:51:33]ConnectInit lk.salyk.kg [22:51:33]written 0, free lines is 4095 [22:51:34]Connected sock=10 [22:51: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 38 35 37 19 01 00 00 EA 1F 11 01 FA 13 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 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 62 00 00 00 F4 03 04 00 74 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DD 00 00 35 04 06 00 67 0A 93 F4 F4 B1 6C B4 ED 0D F3 07 5D 48 [22:51:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 36 E6 47 00 AF 81 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 38 35 37 10 04 04 00 FE DD 00 00 F4 03 04 00 CA 59 91 66 B6 04 01 00 00 C3 3D FC 7C C0 7F 14 F5 [22:51:34]CommunicateWithHost err = 0 [22:51:34]CheckOFDResponse [22:51:34]1017 (14) - 77093643461234 [22:51:34]1041 (16) - 0000000000874857 [22:51:34]1040 (4) - 56830 [22:51:34]1012 (4) - 12.07.2024 16:28 [22:51:34]1206 (1) - 0 [22:51:34]OFD Sender: Remove packet 56830 [22:51:34]ProducePacketName [22:51:34]name=ofd_packets/00056830 [22:51:34]NVStorageDeleteData [22:51:34]Write to MH i2c: 01 00 00 F2 02 F4 [22:51:34]Write i2c OK [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: 01 [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: 01 07 00 [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: 01 07 00 F2 02 00 00 00 00 00 09 0D 11 [22:51:34]RasterBufferAndPrint [22:51:34]line [22:51:34]line [22:51:34]line [22:51:34]line [22:51:34]line [22:51:34]written 0, free lines is 3343 [22:51:34]MH_Cut [22:51:34]Write to MH i2c: D1 01 00 F9 02 01 CD [22:51:34]Write i2c OK [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: D1 [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: D1 01 00 [22:51:34]MH_I2C_Read... [22:51:34]Read from MH i2c: D1 01 00 F9 02 00 CC [22:51:34]Write to MH i2c: 01 00 00 FA 02 FC [22:51:34]Write i2c OK [22:51:34]MH_I2C_Read... [22:51:34]OFD Sender: No OFD packet to send [22:51:35]*** Cut start [22:51:35]*** Partial cut [22:51:35]*** CUTSNS_PIN = 1 [22:51:35]*** CUTSNS_PIN = 0 [22:51:35]*** Brake cut motor [22:51:35]Read from MH i2c: 01 [22:51:35]MH_I2C_Read... [22:51:35]*** Stop cut motor [22:51:35]*** Cut end [22:51:35]Read from MH i2c: 01 07 00 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: 01 07 00 FA 02 00 00 00 00 00 FF 0F 11 [22:51:35]process_action close_receipt done [22:51:35]requested_data is exist [22:51:35]produce_requested_data [22:51:35]requested_item fm.sn is exist - process it [22:51:35]wFMCommunicate request_size=4 [22:51:35]MH_SAM_APDU [22:51:35]CAPDU: 80 11 00 00 [22:51:35]Write to MH i2c: E2 08 00 FB 02 80 11 00 00 00 00 00 00 77 [22:51:35]Write i2c OK [22:51:35]MH_I2C_Read... [22:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:35]Read from MH i2c: E2 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 17 00 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 17 00 FB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D1 [22:51:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:51:35]wFMCommunicate OK [22:51:35]requested_item fd.num is exist - process it [22:51:35]SAM_PROTO_GetFieldsCounters [22:51:35]wFMCommunicate request_size=4 [22:51:35]MH_SAM_APDU [22:51:35]CAPDU: 80 13 00 00 [22:51:35]Write to MH i2c: E2 08 00 FC 02 80 13 00 00 00 00 00 00 7A [22:51:35]Write i2c OK [22:51:35]MH_I2C_Read... [22:51:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:51:35]Read from MH i2c: E2 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 62 00 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 62 00 FC 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FE DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [22:51: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FE DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:51:35]wFMCommunicate OK [22:51:35]SAM_PROTO_GetFieldsCounters done [22:51:35]requested_item shift.num is exist - process it [22:51:35]requested_item shift.opened is exist - process it [22:51:35]req_shift_opened [22:51:35]FM_GetShiftState [22:51:35]SAM_PROTO_GetShiftState [22:51:35]wFMCommunicate request_size=4 [22:51:35]MH_SAM_APDU [22:51:35]CAPDU: 80 13 01 00 [22:51:35]Write to MH i2c: E2 08 00 FD 02 80 13 01 00 00 00 00 00 7C [22:51:35]Write i2c OK [22:51:35]MH_I2C_Read... [22:51:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:35]Read from MH i2c: E2 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 0E 00 [22:51:35]MH_I2C_Read... [22:51:35]Read from MH i2c: E2 0E 00 FD 02 00 09 00 01 86 79 90 66 00 00 00 00 90 00 7D [22:51:35]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:51:35]wFMCommunicate OK [22:51:35]SAM_PROTO_GetShiftState done [22:51:35]FM_GetShiftState done [22:51:35]req_shift_opened done [22:51:35]requested_item shift.open_date is exist - process it [22:51:35]req_shift_open_date [22:51:35]req_shift_open_date done [22:51:35]requested_item shift.sale.total is exist - process it [22:51:35]SAM_PROTO_GetShiftData [22:51:35]wFMCommunicate request_size=4 [22:51:35]MH_SAM_APDU [22:51:35]CAPDU: 80 13 02 00 [22:51:35]Write to MH i2c: E2 08 00 FE 02 80 13 02 00 00 00 00 00 7E [22:51:35]Write i2c OK [22:51:35]MH_I2C_Read... [22:51:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:51:36]Read from MH i2c: E2 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 FE 02 00 B6 04 AA 04 B2 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 98 1C 27 70 04 03 00 EC F5 1D 72 04 03 00 AC 26 09 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 68 27 04 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 94 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 F2 [22:51:36]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 98 1C 27 70 04 03 00 EC F5 1D 72 04 03 00 AC 26 09 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 68 27 04 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 94 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:51:36]wFMCommunicate OK [22:51:36]wFMCommunicate request_size=4 [22:51:36]MH_SAM_APDU [22:51:36]CAPDU: 80 17 00 00 [22:51:36]Write to MH i2c: E2 08 00 FF 02 80 17 00 00 00 00 00 00 81 [22:51:36]Write i2c OK [22:51:36]MH_I2C_Read... [22:51:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:51:36]Read from MH i2c: E2 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 FF 02 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [22:51:36]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:51:36]wFMCommunicate OK [22:51:36]wFMCommunicate request_size=4 [22:51:36]MH_SAM_APDU [22:51:36]CAPDU: 80 17 00 00 [22:51:36]Write to MH i2c: E2 08 00 00 03 80 17 00 00 00 00 00 00 83 [22:51:36]Write i2c OK [22:51:36]MH_I2C_Read... [22:51:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:51:36]Read from MH i2c: E2 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 [22:51:36]MH_I2C_Read... [22:51:36]Read from MH i2c: E2 FD 00 00 03 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 43 [22:51:37]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:51:37]wFMCommunicate OK [22:51:37]wFMCommunicate request_size=4 [22:51:37]MH_SAM_APDU [22:51:37]CAPDU: 80 17 00 00 [22:51:37]Write to MH i2c: E2 08 00 01 03 80 17 00 00 00 00 00 00 84 [22:51:37]Write i2c OK [22:51:37]MH_I2C_Read... [22:51:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:51:37]Read from MH i2c: E2 [22:51:37]MH_I2C_Read... [22:51:37]Read from MH i2c: E2 FD 00 [22:51:37]MH_I2C_Read... [22:51:37]Read from MH i2c: E2 FD 00 01 03 00 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 90 00 F3 [22:51:37]RAPDU: 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 90 00 [22:51:37]wFMCommunicate OK [22:51:37]wFMCommunicate request_size=4 [22:51:37]MH_SAM_APDU [22:51:37]CAPDU: 80 17 00 00 [22:51:37]Write to MH i2c: E2 08 00 02 03 80 17 00 00 00 00 00 00 85 [22:51:37]Write i2c OK [22:51:37]MH_I2C_Read... [22:51:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:51:37]Read from MH i2c: E2 [22:51:37]MH_I2C_Read... [22:51:37]Read from MH i2c: E2 D3 00 [22:51:37]MH_I2C_Read... [22:51:37]Read from MH i2c: E2 D3 00 02 03 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 72 [22:51:37]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:51:37]wFMCommunicate OK [22:51:37]SAM_PROTO_GetShiftData done [22:51:37]requested_item shift.sale.total_cash is exist - process it [22:51:37]requested_item shift.sale_refund.total is exist - process it [22:51:37]requested_item shift.sale_refund.total_cash is exist - process it [22:51:37]produce_requested_data done [22:51:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56830,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25632.24,"shift.sale.total_cash":19635.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:51:37]process_action_free close_receipt [22:51:37]json_value_free [22:51:37]json_value_free done [22:51:37]process_json_proto returns [22:51:37]Send response to host [22:51:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56830,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25632.24,"shift.sale.total_cash":19635.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:51:37]free response buf [22:51:37]execute_script done [22:51:37]execute_script returns [22:51:37]free content buf [22:51:37]Sock 9.Close socket [22:51:37]Sock 9.Thread stoped [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:18]accept exits with 8 [22:52:18]New connection [22:52:18]New thread 3067420004 created [22:52:18]Thread 3067563364 joined [22:52:18]Waiting for new connection... [22:52:18] Sock 8.Parse request [22:52:18]Sock 8.Check first char [22:52:18]Sock 8.First char is OK [22:52:18]request: POST /json_proto HTTP/1.0 [22:52:18]Method: POST [22:52:18]URL: /json_proto [22:52:18]Method is POST - this is cgi request [22:52:18]url: /json_proto [22:52:18]query_string will be loaded in cgi processing [22:52:18]execute_cgi json_proto POST (null) [22:52:18]execute_cgi path=json_proto method=POST [22:52:18]POST find Content-Length [22:52:18]Host: 172.17.39.4:8080 [22:52:18]Content-Length: 1005 [22:52:18]Content-Type: application/json [22:52:18] [22:52:18]POST finish read [22:52:18]Found Content-Length = 1005 [22:52:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129319", "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" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 41.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:52:18]execute_script... [22:52:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129319", "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" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 41.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:52:18]POST & json_proto [22:52:18]process_json_proto [22:52:18]json parsed OK: [22:52:18]protocol is kg_v1.0 [22:52:18]action value=close_receipt [22:52:18]process_action close_receipt [22:52:18]cmd_close_receipt [22:52:18]MH_GetDate [22:52:18]Write to MH i2c: F0 00 00 03 03 F5 [22:52:18]Write i2c OK [22:52:18]MH_I2C_Read... [22:52:18]Read from MH i2c: F0 [22:52:18]MH_I2C_Read... [22:52:18]Read from MH i2c: F0 09 00 [22:52:18]MH_I2C_Read... [22:52:18]Read from MH i2c: F0 09 00 03 03 00 A3 B3 91 66 2D 25 5D 64 5E [22:52:18]GetLastDocTimeStamp 1720824692 [22:52:18]current date 1720824739 [22:52:18]FM_GetShiftState [22:52:18]SAM_PROTO_GetShiftState [22:52:18]wFMCommunicate request_size=4 [22:52:18]MH_SAM_APDU [22:52:18]CAPDU: 80 13 01 00 [22:52:18]Write to MH i2c: E2 08 00 04 03 80 13 01 00 00 00 00 00 84 [22:52:18]Write i2c OK [22:52:18]MH_I2C_Read... [22:52:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:52:18]Read from MH i2c: E2 [22:52:18]MH_I2C_Read... [22:52:18]Read from MH i2c: E2 0E 00 [22:52:18]MH_I2C_Read... [22:52:18]Read from MH i2c: E2 0E 00 04 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 85 [22:52:18]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:52:18]wFMCommunicate OK [22:52:18]SAM_PROTO_GetShiftState done [22:52:18]FM_GetShiftState done [22:52:18]opened in 1720744326 [22:52:18]opened+sec_in_day 1720830726 [22:52:18]quantity*price = 4100 [22:52:18]sum+1 = 4101 [22:52:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 41.00 НСП 1% : 0.36 НДС 12% : 4.35 Наличными: 0.00 Безнал.: 41.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 99 12.07.2024 22:52 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56831 ФПД: 118106577461598 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225219&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56831&fm=118106577461598&tin=02508201610067®Number=0000000000091208&sum=4100 0 [22:52:19]StoreToDocumentArchive [22:52:19]shift 494 fd 56831 [22:52:19]save to /storage/0494/doc_00056831 [22:52:19]save last doc name /storage/0494/doc_00056831 to /storage/kkm_last_doc_name [22:52:19]save OK [22:52:19]Clear old archive folders... [22:52:19]ProcessDocumentItem done err = 0, tmpTLVsize=295 [22:52:19]tlvbuf is 01308F20 [22:52:19]SAM_PROTO_ClearQueue [22:52:19]wFMCommunicate request_size=4 [22:52:19]MH_SAM_APDU [22:52:19]CAPDU: 80 09 00 00 [22:52:19]Write to MH i2c: E2 08 00 11 03 80 09 00 00 00 00 00 00 86 [22:52:19]Write i2c OK [22:52:19]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 11 03 00 90 00 88 [22:52:20]RAPDU: 90 00 [22:52:20]wFMCommunicate OK [22:52:20]SAM_PROTO_ClearQueue done [22:52:20]KKMCreateOFDPacket [22:52:20]OFDProtocolAddRootSTLVToBuf [22:52:20]FM_MakeSignedData [22:52:20]FM_MakeSignedData [22:52:20]SAM_PROTO_SignData [22:52:20]wFMCommunicate request_size=4 [22:52:20]MH_SAM_APDU [22:52:20]CAPDU: 80 0D 01 02 [22:52:20]Write to MH i2c: E2 08 00 12 03 80 0D 01 02 00 00 00 00 8E [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 12 03 00 90 00 89 [22:52:20]RAPDU: 90 00 [22:52:20]wFMCommunicate OK [22:52:20]wFMCommunicate request_size=255 [22:52:20]MH_SAM_APDU [22:52:20]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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 A3 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [22:52:20]Write to MH i2c: E2 02 01 13 03 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 A3 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 0E [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 13 03 00 90 00 8A [22:52:20]RAPDU: 90 00 [22:52:20]wFMCommunicate OK [22:52:20]wFMCommunicate request_size=54 [22:52:20]MH_SAM_APDU [22:52:20]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DD 00 00 35 04 06 00 6B 6A D4 98 61 5E [22:52:20]Write to MH i2c: E2 39 00 14 03 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DD 00 00 35 04 06 00 6B 6A D4 98 61 5E 00 00 96 [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 03 00 14 03 00 90 00 8B [22:52:20]RAPDU: 90 00 [22:52:20]wFMCommunicate OK [22:52:20]wFMCommunicate request_size=4 [22:52:20]MH_SAM_APDU [22:52:20]CAPDU: 80 0D 03 02 [22:52:20]Write to MH i2c: E2 08 00 15 03 80 0D 03 02 00 00 00 00 93 [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 0B 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 0B 00 15 03 00 C9 5C FB D7 F8 29 88 B6 90 00 EA [22:52:20]RAPDU: C9 5C FB D7 F8 29 88 B6 90 00 [22:52:20]wFMCommunicate OK [22:52:20]SAM_PROTO_SignData done [22:52:20]FM_MakeSignedData done [22:52:20]CreateOFDProtocolMessage [22:52:20]wFMCommunicate request_size=4 [22:52:20]MH_SAM_APDU [22:52:20]CAPDU: 80 11 00 00 [22:52:20]Write to MH i2c: E2 08 00 16 03 80 11 00 00 00 00 00 00 93 [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:52:20]Read from MH i2c: E2 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 17 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: E2 17 00 16 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 ED [22:52:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:52:20]wFMCommunicate OK [22:52:20]CreateOFDProtocolMessage done [22:52:20]OFDSenderStorePacket 56831 [22:52:20]StoreOFDPacket docnum=56831 [22:52:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3B 01 00 00 F4 31 33 01 AD 87 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 A3 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DD 00 00 35 04 06 00 6B 6A D4 98 61 5E C9 5C FB D7 F8 29 88 B6 [22:52:20]CheckFolder [22:52:20]dirname=/storage/ofd_packets [22:52:20]CheckFolder done [22:52:20]ProducePacketName [22:52:20]name=ofd_packets/00056831 [22:52:20]NVStorageSaveData ofd_packets/00056831 [22:52:20]File name is /storage/ofd_packets/00056831 [22:52:20]Write 345 bytes [22:52:20]NVStorageSaveData done [22:52:20]OFDSenderStorePacket done [22:52:20]KKMCreateOFDPacket done [22:52:20]NVStorageSaveData kkm_last_timestamp [22:52:20]File name is /storage/kkm_last_timestamp [22:52:20]Write 4 bytes [22:52:20]NVStorageSaveData done [22:52:20]ExternCall_PrintAddStr [22:52:20]wPrintStart [22:52:20]Write to MH i2c: 01 00 00 17 03 1A [22:52:20]Write i2c OK [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: 01 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: 01 07 00 [22:52:20]MH_I2C_Read... [22:52:20]Read from MH i2c: 01 07 00 17 03 00 00 00 00 00 FF 0F 2F [22:52:20]RasterBufferAndPrint [22:52:20]line Счет N : (3)129319 [22:52:20]line ИНН: 02508201610067 [22:52:20]line Контрольно-Кассовый Чек [22:52:20]line ПРОДАЖА [22:52:20]line Товар: 4607010740757 [22:52:20]line Чипсы Чипсоны сметана, лук 40г [22:52:20]line 1.000 * 41.00 [22:52:20]line = 41.00 [22:52:20]line НДС 12% НСП 1% [22:52:20]line > о реализуемом товаре [22:52:20]line ИТОГО: 41.00 [22:52:20]line НСП 1% : 0.36 [22:52:20]line НДС 12% : 4.35 [22:52:20]line Наличными: 0.00 [22:52:20]line Безнал.: 41.00 [22:52:20]line Место: АЗС № 132 "Партнер Нефть" [22:52:20]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:52:20]line СНО: Общий режим [22:52:20]line Чек 99 12.07.2024 22:52 [22:52:20]line Смена: 494 ФФД: 1.0 [22:52:20]line ЗНМ: 0300000132 [22:52:20]line РНМ: 0000000000091208 [22:52:20]line Версия ККМ: 001 [22:52:20]line Платежная система: АКБ Кыргызстан [22:52:20]line ФМ: 0000000000874857 [22:52:20]line ФД: 56831 [22:52:20]line ФПД: 118106577461598 [22:52:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225219&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56831&fm=118106577461598&tin=02508201610067®Number=0000000000091208&sum=4100 [22:52:20]line 0 [22:52:20]OFD Sender: Processing packet 56831 [packets to send 38, broken 37] [22:52:20]ProducePacketName [22:52:20]name=ofd_packets/00056831 [22:52:20]OFD Sender: To server: pG, [22:52:20]CommunicateWithHost lk.salyk.kg:30040 [22:52:20]ConnectInit lk.salyk.kg [22:52:20]written 0, free lines is 4095 [22:52:21]Connected sock=10 [22:52: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 38 35 37 3B 01 00 00 F4 31 33 01 AD 87 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 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 A3 B3 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DD 00 00 35 04 06 00 6B 6A D4 98 61 5E C9 5C FB D7 F8 29 88 B6 [22:52:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 90 68 47 00 BD D9 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 38 35 37 10 04 04 00 FF DD 00 00 F4 03 04 00 F9 59 91 66 B6 04 01 00 00 15 B1 B7 D6 BA F9 EC 98 [22:52:21]CommunicateWithHost err = 0 [22:52:21]CheckOFDResponse [22:52:21]1017 (14) - 77093643461234 [22:52:21]1041 (16) - 0000000000874857 [22:52:21]1040 (4) - 56831 [22:52:21]1012 (4) - 12.07.2024 16:29 [22:52:21]1206 (1) - 0 [22:52:21]OFD Sender: Remove packet 56831 [22:52:21]ProducePacketName [22:52:21]name=ofd_packets/00056831 [22:52:21]NVStorageDeleteData [22:52:21]Write to MH i2c: 01 00 00 42 03 45 [22:52:21]Write i2c OK [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: 01 [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: 01 07 00 [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 DB 0C 33 [22:52:21]RasterBufferAndPrint [22:52:21]line [22:52:21]line [22:52:21]line [22:52:21]line [22:52:21]line [22:52:21]written 0, free lines is 3299 [22:52:21]MH_Cut [22:52:21]Write to MH i2c: D1 01 00 49 03 01 1E [22:52:21]Write i2c OK [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: D1 [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: D1 01 00 [22:52:21]MH_I2C_Read... [22:52:21]Read from MH i2c: D1 01 00 49 03 00 1D [22:52:21]Write to MH i2c: 01 00 00 4A 03 4D [22:52:21]Write i2c OK [22:52:21]MH_I2C_Read... [22:52:21]OFD Sender: No OFD packet to send [22:52:22]*** Cut start [22:52:22]*** Partial cut [22:52:22]*** CUTSNS_PIN = 1 [22:52:22]*** CUTSNS_PIN = 0 [22:52:22]*** Brake cut motor [22:52:22]Read from MH i2c: 01 [22:52:22]MH_I2C_Read... [22:52:22]*** Stop cut motor [22:52:22]*** Cut end [22:52:22]Read from MH i2c: 01 07 00 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: 01 07 00 4A 03 00 00 00 00 00 FF 0F 62 [22:52:22]process_action close_receipt done [22:52:22]requested_data is exist [22:52:22]produce_requested_data [22:52:22]requested_item fm.sn is exist - process it [22:52:22]wFMCommunicate request_size=4 [22:52:22]MH_SAM_APDU [22:52:22]CAPDU: 80 11 00 00 [22:52:22]Write to MH i2c: E2 08 00 4B 03 80 11 00 00 00 00 00 00 C8 [22:52:22]Write i2c OK [22:52:22]MH_I2C_Read... [22:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:52:22]Read from MH i2c: E2 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 17 00 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 17 00 4B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 22 [22:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:52:22]wFMCommunicate OK [22:52:22]requested_item fd.num is exist - process it [22:52:22]SAM_PROTO_GetFieldsCounters [22:52:22]wFMCommunicate request_size=4 [22:52:22]MH_SAM_APDU [22:52:22]CAPDU: 80 13 00 00 [22:52:22]Write to MH i2c: E2 08 00 4C 03 80 13 00 00 00 00 00 00 CB [22:52:22]Write i2c OK [22:52:22]MH_I2C_Read... [22:52:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:52:22]Read from MH i2c: E2 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 62 00 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 62 00 4C 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FF DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [22:52: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FF DD 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:52:22]wFMCommunicate OK [22:52:22]SAM_PROTO_GetFieldsCounters done [22:52:22]requested_item shift.num is exist - process it [22:52:22]requested_item shift.opened is exist - process it [22:52:22]req_shift_opened [22:52:22]FM_GetShiftState [22:52:22]SAM_PROTO_GetShiftState [22:52:22]wFMCommunicate request_size=4 [22:52:22]MH_SAM_APDU [22:52:22]CAPDU: 80 13 01 00 [22:52:22]Write to MH i2c: E2 08 00 4D 03 80 13 01 00 00 00 00 00 CD [22:52:22]Write i2c OK [22:52:22]MH_I2C_Read... [22:52:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:52:22]Read from MH i2c: E2 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 0E 00 [22:52:22]MH_I2C_Read... [22:52:22]Read from MH i2c: E2 0E 00 4D 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CE [22:52:22]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [22:52:22]wFMCommunicate OK [22:52:22]SAM_PROTO_GetShiftState done [22:52:22]FM_GetShiftState done [22:52:22]req_shift_opened done [22:52:22]requested_item shift.open_date is exist - process it [22:52:22]req_shift_open_date [22:52:22]req_shift_open_date done [22:52:22]requested_item shift.sale.total is exist - process it [22:52:22]SAM_PROTO_GetShiftData [22:52:22]wFMCommunicate request_size=4 [22:52:22]MH_SAM_APDU [22:52:22]CAPDU: 80 13 02 00 [22:52:22]Write to MH i2c: E2 08 00 4E 03 80 13 02 00 00 00 00 00 CF [22:52:22]Write i2c OK [22:52:22]MH_I2C_Read... [22:52:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:52:23]Read from MH i2c: E2 [22:52:23]MH_I2C_Read... [22:52:23]Read from MH i2c: E2 FD 00 [22:52:23]MH_I2C_Read... [22:52:23]Read from MH i2c: E2 FD 00 4E 03 00 B6 04 AA 04 B2 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 9C 2C 27 70 04 03 00 EC F5 1D 72 04 03 00 B0 36 09 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 1B 29 04 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 B8 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 46 [22:52:23]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 9C 2C 27 70 04 03 00 EC F5 1D 72 04 03 00 B0 36 09 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 1B 29 04 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 B8 58 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [22:52:23]wFMCommunicate OK [22:52:23]wFMCommunicate request_size=4 [22:52:23]MH_SAM_APDU [22:52:23]CAPDU: 80 17 00 00 [22:52:23]Write to MH i2c: E2 08 00 4F 03 80 17 00 00 00 00 00 00 D2 [22:52:23]Write i2c OK [22:52:23]MH_I2C_Read... [22:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:52:23]Read from MH i2c: E2 [22:52:23]MH_I2C_Read... [22:52:23]Read from MH i2c: E2 FD 00 [22:52:23]MH_I2C_Read... [22:52:23]Read from MH i2c: E2 FD 00 4F 03 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [22:52:23]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:52:23]wFMCommunicate OK [22:52:23]wFMCommunicate request_size=4 [22:52:23]MH_SAM_APDU [22:52:23]CAPDU: 80 17 00 00 [22:52:23]Write to MH i2c: E2 08 00 50 03 80 17 00 00 00 00 00 00 D3 [22:52:23]Write i2c OK [22:52:23]MH_I2C_Read... [22:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:52:23]Read from MH i2c: E2 [22:52:23]MH_I2C_Read... [22:52:23]Read from MH i2c: E2 FD 00 [22:52:23]MH_I2C_Read... [22:52:24]Read from MH i2c: E2 FD 00 50 03 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 93 [22:52:24]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:52:24]wFMCommunicate OK [22:52:24]wFMCommunicate request_size=4 [22:52:24]MH_SAM_APDU [22:52:24]CAPDU: 80 17 00 00 [22:52:24]Write to MH i2c: E2 08 00 51 03 80 17 00 00 00 00 00 00 D4 [22:52:24]Write i2c OK [22:52:24]MH_I2C_Read... [22:52:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:52:24]Read from MH i2c: E2 [22:52:24]MH_I2C_Read... [22:52:24]Read from MH i2c: E2 FD 00 [22:52:24]MH_I2C_Read... [22:52:24]Read from MH i2c: E2 FD 00 51 03 00 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 90 00 43 [22:52:24]RAPDU: 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 90 00 [22:52:24]wFMCommunicate OK [22:52:24]wFMCommunicate request_size=4 [22:52:24]MH_SAM_APDU [22:52:24]CAPDU: 80 17 00 00 [22:52:24]Write to MH i2c: E2 08 00 52 03 80 17 00 00 00 00 00 00 D5 [22:52:24]Write i2c OK [22:52:24]MH_I2C_Read... [22:52:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [22:52:24]Read from MH i2c: E2 [22:52:24]MH_I2C_Read... [22:52:24]Read from MH i2c: E2 D3 00 [22:52:24]MH_I2C_Read... [22:52:24]Read from MH i2c: E2 D3 00 52 03 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C2 [22:52:24]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [22:52:24]wFMCommunicate OK [22:52:24]SAM_PROTO_GetShiftData done [22:52:24]requested_item shift.sale.total_cash is exist - process it [22:52:24]requested_item shift.sale_refund.total is exist - process it [22:52:24]requested_item shift.sale_refund.total_cash is exist - process it [22:52:24]produce_requested_data done [22:52:24]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56831,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25673.24,"shift.sale.total_cash":19635.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [22:52:24]process_action_free close_receipt [22:52:24]json_value_free [22:52:24]json_value_free done [22:52:24]process_json_proto returns [22:52:24]Send response to host [22:52:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56831,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25673.24,"shift.sale.total_cash":19635.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [22:52:24]free response buf [22:52:24]execute_script done [22:52:24]execute_script returns [22:52:24]free content buf [22:52:24]Sock 8.Close socket [22:52:24]Sock 8.Thread stoped [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:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:02]OFD Sender: No OFD packet to send [22:59:07]OFD Sender: No OFD packet to send [22:59:12]OFD Sender: No OFD packet to send [22:59:17]OFD Sender: No OFD packet to send [22:59:22]OFD Sender: No OFD packet to send [22:59:27]OFD Sender: No OFD packet to send [22:59:32]OFD Sender: No OFD packet to send [22:59:37]OFD Sender: No OFD packet to send [22:59:42]OFD Sender: No OFD packet to send [22:59:47]OFD Sender: No OFD packet to send [22:59:52]OFD Sender: No OFD packet to send [22:59:57]OFD Sender: No OFD packet to send [23:00:02]OFD Sender: No OFD packet to send [23:00:07]OFD Sender: No OFD packet to send [23:00:12]OFD Sender: No OFD packet to send [23:00:14]accept exits with 9 [23:00:14]New connection [23:00:14]New thread 3067563364 created [23:00:14]Thread 3067420004 joined [23:00:14]Waiting for new connection... [23:00:14] Sock 9.Parse request [23:00:14]Sock 9.Check first char [23:00:14]Sock 9.First char is OK [23:00:14]request: POST /json_proto HTTP/1.0 [23:00:14]Method: POST [23:00:14]URL: /json_proto [23:00:14]Method is POST - this is cgi request [23:00:14]url: /json_proto [23:00:14]query_string will be loaded in cgi processing [23:00:14]execute_cgi json_proto POST (null) [23:00:14]execute_cgi path=json_proto method=POST [23:00:14]POST find Content-Length [23:00:14]Host: 172.17.39.4:8080 [23:00:14]Content-Length: 674 [23:00:14]Content-Type: application/json [23:00:14] [23:00:14]POST finish read [23:00:14]Found Content-Length = 674 [23:00:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129320", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:00:14]execute_script... [23:00: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)129320", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:00:14]POST & json_proto [23:00:14]process_json_proto [23:00:14]json parsed OK: [23:00:14]protocol is kg_v1.0 [23:00:14]action value=close_receipt [23:00:14]process_action close_receipt [23:00:14]cmd_close_receipt [23:00:14]MH_GetDate [23:00:14]Write to MH i2c: F0 00 00 53 03 45 [23:00:14]Write i2c OK [23:00:14]MH_I2C_Read... [23:00:14]Read from MH i2c: F0 [23:00:14]MH_I2C_Read... [23:00:14]Read from MH i2c: F0 09 00 [23:00:14]MH_I2C_Read... [23:00:14]Read from MH i2c: F0 09 00 53 03 00 7F B5 91 66 2D 25 5D 64 8C [23:00:14]GetLastDocTimeStamp 1720824739 [23:00:14]current date 1720825215 [23:00:14]FM_GetShiftState [23:00:14]SAM_PROTO_GetShiftState [23:00:14]wFMCommunicate request_size=4 [23:00:14]MH_SAM_APDU [23:00:14]CAPDU: 80 13 01 00 [23:00:14]Write to MH i2c: E2 08 00 54 03 80 13 01 00 00 00 00 00 D4 [23:00:14]Write i2c OK [23:00:14]MH_I2C_Read... [23:00:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:14]Read from MH i2c: E2 [23:00:14]MH_I2C_Read... [23:00:14]Read from MH i2c: E2 0E 00 [23:00:14]MH_I2C_Read... [23:00:14]Read from MH i2c: E2 0E 00 54 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 D5 [23:00:14]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:00:14]wFMCommunicate OK [23:00:14]SAM_PROTO_GetShiftState done [23:00:14]FM_GetShiftState done [23:00:14]opened in 1720744326 [23:00:14]opened+sec_in_day 1720830726 [23:00:14]quantity*price = 13000 [23:00:14]sum+1 = 13001 [23:00:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 100 12.07.2024 23:00 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56832 ФПД: 15316291291263 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230015&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56832&fm=15316291291263&tin=02508201610067®Number=0000000000091208&sum=13000 0 [23:00:15]StoreToDocumentArchive [23:00:15]shift 494 fd 56832 [23:00:15]save to /storage/0494/doc_00056832 [23:00:16]save last doc name /storage/0494/doc_00056832 to /storage/kkm_last_doc_name [23:00:16]save OK [23:00:16]Clear old archive folders... [23:00:16]ProcessDocumentItem done err = 0, tmpTLVsize=254 [23:00:16]tlvbuf is 012F2230 [23:00:16]SAM_PROTO_ClearQueue [23:00:16]wFMCommunicate request_size=4 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 09 00 00 [23:00:16]Write to MH i2c: E2 08 00 61 03 80 09 00 00 00 00 00 00 D6 [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 61 03 00 90 00 D8 [23:00:16]RAPDU: 90 00 [23:00:16]wFMCommunicate OK [23:00:16]SAM_PROTO_ClearQueue done [23:00:16]KKMCreateOFDPacket [23:00:16]OFDProtocolAddRootSTLVToBuf [23:00:16]FM_MakeSignedData [23:00:16]FM_MakeSignedData [23:00:16]SAM_PROTO_SignData [23:00:16]wFMCommunicate request_size=4 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 0D 01 02 [23:00:16]Write to MH i2c: E2 08 00 62 03 80 0D 01 02 00 00 00 00 DE [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 62 03 00 90 00 D9 [23:00:16]RAPDU: 90 00 [23:00:16]wFMCommunicate OK [23:00:16]wFMCommunicate request_size=255 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 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 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 64 00 00 00 F4 03 04 00 7F B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DE 00 00 35 04 [23:00:16]Write to MH i2c: E2 02 01 63 03 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 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 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 64 00 00 00 F4 03 04 00 7F B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DE 00 00 35 04 00 00 40 [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 63 03 00 90 00 DA [23:00:16]RAPDU: 90 00 [23:00:16]wFMCommunicate OK [23:00:16]wFMCommunicate request_size=13 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 0D 02 02 08 06 00 0D EE 1A 1A 08 7F [23:00:16]Write to MH i2c: E2 10 00 64 03 80 0D 02 02 08 00 06 00 0D EE 1A 1A 08 7F 00 00 AD [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [23:00:16]RAPDU: 90 00 [23:00:16]wFMCommunicate OK [23:00:16]wFMCommunicate request_size=4 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 0D 03 02 [23:00:16]Write to MH i2c: E2 08 00 65 03 80 0D 03 02 00 00 00 00 E3 [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 0B 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 0B 00 65 03 00 91 B5 7C F2 64 19 76 B3 90 00 3E [23:00:16]RAPDU: 91 B5 7C F2 64 19 76 B3 90 00 [23:00:16]wFMCommunicate OK [23:00:16]SAM_PROTO_SignData done [23:00:16]FM_MakeSignedData done [23:00:16]CreateOFDProtocolMessage [23:00:16]wFMCommunicate request_size=4 [23:00:16]MH_SAM_APDU [23:00:16]CAPDU: 80 11 00 00 [23:00:16]Write to MH i2c: E2 08 00 66 03 80 11 00 00 00 00 00 00 E3 [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:16]Read from MH i2c: E2 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 17 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: E2 17 00 66 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3D [23:00:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:00:16]wFMCommunicate OK [23:00:16]CreateOFDProtocolMessage done [23:00:16]OFDSenderStorePacket 56832 [23:00:16]StoreOFDPacket docnum=56832 [23:00:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 12 01 00 00 CE FC 0A 01 EF 0C 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 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 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 64 00 00 00 F4 03 04 00 7F B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DE 00 00 35 04 06 00 0D EE 1A 1A 08 7F 91 B5 7C F2 64 19 76 B3 [23:00:16]CheckFolder [23:00:16]dirname=/storage/ofd_packets [23:00:16]CheckFolder done [23:00:16]ProducePacketName [23:00:16]name=ofd_packets/00056832 [23:00:16]NVStorageSaveData ofd_packets/00056832 [23:00:16]File name is /storage/ofd_packets/00056832 [23:00:16]Write 304 bytes [23:00:16]NVStorageSaveData done [23:00:16]OFDSenderStorePacket done [23:00:16]KKMCreateOFDPacket done [23:00:16]NVStorageSaveData kkm_last_timestamp [23:00:16]File name is /storage/kkm_last_timestamp [23:00:16]Write 4 bytes [23:00:16]NVStorageSaveData done [23:00:16]ExternCall_PrintAddStr [23:00:16]wPrintStart [23:00:16]Write to MH i2c: 01 00 00 67 03 6A [23:00:16]Write i2c OK [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: 01 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: 01 07 00 [23:00:16]MH_I2C_Read... [23:00:16]Read from MH i2c: 01 07 00 67 03 00 00 00 00 00 FF 0F 7F [23:00:16]RasterBufferAndPrint [23:00:16]line Счет N : (3)129320 [23:00:16]line ИНН: 02508201610067 [23:00:16]line Контрольно-Кассовый Чек [23:00:16]line ПРОДАЖА [23:00:16]line Товар: 48744546 [23:00:16]line LD Compact Silver [23:00:16]line 1.000 * 130.00 [23:00:16]line = 130.00 [23:00:16]line НДС 12% НСП 1% [23:00:16]line > о реализуемом товаре [23:00:16]line ИТОГО: 130.00 [23:00:16]line НСП 1% : 1.15 [23:00:16]line НДС 12% : 13.80 [23:00:16]line Наличными: 130.00 [23:00:16]line Безнал.: 0.00 [23:00:16]line Место: АЗС № 132 "Партнер Нефть" [23:00:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:00:16]line СНО: Общий режим [23:00:16]line Чек 100 12.07.2024 23:00 [23:00:16]line Смена: 494 ФФД: 1.0 [23:00:16]line ЗНМ: 0300000132 [23:00:16]line РНМ: 0000000000091208 [23:00:16]line Версия ККМ: 001 [23:00:16]line ФМ: 0000000000874857 [23:00:16]line ФД: 56832 [23:00:16]line ФПД: 15316291291263 [23:00:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230015&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56832&fm=15316291291263&tin=02508201610067®Number=0000000000091208&sum=13000 [23:00:16]OFD Sender: Processing packet 56832 [packets to send 38, broken 37] [23:00:16]ProducePacketName [23:00:16]name=ofd_packets/00056832 [23:00:16]OFD Sender: To server: pG, [23:00:16]CommunicateWithHost lk.salyk.kg:30040 [23:00:16]ConnectInit lk.salyk.kg [23:00:16]line 0 [23:00:16]written 0, free lines is 4095 [23:00:16]Connected sock=8 [23:00: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 38 35 37 12 01 00 00 CE FC 0A 01 EF 0C 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 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 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 64 00 00 00 F4 03 04 00 7F B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DE 00 00 35 04 06 00 0D EE 1A 1A 08 7F 91 B5 7C F2 64 19 76 B3 [23:00:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E7 0B 47 00 B6 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DE 00 00 F4 03 04 00 D5 5B 91 66 B6 04 01 00 00 2D 1E C6 5A 32 13 96 67 [23:00:17]CommunicateWithHost err = 0 [23:00:17]CheckOFDResponse [23:00:17]1017 (14) - 77093643461234 [23:00:17]1041 (16) - 0000000000874857 [23:00:17]1040 (4) - 56832 [23:00:17]1012 (4) - 12.07.2024 16:37 [23:00:17]1206 (1) - 0 [23:00:17]OFD Sender: Remove packet 56832 [23:00:17]ProducePacketName [23:00:17]name=ofd_packets/00056832 [23:00:17]NVStorageDeleteData [23:00:17]Write to MH i2c: 01 00 00 8F 03 92 [23:00:17]Write i2c OK [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: 01 [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: 01 07 00 [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: 01 07 00 8F 03 00 00 00 00 00 1C 0D C2 [23:00:17]RasterBufferAndPrint [23:00:17]line [23:00:17]line [23:00:17]line [23:00:17]line [23:00:17]line [23:00:17]written 0, free lines is 3362 [23:00:17]MH_Cut [23:00:17]Write to MH i2c: D1 01 00 96 03 01 6B [23:00:17]Write i2c OK [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: D1 [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: D1 01 00 [23:00:17]MH_I2C_Read... [23:00:17]Read from MH i2c: D1 01 00 96 03 00 6A [23:00:17]Write to MH i2c: 01 00 00 97 03 9A [23:00:17]Write i2c OK [23:00:17]MH_I2C_Read... [23:00:17]OFD Sender: No OFD packet to send [23:00:18]*** Cut start [23:00:18]*** Partial cut [23:00:18]*** CUTSNS_PIN = 1 [23:00:18]*** CUTSNS_PIN = 0 [23:00:18]*** Brake cut motor [23:00:18]Read from MH i2c: 01 [23:00:18]MH_I2C_Read... [23:00:18]*** Stop cut motor [23:00:18]*** Cut end [23:00:18]Read from MH i2c: 01 07 00 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: 01 07 00 97 03 00 00 00 00 00 FF 0F AF [23:00:18]process_action close_receipt done [23:00:18]requested_data is exist [23:00:18]produce_requested_data [23:00:18]requested_item fm.sn is exist - process it [23:00:18]wFMCommunicate request_size=4 [23:00:18]MH_SAM_APDU [23:00:18]CAPDU: 80 11 00 00 [23:00:18]Write to MH i2c: E2 08 00 98 03 80 11 00 00 00 00 00 00 15 [23:00:18]Write i2c OK [23:00:18]MH_I2C_Read... [23:00:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:18]Read from MH i2c: E2 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 17 00 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 17 00 98 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6F [23:00:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:00:18]wFMCommunicate OK [23:00:18]requested_item fd.num is exist - process it [23:00:18]SAM_PROTO_GetFieldsCounters [23:00:18]wFMCommunicate request_size=4 [23:00:18]MH_SAM_APDU [23:00:18]CAPDU: 80 13 00 00 [23:00:18]Write to MH i2c: E2 08 00 99 03 80 13 00 00 00 00 00 00 18 [23:00:18]Write i2c OK [23:00:18]MH_I2C_Read... [23:00:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:00:18]Read from MH i2c: E2 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 62 00 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 62 00 99 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 00 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [23:00:18]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 00 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:00:18]wFMCommunicate OK [23:00:18]SAM_PROTO_GetFieldsCounters done [23:00:18]requested_item shift.num is exist - process it [23:00:18]requested_item shift.opened is exist - process it [23:00:18]req_shift_opened [23:00:18]FM_GetShiftState [23:00:18]SAM_PROTO_GetShiftState [23:00:18]wFMCommunicate request_size=4 [23:00:18]MH_SAM_APDU [23:00:18]CAPDU: 80 13 01 00 [23:00:18]Write to MH i2c: E2 08 00 9A 03 80 13 01 00 00 00 00 00 1A [23:00:18]Write i2c OK [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 [23:00:18]MH_I2C_Read... [23:00:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:18]Read from MH i2c: E2 0E 00 [23:00:18]MH_I2C_Read... [23:00:18]Read from MH i2c: E2 0E 00 9A 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 1B [23:00:18]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:00:18]wFMCommunicate OK [23:00:18]SAM_PROTO_GetShiftState done [23:00:18]FM_GetShiftState done [23:00:18]req_shift_opened done [23:00:18]requested_item shift.open_date is exist - process it [23:00:18]req_shift_open_date [23:00:18]req_shift_open_date done [23:00:18]requested_item shift.sale.total is exist - process it [23:00:18]SAM_PROTO_GetShiftData [23:00:18]wFMCommunicate request_size=4 [23:00:18]MH_SAM_APDU [23:00:18]CAPDU: 80 13 02 00 [23:00:18]Write to MH i2c: E2 08 00 9B 03 80 13 02 00 00 00 00 00 1C [23:00:18]Write i2c OK [23:00:18]MH_I2C_Read... [23:00:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:00:19]Read from MH i2c: E2 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 9B 03 00 B6 04 AA 04 B2 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 64 5F 27 70 04 03 00 B4 28 1E 72 04 03 00 B0 36 09 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 7F 2E 04 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 2B 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 69 [23:00:19]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 64 5F 27 70 04 03 00 B4 28 1E 72 04 03 00 B0 36 09 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 7F 2E 04 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 2B 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:00:19]wFMCommunicate OK [23:00:19]wFMCommunicate request_size=4 [23:00:19]MH_SAM_APDU [23:00:19]CAPDU: 80 17 00 00 [23:00:19]Write to MH i2c: E2 08 00 9C 03 80 17 00 00 00 00 00 00 1F [23:00:19]Write i2c OK [23:00:19]MH_I2C_Read... [23:00:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:19]Read from MH i2c: E2 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 9C 03 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [23:00:19]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:00:19]wFMCommunicate OK [23:00:19]wFMCommunicate request_size=4 [23:00:19]MH_SAM_APDU [23:00:19]CAPDU: 80 17 00 00 [23:00:19]Write to MH i2c: E2 08 00 9D 03 80 17 00 00 00 00 00 00 20 [23:00:19]Write i2c OK [23:00:19]MH_I2C_Read... [23:00:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:19]Read from MH i2c: E2 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 [23:00:19]MH_I2C_Read... [23:00:19]Read from MH i2c: E2 FD 00 9D 03 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [23:00:19]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:00:19]wFMCommunicate OK [23:00:19]wFMCommunicate request_size=4 [23:00:19]MH_SAM_APDU [23:00:19]CAPDU: 80 17 00 00 [23:00:19]Write to MH i2c: E2 08 00 9E 03 80 17 00 00 00 00 00 00 21 [23:00:20]Write i2c OK [23:00:20]MH_I2C_Read... [23:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:00:20]Read from MH i2c: E2 [23:00:20]MH_I2C_Read... [23:00:20]Read from MH i2c: E2 FD 00 [23:00:20]MH_I2C_Read... [23:00:20]Read from MH i2c: E2 FD 00 9E 03 00 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 90 00 90 [23:00:20]RAPDU: 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 90 00 [23:00:20]wFMCommunicate OK [23:00:20]wFMCommunicate request_size=4 [23:00:20]MH_SAM_APDU [23:00:20]CAPDU: 80 17 00 00 [23:00:20]Write to MH i2c: E2 08 00 9F 03 80 17 00 00 00 00 00 00 22 [23:00:20]Write i2c OK [23:00:20]MH_I2C_Read... [23:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:00:20]Read from MH i2c: E2 [23:00:20]MH_I2C_Read... [23:00:20]Read from MH i2c: E2 D3 00 [23:00:20]MH_I2C_Read... [23:00:20]Read from MH i2c: E2 D3 00 9F 03 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0F [23:00:20]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:00:20]wFMCommunicate OK [23:00:20]SAM_PROTO_GetShiftData done [23:00:20]requested_item shift.sale.total_cash is exist - process it [23:00:20]requested_item shift.sale_refund.total is exist - process it [23:00:20]requested_item shift.sale_refund.total_cash is exist - process it [23:00:20]produce_requested_data done [23:00:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56832,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25803.24,"shift.sale.total_cash":19765.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:00:20]process_action_free close_receipt [23:00:20]json_value_free [23:00:20]json_value_free done [23:00:20]process_json_proto returns [23:00:20]Send response to host [23:00:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56832,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":25803.24,"shift.sale.total_cash":19765.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:00:20]free response buf [23:00:20]execute_script done [23:00:20]execute_script returns [23:00:20]free content buf [23:00:20]Sock 9.Close socket [23:00:20]Sock 9.Thread stoped [23:00:22]OFD Sender: No OFD packet to send [23:00:27]OFD Sender: No OFD packet to send [23:00:32]OFD Sender: No OFD packet to send [23:00:37]OFD Sender: No OFD packet to send [23:00:42]OFD Sender: No OFD packet to send [23:00:47]OFD Sender: No OFD packet to send [23:00:52]OFD Sender: No OFD packet to send [23:00:57]OFD Sender: No OFD packet to send [23:01:02]OFD Sender: No OFD packet to send [23:01:07]OFD Sender: No OFD packet to send [23:01:12]OFD Sender: No OFD packet to send [23:01:14]accept exits with 10 [23:01:14]New connection [23:01:14]New thread 3067420004 created [23:01:14]Thread 3067563364 joined [23:01:14]Waiting for new connection... [23:01:14] Sock 10.Parse request [23:01:14]Sock 10.Check first char [23:01:14]Sock 10.First char is OK [23:01:14]request: POST /json_proto HTTP/1.0 [23:01:14]Method: POST [23:01:14]URL: /json_proto [23:01:14]Method is POST - this is cgi request [23:01:14]url: /json_proto [23:01:14]query_string will be loaded in cgi processing [23:01:14]execute_cgi json_proto POST (null) [23:01:14]execute_cgi path=json_proto method=POST [23:01:14]POST find Content-Length [23:01:14]Host: 172.17.39.4:8080 [23:01:14]Content-Length: 740 [23:01:14]Content-Type: application/json [23:01:14] [23:01:14]POST finish read [23:01:14]Found Content-Length = 740 [23:01:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129321", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:01:14]execute_script... [23:01: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)129321", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:01:14]POST & json_proto [23:01:14]process_json_proto [23:01:14]json parsed OK: [23:01:14]protocol is kg_v1.0 [23:01:14]action value=close_receipt [23:01:14]process_action close_receipt [23:01:14]cmd_close_receipt [23:01:14]MH_GetDate [23:01:14]Write to MH i2c: F0 00 00 A0 03 92 [23:01:14]Write i2c OK [23:01:14]MH_I2C_Read... [23:01:14]Read from MH i2c: F0 [23:01:14]MH_I2C_Read... [23:01:14]Read from MH i2c: F0 09 00 [23:01:14]MH_I2C_Read... [23:01:14]Read from MH i2c: F0 09 00 A0 03 00 BB B5 91 66 2D 25 5D 64 15 [23:01:14]GetLastDocTimeStamp 1720825215 [23:01:14]current date 1720825275 [23:01:14]FM_GetShiftState [23:01:14]SAM_PROTO_GetShiftState [23:01:14]wFMCommunicate request_size=4 [23:01:14]MH_SAM_APDU [23:01:14]CAPDU: 80 13 01 00 [23:01:14]Write to MH i2c: E2 08 00 A1 03 80 13 01 00 00 00 00 00 21 [23:01:14]Write i2c OK [23:01:14]MH_I2C_Read... [23:01:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:01:14]Read from MH i2c: E2 [23:01:14]MH_I2C_Read... [23:01:14]Read from MH i2c: E2 0E 00 [23:01:14]MH_I2C_Read... [23:01:14]Read from MH i2c: E2 0E 00 A1 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 22 [23:01:14]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:01:14]wFMCommunicate OK [23:01:14]SAM_PROTO_GetShiftState done [23:01:14]FM_GetShiftState done [23:01:14]opened in 1720744326 [23:01:14]opened+sec_in_day 1720830726 [23:01:14]quantity*price = 32500 [23:01:14]sum+1 = 32501 [23:01:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 101 12.07.2024 23:01 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56833 ФПД: 12744807624298 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230115&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56833&fm=12744807624298&tin=02508201610067®Number=0000000000091208&sum=32500 0 [23:01:16]StoreToDocumentArchive [23:01:16]shift 494 fd 56833 [23:01:16]save to /storage/0494/doc_00056833 [23:01:16]save last doc name /storage/0494/doc_00056833 to /storage/kkm_last_doc_name [23:01:16]save OK [23:01:16]Clear old archive folders... [23:01:16]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:01:16]tlvbuf is 01300E90 [23:01:16]SAM_PROTO_ClearQueue [23:01:16]wFMCommunicate request_size=4 [23:01:16]MH_SAM_APDU [23:01:16]CAPDU: 80 09 00 00 [23:01:16]Write to MH i2c: E2 08 00 AE 03 80 09 00 00 00 00 00 00 23 [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 AE 03 00 90 00 25 [23:01:16]RAPDU: 90 00 [23:01:16]wFMCommunicate OK [23:01:16]SAM_PROTO_ClearQueue done [23:01:16]KKMCreateOFDPacket [23:01:16]OFDProtocolAddRootSTLVToBuf [23:01:16]FM_MakeSignedData [23:01:16]FM_MakeSignedData [23:01:16]SAM_PROTO_SignData [23:01:16]wFMCommunicate request_size=4 [23:01:16]MH_SAM_APDU [23:01:16]CAPDU: 80 0D 01 02 [23:01:16]Write to MH i2c: E2 08 00 AF 03 80 0D 01 02 00 00 00 00 2B [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 AF 03 00 90 00 26 [23:01:16]RAPDU: 90 00 [23:01:16]wFMCommunicate OK [23:01:16]wFMCommunicate request_size=255 [23:01:16]MH_SAM_APDU [23:01:16]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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 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 F4 7E 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 BB B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [23:01:16]Write to MH i2c: E2 02 01 B0 03 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 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 F4 7E 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 BB B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 4E [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 B0 03 00 90 00 27 [23:01:16]RAPDU: 90 00 [23:01:16]wFMCommunicate OK [23:01:16]wFMCommunicate request_size=31 [23:01:16]MH_SAM_APDU [23:01:16]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 01 DE 00 00 35 04 06 00 0B 97 61 BB 2E 6A [23:01:16]Write to MH i2c: E2 22 00 B1 03 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 01 DE 00 00 35 04 06 00 0B 97 61 BB 2E 6A 00 00 95 [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 03 00 B1 03 00 90 00 28 [23:01:16]RAPDU: 90 00 [23:01:16]wFMCommunicate OK [23:01:16]wFMCommunicate request_size=4 [23:01:16]MH_SAM_APDU [23:01:16]CAPDU: 80 0D 03 02 [23:01:16]Write to MH i2c: E2 08 00 B2 03 80 0D 03 02 00 00 00 00 30 [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 0B 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 0B 00 B2 03 00 7D 20 63 A7 A0 CC B1 AF 90 00 A4 [23:01:16]RAPDU: 7D 20 63 A7 A0 CC B1 AF 90 00 [23:01:16]wFMCommunicate OK [23:01:16]SAM_PROTO_SignData done [23:01:16]FM_MakeSignedData done [23:01:16]CreateOFDProtocolMessage [23:01:16]wFMCommunicate request_size=4 [23:01:16]MH_SAM_APDU [23:01:16]CAPDU: 80 11 00 00 [23:01:16]Write to MH i2c: E2 08 00 B3 03 80 11 00 00 00 00 00 00 30 [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:01:16]Read from MH i2c: E2 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 17 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: E2 17 00 B3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8A [23:01:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:01:16]wFMCommunicate OK [23:01:16]CreateOFDProtocolMessage done [23:01:16]OFDSenderStorePacket 56833 [23:01:16]StoreOFDPacket docnum=56833 [23:01:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 E3 48 1C 01 15 C7 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 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 F4 7E 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 BB B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DE 00 00 35 04 06 00 0B 97 61 BB 2E 6A 7D 20 63 A7 A0 CC B1 AF [23:01:16]CheckFolder [23:01:16]dirname=/storage/ofd_packets [23:01:16]CheckFolder done [23:01:16]ProducePacketName [23:01:16]name=ofd_packets/00056833 [23:01:16]NVStorageSaveData ofd_packets/00056833 [23:01:16]File name is /storage/ofd_packets/00056833 [23:01:16]Write 322 bytes [23:01:16]NVStorageSaveData done [23:01:16]OFDSenderStorePacket done [23:01:16]KKMCreateOFDPacket done [23:01:16]NVStorageSaveData kkm_last_timestamp [23:01:16]File name is /storage/kkm_last_timestamp [23:01:16]Write 4 bytes [23:01:16]NVStorageSaveData done [23:01:16]OFD Sender: Processing packet 56833 [packets to send 38, broken 37] [23:01:16]ProducePacketName [23:01:16]name=ofd_packets/00056833 [23:01:16]OFD Sender: To server: pG, [23:01:16]CommunicateWithHost lk.salyk.kg:30040 [23:01:16]ConnectInit lk.salyk.kg [23:01:16]ExternCall_PrintAddStr [23:01:16]wPrintStart [23:01:16]Write to MH i2c: 01 00 00 B4 03 B7 [23:01:16]Write i2c OK [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: 01 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: 01 07 00 [23:01:16]MH_I2C_Read... [23:01:16]Read from MH i2c: 01 07 00 B4 03 00 00 00 00 00 FF 0F CC [23:01:16]RasterBufferAndPrint [23:01:16]line Счет N : (3)129321 [23:01:16]line ИНН: 02508201610067 [23:01:16]line Контрольно-Кассовый Чек [23:01:16]line ПРОДАЖА [23:01:16]line Товар: 4700001610043 [23:01:16]line Пиво Арпа 1,5л ПЭТ [23:01:16]line 1.000 * 325.00 [23:01:16]line = 325.00 [23:01:16]line НДС 12% НСП 1% [23:01:16]line > о реализуемом товаре [23:01:16]line ИТОГО: 325.00 [23:01:16]line НСП 1% : 2.88 [23:01:16]line НДС 12% : 34.51 [23:01:16]line Наличными: 325.00 [23:01:16]line Безнал.: 0.00 [23:01:16]line Место: АЗС № 132 "Партнер Нефть" [23:01:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:01:16]line СНО: Общий режим [23:01:16]line Чек 101 12.07.2024 23:01 [23:01:16]line Смена: 494 ФФД: 1.0 [23:01:16]line ЗНМ: 0300000132 [23:01:16]line РНМ: 0000000000091208 [23:01:16]line Версия ККМ: 001 [23:01:16]line ФМ: 0000000000874857 [23:01:16]line ФД: 56833 [23:01:16]line ФПД: 12744807624298 [23:01:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230115&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56833&fm=12744807624298&tin=02508201610067®Number=0000000000091208&sum=32500 [23:01:16]line 0 [23:01:16]Connected sock=11 [23:01: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 38 35 37 24 01 00 00 E3 48 1C 01 15 C7 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 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 F4 7E 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 BB B5 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DE 00 00 35 04 06 00 0B 97 61 BB 2E 6A 7D 20 63 A7 A0 CC B1 AF [23:01:16]written 0, free lines is 4095 [23:01:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 EB 25 47 00 D3 B0 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 38 35 37 10 04 04 00 01 DE 00 00 F4 03 04 00 11 5C 91 66 B6 04 01 00 00 C9 49 D9 72 9B 2F C7 7E [23:01:17]CommunicateWithHost err = 0 [23:01:17]CheckOFDResponse [23:01:17]1017 (14) - 77093643461234 [23:01:17]1041 (16) - 0000000000874857 [23:01:17]1040 (4) - 56833 [23:01:17]1012 (4) - 12.07.2024 16:38 [23:01:17]1206 (1) - 0 [23:01:17]OFD Sender: Remove packet 56833 [23:01:17]ProducePacketName [23:01:17]name=ofd_packets/00056833 [23:01:17]NVStorageDeleteData [23:01:17]Write to MH i2c: 01 00 00 DC 03 DF [23:01:17]Write i2c OK [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: 01 [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: 01 07 00 [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 13 0D 06 [23:01:17]RasterBufferAndPrint [23:01:17]line [23:01:17]line [23:01:17]line [23:01:17]line [23:01:17]line [23:01:17]written 0, free lines is 3354 [23:01:17]MH_Cut [23:01:17]Write to MH i2c: D1 01 00 E3 03 01 B8 [23:01:17]Write i2c OK [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: D1 [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: D1 01 00 [23:01:17]MH_I2C_Read... [23:01:17]Read from MH i2c: D1 01 00 E3 03 00 B7 [23:01:17]Write to MH i2c: 01 00 00 E4 03 E7 [23:01:17]Write i2c OK [23:01:17]MH_I2C_Read... [23:01:17]OFD Sender: No OFD packet to send [23:01:18]*** Cut start [23:01:18]*** Partial cut [23:01:18]*** CUTSNS_PIN = 1 [23:01:18]*** CUTSNS_PIN = 0 [23:01:18]*** Brake cut motor [23:01:18]Read from MH i2c: 01 [23:01:18]MH_I2C_Read... [23:01:18]*** Stop cut motor [23:01:18]*** Cut end [23:01:18]Read from MH i2c: 01 07 00 [23:01:18]MH_I2C_Read... [23:01:18]Read from MH i2c: 01 07 00 E4 03 00 00 00 00 00 FF 0F FC [23:01:18]process_action close_receipt done [23:01:18]requested_data is exist [23:01:18]produce_requested_data [23:01:18]requested_item fm.sn is exist - process it [23:01:18]wFMCommunicate request_size=4 [23:01:18]MH_SAM_APDU [23:01:18]CAPDU: 80 11 00 00 [23:01:18]Write to MH i2c: E2 08 00 E5 03 80 11 00 00 00 00 00 00 62 [23:01:18]Write i2c OK [23:01:18]MH_I2C_Read... [23:01:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:01:18]Read from MH i2c: E2 [23:01:18]MH_I2C_Read... [23:01:18]Read from MH i2c: E2 17 00 [23:01:18]MH_I2C_Read... [23:01:18]Read from MH i2c: E2 17 00 E5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BC [23:01:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:01:18]wFMCommunicate OK [23:01:18]requested_item fd.num is exist - process it [23:01:18]SAM_PROTO_GetFieldsCounters [23:01:18]wFMCommunicate request_size=4 [23:01:18]MH_SAM_APDU [23:01:18]CAPDU: 80 13 00 00 [23:01:18]Write to MH i2c: E2 08 00 E6 03 80 13 00 00 00 00 00 00 65 [23:01:18]Write i2c OK [23:01:18]MH_I2C_Read... [23:01:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:01:18]Read from MH i2c: E2 [23:01:18]MH_I2C_Read... [23:01:18]Read from MH i2c: E2 62 00 [23:01:18]MH_I2C_Read... [23:01:18]Read from MH i2c: E2 62 00 E6 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 01 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [23:01:18]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 01 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:01:18]wFMCommunicate OK [23:01:18]SAM_PROTO_GetFieldsCounters done [23:01:18]requested_item shift.num is exist - process it [23:01:18]requested_item shift.opened is exist - process it [23:01:18]req_shift_opened [23:01:18]FM_GetShiftState [23:01:18]SAM_PROTO_GetShiftState [23:01:18]wFMCommunicate request_size=4 [23:01:18]MH_SAM_APDU [23:01:18]CAPDU: 80 13 01 00 [23:01:18]Write to MH i2c: E2 08 00 E7 03 80 13 01 00 00 00 00 00 67 [23:01:18]Write i2c OK [23:01:18]MH_I2C_Read... [23:01:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:01:19]Read from MH i2c: E2 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 0E 00 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 0E 00 E7 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 68 [23:01:19]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:01:19]wFMCommunicate OK [23:01:19]SAM_PROTO_GetShiftState done [23:01:19]FM_GetShiftState done [23:01:19]req_shift_opened done [23:01:19]requested_item shift.open_date is exist - process it [23:01:19]req_shift_open_date [23:01:19]req_shift_open_date done [23:01:19]requested_item shift.sale.total is exist - process it [23:01:19]SAM_PROTO_GetShiftData [23:01:19]wFMCommunicate request_size=4 [23:01:19]MH_SAM_APDU [23:01:19]CAPDU: 80 13 02 00 [23:01:19]Write to MH i2c: E2 08 00 E8 03 80 13 02 00 00 00 00 00 69 [23:01:19]Write i2c OK [23:01:19]MH_I2C_Read... [23:01:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:01:19]Read from MH i2c: E2 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 FD 00 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 FD 00 E8 03 00 B6 04 AA 04 B2 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 58 DE 27 70 04 03 00 A8 A7 1E 72 04 03 00 B0 36 09 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 FA 3B 04 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 4B 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 47 [23:01:19]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 58 DE 27 70 04 03 00 A8 A7 1E 72 04 03 00 B0 36 09 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 FA 3B 04 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 4B 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:01:19]wFMCommunicate OK [23:01:19]wFMCommunicate request_size=4 [23:01:19]MH_SAM_APDU [23:01:19]CAPDU: 80 17 00 00 [23:01:19]Write to MH i2c: E2 08 00 E9 03 80 17 00 00 00 00 00 00 6C [23:01:19]Write i2c OK [23:01:19]MH_I2C_Read... [23:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:19]Read from MH i2c: E2 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 FD 00 [23:01:19]MH_I2C_Read... [23:01:19]Read from MH i2c: E2 FD 00 E9 03 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AB [23:01:19]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:01:19]wFMCommunicate OK [23:01:19]wFMCommunicate request_size=4 [23:01:19]MH_SAM_APDU [23:01:19]CAPDU: 80 17 00 00 [23:01:19]Write to MH i2c: E2 08 00 EA 03 80 17 00 00 00 00 00 00 6D [23:01:19]Write i2c OK [23:01:19]MH_I2C_Read... [23:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:20]Read from MH i2c: E2 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 FD 00 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 FD 00 EA 03 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2D [23:01:20]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:01:20]wFMCommunicate OK [23:01:20]wFMCommunicate request_size=4 [23:01:20]MH_SAM_APDU [23:01:20]CAPDU: 80 17 00 00 [23:01:20]Write to MH i2c: E2 08 00 EB 03 80 17 00 00 00 00 00 00 6E [23:01:20]Write i2c OK [23:01:20]MH_I2C_Read... [23:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:20]Read from MH i2c: E2 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 FD 00 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 FD 00 EB 03 00 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 90 00 DD [23:01:20]RAPDU: 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 90 00 [23:01:20]wFMCommunicate OK [23:01:20]wFMCommunicate request_size=4 [23:01:20]MH_SAM_APDU [23:01:20]CAPDU: 80 17 00 00 [23:01:20]Write to MH i2c: E2 08 00 EC 03 80 17 00 00 00 00 00 00 6F [23:01:20]Write i2c OK [23:01:20]MH_I2C_Read... [23:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:01:20]Read from MH i2c: E2 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 D3 00 [23:01:20]MH_I2C_Read... [23:01:20]Read from MH i2c: E2 D3 00 EC 03 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5C [23:01:20]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:01:20]wFMCommunicate OK [23:01:20]SAM_PROTO_GetShiftData done [23:01:20]requested_item shift.sale.total_cash is exist - process it [23:01:20]requested_item shift.sale_refund.total is exist - process it [23:01:20]requested_item shift.sale_refund.total_cash is exist - process it [23:01:20]produce_requested_data done [23:01:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56833,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26128.24,"shift.sale.total_cash":20090.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:01:20]process_action_free close_receipt [23:01:20]json_value_free [23:01:20]json_value_free done [23:01:20]process_json_proto returns [23:01:20]Send response to host [23:01:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56833,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26128.24,"shift.sale.total_cash":20090.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:01:20]free response buf [23:01:20]execute_script done [23:01:20]execute_script returns [23:01:20]free content buf [23:01:20]Sock 10.Close socket [23:01:20]Sock 10.Thread stoped [23:01:22]OFD Sender: No OFD packet to send [23:01:27]OFD Sender: No OFD packet to send [23:01:32]OFD Sender: No OFD packet to send [23:01:37]OFD Sender: No OFD packet to send [23:01:42]OFD Sender: No OFD packet to send [23:01:47]OFD Sender: No OFD packet to send [23:01:52]OFD Sender: No OFD packet to send [23:01:57]OFD Sender: No OFD packet to send [23:02:02]OFD Sender: No OFD packet to send [23:02:07]OFD Sender: No OFD packet to send [23:02:12]OFD Sender: No OFD packet to send [23:02:17]OFD Sender: No OFD packet to send [23:02:22]OFD Sender: No OFD packet to send [23:02:27]OFD Sender: No OFD packet to send [23:02:32]OFD Sender: No OFD packet to send [23:02:37]OFD Sender: No OFD packet to send [23:02:42]OFD Sender: No OFD packet to send [23:02:47]OFD Sender: No OFD packet to send [23:02:52]OFD Sender: No OFD packet to send [23:02:57]OFD Sender: No OFD packet to send [23:03:02]OFD Sender: No OFD packet to send [23:03:07]OFD Sender: No OFD packet to send [23:03:12]OFD Sender: No OFD packet to send [23:03:17]OFD Sender: No OFD packet to send [23:03:22]OFD Sender: No OFD packet to send [23:03:27]OFD Sender: No OFD packet to send [23:03:32]OFD Sender: No OFD packet to send [23:03:37]OFD Sender: No OFD packet to send [23:03:42]OFD Sender: No OFD packet to send [23:03:47]OFD Sender: No OFD packet to send [23:03:52]OFD Sender: No OFD packet to send [23:03:57]OFD Sender: No OFD packet to send [23:04:02]OFD Sender: No OFD packet to send [23:04:07]OFD Sender: No OFD packet to send [23:04:12]OFD Sender: No OFD packet to send [23:04:17]OFD Sender: No OFD packet to send [23:04:19]accept exits with 8 [23:04:19]New connection [23:04:19]New thread 3067563364 created [23:04:19]Thread 3067420004 joined [23:04:19]Waiting for new connection... [23:04:19] Sock 8.Parse request [23:04:19]Sock 8.Check first char [23:04:19]Sock 8.First char is OK [23:04:19]request: POST /json_proto HTTP/1.0 [23:04:19]Method: POST [23:04:19]URL: /json_proto [23:04:19]Method is POST - this is cgi request [23:04:19]url: /json_proto [23:04:19]query_string will be loaded in cgi processing [23:04:19]execute_cgi json_proto POST (null) [23:04:19]execute_cgi path=json_proto method=POST [23:04:19]POST find Content-Length [23:04:19]Host: 172.17.39.4:8080 [23:04:19]Content-Length: 724 [23:04:19]Content-Type: application/json [23:04:19] [23:04:19]POST finish read [23:04:19]Found Content-Length = 724 [23:04:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129322", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:04:19]execute_script... [23:04: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)129322", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:04:19]POST & json_proto [23:04:19]process_json_proto [23:04:19]json parsed OK: [23:04:19]protocol is kg_v1.0 [23:04:19]action value=close_receipt [23:04:19]process_action close_receipt [23:04:19]cmd_close_receipt [23:04:19]MH_GetDate [23:04:19]Write to MH i2c: F0 00 00 ED 03 DF [23:04:19]Write i2c OK [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: F0 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: F0 09 00 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: F0 09 00 ED 03 00 74 B6 91 66 2D 25 5D 64 1C [23:04:19]GetLastDocTimeStamp 1720825275 [23:04:19]current date 1720825460 [23:04:19]FM_GetShiftState [23:04:19]SAM_PROTO_GetShiftState [23:04:19]wFMCommunicate request_size=4 [23:04:19]MH_SAM_APDU [23:04:19]CAPDU: 80 13 01 00 [23:04:19]Write to MH i2c: E2 08 00 EE 03 80 13 01 00 00 00 00 00 6E [23:04:19]Write i2c OK [23:04:19]MH_I2C_Read... [23:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:19]Read from MH i2c: E2 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: E2 0E 00 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: E2 0E 00 EE 03 00 09 00 01 86 79 90 66 00 00 00 00 90 00 6F [23:04:19]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:04:19]wFMCommunicate OK [23:04:19]SAM_PROTO_GetShiftState done [23:04:19]FM_GetShiftState done [23:04:19]opened in 1720744326 [23:04:19]opened+sec_in_day 1720830726 [23:04:19]quantity*price = 13500 [23:04:19]sum+1 = 13501 [23:04:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 102 12.07.2024 23:04 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56834 ФПД: 188616484885968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230420&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56834&fm=188616484885968&tin=02508201610067®Number=0000000000091208&sum=13500 0 [23:04:21]StoreToDocumentArchive [23:04:21]shift 494 fd 56834 [23:04:21]save to /storage/0494/doc_00056834 [23:04:21]save last doc name /storage/0494/doc_00056834 to /storage/kkm_last_doc_name [23:04:21]save OK [23:04:21]Clear old archive folders... [23:04:21]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:04:21]tlvbuf is 01302300 [23:04:21]SAM_PROTO_ClearQueue [23:04:21]wFMCommunicate request_size=4 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 09 00 00 [23:04:21]Write to MH i2c: E2 08 00 FB 03 80 09 00 00 00 00 00 00 70 [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 FB 03 00 90 00 72 [23:04:21]RAPDU: 90 00 [23:04:21]wFMCommunicate OK [23:04:21]SAM_PROTO_ClearQueue done [23:04:21]KKMCreateOFDPacket [23:04:21]OFDProtocolAddRootSTLVToBuf [23:04:21]FM_MakeSignedData [23:04:21]FM_MakeSignedData [23:04:21]SAM_PROTO_SignData [23:04:21]wFMCommunicate request_size=4 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 0D 01 02 [23:04:21]Write to MH i2c: E2 08 00 FC 03 80 0D 01 02 00 00 00 00 78 [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 FC 03 00 90 00 73 [23:04:21]RAPDU: 90 00 [23:04:21]wFMCommunicate OK [23:04:21]wFMCommunicate request_size=255 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 66 00 00 00 F4 03 04 00 74 B6 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [23:04:21]Write to MH i2c: E2 02 01 FD 03 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 66 00 00 00 F4 03 04 00 74 B6 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A4 [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 FD 03 00 90 00 74 [23:04:21]RAPDU: 90 00 [23:04:21]wFMCommunicate OK [23:04:21]wFMCommunicate request_size=31 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 02 DE 00 00 35 04 06 00 AB 8B B2 94 95 D0 [23:04:21]Write to MH i2c: E2 22 00 FE 03 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 02 DE 00 00 35 04 06 00 AB 8B B2 94 95 D0 00 00 6E [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 03 00 FE 03 00 90 00 75 [23:04:21]RAPDU: 90 00 [23:04:21]wFMCommunicate OK [23:04:21]wFMCommunicate request_size=4 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 0D 03 02 [23:04:21]Write to MH i2c: E2 08 00 FF 03 80 0D 03 02 00 00 00 00 7D [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 0B 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 0B 00 FF 03 00 7E 7B 56 E3 3D 88 D3 CD 90 00 15 [23:04:21]RAPDU: 7E 7B 56 E3 3D 88 D3 CD 90 00 [23:04:21]wFMCommunicate OK [23:04:21]SAM_PROTO_SignData done [23:04:21]FM_MakeSignedData done [23:04:21]CreateOFDProtocolMessage [23:04:21]wFMCommunicate request_size=4 [23:04:21]MH_SAM_APDU [23:04:21]CAPDU: 80 11 00 00 [23:04:21]Write to MH i2c: E2 08 00 00 04 80 11 00 00 00 00 00 00 7E [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:21]Read from MH i2c: E2 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 17 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: E2 17 00 00 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D8 [23:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:04:21]wFMCommunicate OK [23:04:21]CreateOFDProtocolMessage done [23:04:21]OFDSenderStorePacket 56834 [23:04:21]StoreOFDPacket docnum=56834 [23:04:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 06 1A 1C 01 34 30 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 66 00 00 00 F4 03 04 00 74 B6 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DE 00 00 35 04 06 00 AB 8B B2 94 95 D0 7E 7B 56 E3 3D 88 D3 CD [23:04:21]CheckFolder [23:04:21]dirname=/storage/ofd_packets [23:04:21]CheckFolder done [23:04:21]ProducePacketName [23:04:21]name=ofd_packets/00056834 [23:04:21]NVStorageSaveData ofd_packets/00056834 [23:04:21]File name is /storage/ofd_packets/00056834 [23:04:21]Write 322 bytes [23:04:21]NVStorageSaveData done [23:04:21]OFDSenderStorePacket done [23:04:21]KKMCreateOFDPacket done [23:04:21]NVStorageSaveData kkm_last_timestamp [23:04:21]File name is /storage/kkm_last_timestamp [23:04:21]Write 4 bytes [23:04:21]NVStorageSaveData done [23:04:21]OFD Sender: Processing packet 56834 [packets to send 38, broken 37] [23:04:21]ProducePacketName [23:04:21]name=ofd_packets/00056834 [23:04:21]OFD Sender: To server: pG, [23:04:21]CommunicateWithHost lk.salyk.kg:30040 [23:04:21]ConnectInit lk.salyk.kg [23:04:21]ExternCall_PrintAddStr [23:04:21]wPrintStart [23:04:21]Write to MH i2c: 01 00 00 01 04 05 [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 07 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 07 00 01 04 00 00 00 00 00 FF 0F 1A [23:04:21]RasterBufferAndPrint [23:04:21]line Счет N : (3)129322 [23:04:21]line ИНН: 02508201610067 [23:04:21]line Контрольно-Кассовый Чек [23:04:21]line ПРОДАЖА [23:04:21]line Товар: 48745000 [23:04:21]line Сигареты Winston Purple Mix [23:04:21]line 1.000 * 135.00 [23:04:21]line = 135.00 [23:04:21]line НДС 12% НСП 1% [23:04:21]line > о реализуемом товаре [23:04:21]line ИТОГО: 135.00 [23:04:21]line НСП 1% : 1.19 [23:04:21]line НДС 12% : 14.34 [23:04:21]line Наличными: 135.00 [23:04:21]line Безнал.: 0.00 [23:04:21]line Место: АЗС № 132 "Партнер Нефть" [23:04:21]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:04:21]line СНО: Общий режим [23:04:21]line Чек 102 12.07.2024 23:04 [23:04:21]line Смена: 494 ФФД: 1.0 [23:04:21]line ЗНМ: 0300000132 [23:04:21]line РНМ: 0000000000091208 [23:04:21]line Версия ККМ: 001 [23:04:21]line ФМ: 0000000000874857 [23:04:21]line ФД: 56834 [23:04:21]line ФПД: 188616484885968 [23:04:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T230420&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56834&fm=188616484885968&tin=02508201610067®Number=0000000000091208&sum=13500 [23:04:21]line 0 [23:04:21]Connected sock=11 [23:04: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 38 35 37 24 01 00 00 06 1A 1C 01 34 30 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 66 00 00 00 F4 03 04 00 74 B6 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DE 00 00 35 04 06 00 AB 8B B2 94 95 D0 7E 7B 56 E3 3D 88 D3 CD [23:04:21]written 0, free lines is 4095 [23:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 2B 9B 47 00 1E 82 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 38 35 37 10 04 04 00 02 DE 00 00 F4 03 04 00 CA 5C 91 66 B6 04 01 00 00 2C 8C 23 EE C3 DA 89 CC [23:04:22]CommunicateWithHost err = 0 [23:04:22]CheckOFDResponse [23:04:22]1017 (14) - 77093643461234 [23:04:22]1041 (16) - 0000000000874857 [23:04:22]1040 (4) - 56834 [23:04:22]1012 (4) - 12.07.2024 16:41 [23:04:22]1206 (1) - 0 [23:04:22]OFD Sender: Remove packet 56834 [23:04:22]ProducePacketName [23:04:22]name=ofd_packets/00056834 [23:04:22]NVStorageDeleteData [23:04:22]Write to MH i2c: 01 00 00 29 04 2D [23:04:22]Write i2c OK [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: 01 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: 01 07 00 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: 01 07 00 29 04 00 00 00 00 00 02 0D 43 [23:04:22]RasterBufferAndPrint [23:04:22]line [23:04:22]line [23:04:22]line [23:04:22]line [23:04:22]line [23:04:22]written 0, free lines is 3336 [23:04:22]MH_Cut [23:04:22]Write to MH i2c: D1 01 00 30 04 01 06 [23:04:22]Write i2c OK [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: D1 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: D1 01 00 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: D1 01 00 30 04 00 05 [23:04:22]Write to MH i2c: 01 00 00 31 04 35 [23:04:22]Write i2c OK [23:04:22]MH_I2C_Read... [23:04:22]OFD Sender: No OFD packet to send [23:04:23]*** Cut start [23:04:23]*** Partial cut [23:04:23]*** CUTSNS_PIN = 1 [23:04:23]*** CUTSNS_PIN = 0 [23:04:23]*** Brake cut motor [23:04:23]Read from MH i2c: 01 [23:04:23]MH_I2C_Read... [23:04:23]*** Stop cut motor [23:04:23]*** Cut end [23:04:23]Read from MH i2c: 01 07 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: 01 07 00 31 04 00 00 00 00 00 FF 0F 4A [23:04:23]process_action close_receipt done [23:04:23]requested_data is exist [23:04:23]produce_requested_data [23:04:23]requested_item fm.sn is exist - process it [23:04:23]wFMCommunicate request_size=4 [23:04:23]MH_SAM_APDU [23:04:23]CAPDU: 80 11 00 00 [23:04:23]Write to MH i2c: E2 08 00 32 04 80 11 00 00 00 00 00 00 B0 [23:04:23]Write i2c OK [23:04:23]MH_I2C_Read... [23:04:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:23]Read from MH i2c: E2 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 17 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 17 00 32 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0A [23:04:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:04:23]wFMCommunicate OK [23:04:23]requested_item fd.num is exist - process it [23:04:23]SAM_PROTO_GetFieldsCounters [23:04:23]wFMCommunicate request_size=4 [23:04:23]MH_SAM_APDU [23:04:23]CAPDU: 80 13 00 00 [23:04:23]Write to MH i2c: E2 08 00 33 04 80 13 00 00 00 00 00 00 B3 [23:04:23]Write i2c OK [23:04:23]MH_I2C_Read... [23:04:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:04:23]Read from MH i2c: E2 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 62 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 62 00 33 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 02 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [23:04: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 02 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:04:23]wFMCommunicate OK [23:04:23]SAM_PROTO_GetFieldsCounters done [23:04:23]requested_item shift.num is exist - process it [23:04:23]requested_item shift.opened is exist - process it [23:04:23]req_shift_opened [23:04:23]FM_GetShiftState [23:04:23]SAM_PROTO_GetShiftState [23:04:23]wFMCommunicate request_size=4 [23:04:23]MH_SAM_APDU [23:04:23]CAPDU: 80 13 01 00 [23:04:23]Write to MH i2c: E2 08 00 34 04 80 13 01 00 00 00 00 00 B5 [23:04:23]Write i2c OK [23:04:23]MH_I2C_Read... [23:04:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:23]Read from MH i2c: E2 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 0E 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 0E 00 34 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 B6 [23:04:23]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:04:23]wFMCommunicate OK [23:04:23]SAM_PROTO_GetShiftState done [23:04:23]FM_GetShiftState done [23:04:23]req_shift_opened done [23:04:23]requested_item shift.open_date is exist - process it [23:04:23]req_shift_open_date [23:04:23]req_shift_open_date done [23:04:23]requested_item shift.sale.total is exist - process it [23:04:23]SAM_PROTO_GetShiftData [23:04:23]wFMCommunicate request_size=4 [23:04:23]MH_SAM_APDU [23:04:23]CAPDU: 80 13 02 00 [23:04:23]Write to MH i2c: E2 08 00 35 04 80 13 02 00 00 00 00 00 B7 [23:04:23]Write i2c OK [23:04:23]MH_I2C_Read... [23:04:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:04:24]Read from MH i2c: E2 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 35 04 00 B6 04 AA 04 B2 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 14 13 28 70 04 03 00 64 DC 1E 72 04 03 00 B0 36 09 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 94 41 04 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 C2 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 91 [23:04:24]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 14 13 28 70 04 03 00 64 DC 1E 72 04 03 00 B0 36 09 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 94 41 04 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 C2 5A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:04:24]wFMCommunicate OK [23:04:24]wFMCommunicate request_size=4 [23:04:24]MH_SAM_APDU [23:04:24]CAPDU: 80 17 00 00 [23:04:24]Write to MH i2c: E2 08 00 36 04 80 17 00 00 00 00 00 00 BA [23:04:24]Write i2c OK [23:04:24]MH_I2C_Read... [23:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:04:24]Read from MH i2c: E2 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 36 04 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [23:04:24]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:04:24]wFMCommunicate OK [23:04:24]wFMCommunicate request_size=4 [23:04:24]MH_SAM_APDU [23:04:24]CAPDU: 80 17 00 00 [23:04:24]Write to MH i2c: E2 08 00 37 04 80 17 00 00 00 00 00 00 BB [23:04:24]Write i2c OK [23:04:24]MH_I2C_Read... [23:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:04:24]Read from MH i2c: E2 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 [23:04:24]MH_I2C_Read... [23:04:24]Read from MH i2c: E2 FD 00 37 04 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7B [23:04:25]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:04:25]wFMCommunicate OK [23:04:25]wFMCommunicate request_size=4 [23:04:25]MH_SAM_APDU [23:04:25]CAPDU: 80 17 00 00 [23:04:25]Write to MH i2c: E2 08 00 38 04 80 17 00 00 00 00 00 00 BC [23:04:25]Write i2c OK [23:04:25]MH_I2C_Read... [23:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:04:25]Read from MH i2c: E2 [23:04:25]MH_I2C_Read... [23:04:25]Read from MH i2c: E2 FD 00 [23:04:25]MH_I2C_Read... [23:04:25]Read from MH i2c: E2 FD 00 38 04 00 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 90 00 2B [23:04:25]RAPDU: 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 90 00 [23:04:25]wFMCommunicate OK [23:04:25]wFMCommunicate request_size=4 [23:04:25]MH_SAM_APDU [23:04:25]CAPDU: 80 17 00 00 [23:04:25]Write to MH i2c: E2 08 00 39 04 80 17 00 00 00 00 00 00 BD [23:04:25]Write i2c OK [23:04:25]MH_I2C_Read... [23:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:04:25]Read from MH i2c: E2 [23:04:25]MH_I2C_Read... [23:04:25]Read from MH i2c: E2 D3 00 [23:04:25]MH_I2C_Read... [23:04:25]Read from MH i2c: E2 D3 00 39 04 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AA [23:04:25]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:04:25]wFMCommunicate OK [23:04:25]SAM_PROTO_GetShiftData done [23:04:25]requested_item shift.sale.total_cash is exist - process it [23:04:25]requested_item shift.sale_refund.total is exist - process it [23:04:25]requested_item shift.sale_refund.total_cash is exist - process it [23:04:25]produce_requested_data done [23:04:25]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56834,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26263.24,"shift.sale.total_cash":20225.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:04:25]process_action_free close_receipt [23:04:25]json_value_free [23:04:25]json_value_free done [23:04:25]process_json_proto returns [23:04:25]Send response to host [23:04:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56834,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26263.24,"shift.sale.total_cash":20225.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:04:25]free response buf [23:04:25]execute_script done [23:04:25]execute_script returns [23:04:25]free content buf [23:04:25]Sock 8.Close socket [23:04:25]Sock 8.Thread stoped [23:04:27]OFD Sender: No OFD packet to send [23:04:32]OFD Sender: No OFD packet to send [23:04:37]OFD Sender: No OFD packet to send [23:04:42]OFD Sender: No OFD packet to send [23:04:47]OFD Sender: No OFD packet to send [23:04:52]OFD Sender: No OFD packet to send [23:04:57]OFD Sender: No OFD packet to send [23:05:02]OFD Sender: No OFD packet to send [23:05:07]OFD Sender: No OFD packet to send [23:05:12]OFD Sender: No OFD packet to send [23:05:17]OFD Sender: No OFD packet to send [23:05:22]OFD Sender: No OFD packet to send [23:05:27]OFD Sender: No OFD packet to send [23:05:32]OFD Sender: No OFD packet to send [23:05:37]OFD Sender: No OFD packet to send [23:05:42]OFD Sender: No OFD packet to send [23:05:47]OFD Sender: No OFD packet to send [23:05:52]OFD Sender: No OFD packet to send [23:05:57]OFD Sender: No OFD packet to send [23:06:02]OFD Sender: No OFD packet to send [23:06:07]OFD Sender: No OFD packet to send [23:06:12]OFD Sender: No OFD packet to send [23:06:17]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:42]OFD Sender: No OFD packet to send [23:07:47]OFD Sender: No OFD packet to send [23:07:52]OFD Sender: No OFD packet to send [23:07:57]OFD Sender: No OFD packet to send [23:08:02]OFD Sender: No OFD packet to send [23:08:07]OFD Sender: No OFD packet to send [23:08:12]OFD Sender: No OFD packet to send [23:08:17]OFD Sender: No OFD packet to send [23:08:22]OFD Sender: No OFD packet to send [23:08:27]OFD Sender: No OFD packet to send [23:08:32]OFD Sender: No OFD packet to send [23:08:37]OFD Sender: No OFD packet to send [23:08:42]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:57]OFD Sender: No OFD packet to send [23:09:02]OFD Sender: No OFD packet to send [23:09:07]OFD Sender: No OFD packet to send [23:09:12]OFD Sender: No OFD packet to send [23:09:17]OFD Sender: No OFD packet to send [23:09:22]OFD Sender: No OFD packet to send [23:09:27]OFD Sender: No OFD packet to send [23:09:32]OFD Sender: No OFD packet to send [23:09:37]OFD Sender: No OFD packet to send [23:09:42]OFD Sender: No OFD packet to send [23:09:47]OFD Sender: No OFD packet to send [23:09:52]OFD Sender: No OFD packet to send [23:09:57]OFD Sender: No OFD packet to send [23:10:02]OFD Sender: No OFD packet to send [23:10:07]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:16]accept exits with 9 [23:10:16]New connection [23:10:16]New thread 3067420004 created [23:10:16]Thread 3067563364 joined [23:10:16]Waiting for new connection... [23:10:16] Sock 9.Parse request [23:10:16]Sock 9.Check first char [23:10:16]Sock 9.First char is OK [23:10:16]request: POST /json_proto HTTP/1.0 [23:10:16]Method: POST [23:10:16]URL: /json_proto [23:10:16]Method is POST - this is cgi request [23:10:16]url: /json_proto [23:10:16]query_string will be loaded in cgi processing [23:10:16]execute_cgi json_proto POST (null) [23:10:16]execute_cgi path=json_proto method=POST [23:10:16]POST find Content-Length [23:10:16]Host: 172.17.39.4:8080 [23:10:16]Content-Length: 1260 [23:10:16]Content-Type: application/json [23:10:16] [23:10:16]POST finish read [23:10:16]Found Content-Length = 1260 [23:10:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129323", "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 }]} ,{ "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": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:10:16]execute_script... [23:10:16]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)129323", "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 }]} ,{ "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": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:10:16]POST & json_proto [23:10:16]process_json_proto [23:10:16]json parsed OK: [23:10:16]protocol is kg_v1.0 [23:10:16]action value=close_receipt [23:10:16]process_action close_receipt [23:10:16]cmd_close_receipt [23:10:16]MH_GetDate [23:10:16]Write to MH i2c: F0 00 00 3A 04 2D [23:10:16]Write i2c OK [23:10:16]MH_I2C_Read... [23:10:16]Read from MH i2c: F0 [23:10:16]MH_I2C_Read... [23:10:16]Read from MH i2c: F0 09 00 [23:10:16]MH_I2C_Read... [23:10:16]Read from MH i2c: F0 09 00 3A 04 00 D9 B7 91 66 2D 25 5D 64 D0 [23:10:16]GetLastDocTimeStamp 1720825460 [23:10:16]current date 1720825817 [23:10:16]FM_GetShiftState [23:10:16]SAM_PROTO_GetShiftState [23:10:16]wFMCommunicate request_size=4 [23:10:16]MH_SAM_APDU [23:10:16]CAPDU: 80 13 01 00 [23:10:16]Write to MH i2c: E2 08 00 3B 04 80 13 01 00 00 00 00 00 BC [23:10:16]Write i2c OK [23:10:16]MH_I2C_Read... [23:10:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:16]Read from MH i2c: E2 [23:10:16]MH_I2C_Read... [23:10:16]Read from MH i2c: E2 0E 00 [23:10:16]MH_I2C_Read... [23:10:16]Read from MH i2c: E2 0E 00 3B 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 BD [23:10:16]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:10:16]wFMCommunicate OK [23:10:16]SAM_PROTO_GetShiftState done [23:10:16]FM_GetShiftState done [23:10:16]opened in 1720744326 [23:10:16]opened+sec_in_day 1720830726 [23:10:16]quantity*price = 10500 [23:10:16]sum+1 = 10501 [23:10:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000039440011 Чай черный 200 мл 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 315.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 103 12.07.2024 23:10 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56835 ФПД: 110009759370302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231017&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56835&fm=110009759370302&tin=02508201610067®Number=0000000000091208&sum=31500 0 [23:10:17]StoreToDocumentArchive [23:10:17]shift 494 fd 56835 [23:10:17]save to /storage/0494/doc_00056835 [23:10:17]save last doc name /storage/0494/doc_00056835 to /storage/kkm_last_doc_name [23:10:17]save OK [23:10:17]Clear old archive folders... [23:10:17]ProcessDocumentItem done err = 0, tmpTLVsize=494 [23:10:17]tlvbuf is 012DC8B0 [23:10:17]SAM_PROTO_ClearQueue [23:10:17]wFMCommunicate request_size=4 [23:10:17]MH_SAM_APDU [23:10:17]CAPDU: 80 09 00 00 [23:10:17]Write to MH i2c: E2 08 00 48 04 80 09 00 00 00 00 00 00 BE [23:10:17]Write i2c OK [23:10:17]MH_I2C_Read... [23:10:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:10:17]Read from MH i2c: E2 [23:10:17]MH_I2C_Read... [23:10:17]Read from MH i2c: E2 03 00 [23:10:17]MH_I2C_Read... [23:10:17]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [23:10:17]RAPDU: 90 00 [23:10:17]wFMCommunicate OK [23:10:17]SAM_PROTO_ClearQueue done [23:10:17]KKMCreateOFDPacket [23:10:17]OFDProtocolAddRootSTLVToBuf [23:10:17]FM_MakeSignedData [23:10:17]FM_MakeSignedData [23:10:17]SAM_PROTO_SignData [23:10:17]wFMCommunicate request_size=4 [23:10:17]MH_SAM_APDU [23:10:17]CAPDU: 80 0D 01 02 [23:10:17]Write to MH i2c: E2 08 00 49 04 80 0D 01 02 00 00 00 00 C6 [23:10:17]Write i2c OK [23:10:17]MH_I2C_Read... [23:10:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:10:17]Read from MH i2c: E2 [23:10:17]MH_I2C_Read... [23:10:17]Read from MH i2c: E2 03 00 [23:10:17]MH_I2C_Read... [23:10:17]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [23:10:17]RAPDU: 90 00 [23:10:17]wFMCommunicate OK [23:10:17]wFMCommunicate request_size=255 [23:10:17]MH_SAM_APDU [23:10:17]CAPDU: 80 0D 02 02 FA 03 00 EE 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 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 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 [23:10:17]Write to MH i2c: E2 02 01 4A 04 80 0D 02 02 FA 00 03 00 EE 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 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 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 00 00 C4 [23:10:17]Write i2c OK [23:10:17]MH_I2C_Read... [23:10:18]OFD Sender: No OFD packet to send [23:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:18]Read from MH i2c: E2 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 03 00 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [23:10:18]RAPDU: 90 00 [23:10:18]wFMCommunicate OK [23:10:18]wFMCommunicate request_size=253 [23:10:18]MH_SAM_APDU [23:10:18]CAPDU: 80 0D 02 02 F8 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D9 B7 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DE 00 00 35 04 06 00 64 0D A4 A1 0C 3E [23:10:18]Write to MH i2c: E2 00 01 4B 04 80 0D 02 02 F8 00 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D9 B7 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DE 00 00 35 04 06 00 64 0D A4 A1 0C 3E 00 00 15 [23:10:18]Write i2c OK [23:10:18]MH_I2C_Read... [23:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:18]Read from MH i2c: E2 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 03 00 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 03 00 4B 04 00 90 00 C3 [23:10:18]RAPDU: 90 00 [23:10:18]wFMCommunicate OK [23:10:18]wFMCommunicate request_size=4 [23:10:18]MH_SAM_APDU [23:10:18]CAPDU: 80 0D 03 02 [23:10:18]Write to MH i2c: E2 08 00 4C 04 80 0D 03 02 00 00 00 00 CB [23:10:18]Write i2c OK [23:10:18]MH_I2C_Read... [23:10:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:10:18]Read from MH i2c: E2 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 0B 00 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 0B 00 4C 04 00 F0 7B BF D0 DD D1 22 53 90 00 E9 [23:10:18]RAPDU: F0 7B BF D0 DD D1 22 53 90 00 [23:10:18]wFMCommunicate OK [23:10:18]SAM_PROTO_SignData done [23:10:18]FM_MakeSignedData done [23:10:18]CreateOFDProtocolMessage [23:10:18]wFMCommunicate request_size=4 [23:10:18]MH_SAM_APDU [23:10:18]CAPDU: 80 11 00 00 [23:10:18]Write to MH i2c: E2 08 00 4D 04 80 11 00 00 00 00 00 00 CB [23:10:18]Write i2c OK [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 [23:10:18]MH_I2C_Read... [23:10:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:18]Read from MH i2c: E2 17 00 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: E2 17 00 4D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [23:10:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:10:18]wFMCommunicate OK [23:10:18]CreateOFDProtocolMessage done [23:10:18]OFDSenderStorePacket 56835 [23:10:18]StoreOFDPacket docnum=56835 [23:10:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 02 02 00 00 37 EF FA 01 C4 1D 5A 03 01 00 03 00 EE 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 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 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D9 B7 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DE 00 00 35 04 06 00 64 0D A4 A1 0C 3E F0 7B BF D0 DD D1 22 53 [23:10:18]CheckFolder [23:10:18]dirname=/storage/ofd_packets [23:10:18]CheckFolder done [23:10:18]ProducePacketName [23:10:18]name=ofd_packets/00056835 [23:10:18]NVStorageSaveData ofd_packets/00056835 [23:10:18]File name is /storage/ofd_packets/00056835 [23:10:18]Write 544 bytes [23:10:18]NVStorageSaveData done [23:10:18]OFDSenderStorePacket done [23:10:18]KKMCreateOFDPacket done [23:10:18]NVStorageSaveData kkm_last_timestamp [23:10:18]File name is /storage/kkm_last_timestamp [23:10:18]Write 4 bytes [23:10:18]NVStorageSaveData done [23:10:18]OFD Sender: Processing packet 56835 [packets to send 38, broken 37] [23:10:18]ProducePacketName [23:10:18]name=ofd_packets/00056835 [23:10:18]OFD Sender: To server: pG, [23:10:18]CommunicateWithHost lk.salyk.kg:30040 [23:10:18]ConnectInit lk.salyk.kg [23:10:18]ExternCall_PrintAddStr [23:10:18]wPrintStart [23:10:18]Write to MH i2c: 01 00 00 4E 04 52 [23:10:18]Write i2c OK [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: 01 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: 01 07 00 [23:10:18]MH_I2C_Read... [23:10:18]Read from MH i2c: 01 07 00 4E 04 00 00 00 00 00 FF 0F 67 [23:10:18]RasterBufferAndPrint [23:10:18]line Счет N : (3)129323 [23:10:18]line ИНН: 02508201610067 [23:10:18]line Контрольно-Кассовый Чек [23:10:18]line ПРОДАЖА [23:10:18]line Товар: 2000034730018 [23:10:18]line Кофе Американо (GABB TRADE) [23:10:18]line 1.000 * 105.00 [23:10:18]line = 105.00 [23:10:18]line НДС 12% НСП 1% [23:10:18]line > о реализуемом товаре [23:10:18]line Товар: 2000036220012 [23:10:18]line Кофе Капучино XL(GABB TRADE) [23:10:18]line 1.000 * 130.00 [23:10:18]line = 130.00 [23:10:18]line НДС 12% НСП 1% [23:10:18]line > о реализуемом товаре [23:10:18]line Товар: 2000039440011 [23:10:18]line Чай черный 200 мл [23:10:18]line 2.000 * 40.00 [23:10:18]line = 80.00 [23:10:18]line НДС 12% НСП 1% [23:10:18]line > о реализуемом товаре [23:10:18]line ИТОГО: 315.00 [23:10:18]line НСП 1% : 2.79 [23:10:18]line НДС 12% : 33.45 [23:10:18]line Наличными: 315.00 [23:10:18]line Безнал.: 0.00 [23:10:18]line Место: АЗС № 132 "Партнер Нефть" [23:10:18]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:10:18]line СНО: Общий режим [23:10:18]line Чек 103 12.07.2024 23:10 [23:10:18]line Смена: 494 ФФД: 1.0 [23:10:18]line ЗНМ: 0300000132 [23:10:18]line РНМ: 0000000000091208 [23:10:18]line Версия ККМ: 001 [23:10:18]line ФМ: 0000000000874857 [23:10:18]line ФД: 56835 [23:10:18]line ФПД: 110009759370302 [23:10:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231017&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56835&fm=110009759370302&tin=02508201610067®Number=0000000000091208&sum=31500 [23:10:18]line 0 [23:10:18]written 0, free lines is 4095 [23:10:18]Connected sock=11 [23:10:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 02 02 00 00 37 EF FA 01 C4 1D 5A 03 01 00 03 00 EE 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 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 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 D9 B7 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DE 00 00 35 04 06 00 64 0D A4 A1 0C 3E F0 7B BF D0 DD D1 22 53 [23:10:19]Write to MH i2c: 01 00 00 84 04 88 [23:10:19]Write i2c OK [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: 01 [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: 01 07 00 [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: 01 07 00 84 04 00 00 00 00 00 3C 0C D7 [23:10:19]RasterBufferAndPrint [23:10:19]line [23:10:19]line [23:10:19]line [23:10:19]line [23:10:19]line [23:10:19]written 0, free lines is 3138 [23:10:19]MH_Cut [23:10:19]Write to MH i2c: D1 01 00 8B 04 01 61 [23:10:19]Write i2c OK [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: D1 [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: D1 01 00 [23:10:19]MH_I2C_Read... [23:10:19]Read from MH i2c: D1 01 00 8B 04 00 60 [23:10:19]Write to MH i2c: 01 00 00 8C 04 90 [23:10:19]Write i2c OK [23:10:19]MH_I2C_Read... [23:10:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 06 C7 47 00 EA F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DE 00 00 F4 03 04 00 2F 5E 91 66 B6 04 01 00 00 3F 2B 56 4D FB D1 2C F3 [23:10:19]CommunicateWithHost err = 0 [23:10:19]CheckOFDResponse [23:10:19]1017 (14) - 77093643461234 [23:10:19]1041 (16) - 0000000000874857 [23:10:19]1040 (4) - 56835 [23:10:19]1012 (4) - 12.07.2024 16:47 [23:10:19]1206 (1) - 0 [23:10:19]OFD Sender: Remove packet 56835 [23:10:19]ProducePacketName [23:10:19]name=ofd_packets/00056835 [23:10:19]NVStorageDeleteData [23:10:19]OFD Sender: No OFD packet to send [23:10:19]*** Cut start [23:10:19]*** Partial cut [23:10:19]*** CUTSNS_PIN = 1 [23:10:20]*** CUTSNS_PIN = 0 [23:10:20]*** Brake cut motor [23:10:20]Read from MH i2c: 01 [23:10:20]MH_I2C_Read... [23:10:20]*** Stop cut motor [23:10:20]*** Cut end [23:10:20]Read from MH i2c: 01 07 00 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: 01 07 00 8C 04 00 00 00 00 00 FF 0F A5 [23:10:20]process_action close_receipt done [23:10:20]requested_data is exist [23:10:20]produce_requested_data [23:10:20]requested_item fm.sn is exist - process it [23:10:20]wFMCommunicate request_size=4 [23:10:20]MH_SAM_APDU [23:10:20]CAPDU: 80 11 00 00 [23:10:20]Write to MH i2c: E2 08 00 8D 04 80 11 00 00 00 00 00 00 0B [23:10:20]Write i2c OK [23:10:20]MH_I2C_Read... [23:10:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:20]Read from MH i2c: E2 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 17 00 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 17 00 8D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [23:10:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:10:20]wFMCommunicate OK [23:10:20]requested_item fd.num is exist - process it [23:10:20]SAM_PROTO_GetFieldsCounters [23:10:20]wFMCommunicate request_size=4 [23:10:20]MH_SAM_APDU [23:10:20]CAPDU: 80 13 00 00 [23:10:20]Write to MH i2c: E2 08 00 8E 04 80 13 00 00 00 00 00 00 0E [23:10:20]Write i2c OK [23:10:20]MH_I2C_Read... [23:10:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:10:20]Read from MH i2c: E2 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 62 00 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 62 00 8E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 03 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [23:10:20]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 03 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:10:20]wFMCommunicate OK [23:10:20]SAM_PROTO_GetFieldsCounters done [23:10:20]requested_item shift.num is exist - process it [23:10:20]requested_item shift.opened is exist - process it [23:10:20]req_shift_opened [23:10:20]FM_GetShiftState [23:10:20]SAM_PROTO_GetShiftState [23:10:20]wFMCommunicate request_size=4 [23:10:20]MH_SAM_APDU [23:10:20]CAPDU: 80 13 01 00 [23:10:20]Write to MH i2c: E2 08 00 8F 04 80 13 01 00 00 00 00 00 10 [23:10:20]Write i2c OK [23:10:20]MH_I2C_Read... [23:10:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:20]Read from MH i2c: E2 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 0E 00 [23:10:20]MH_I2C_Read... [23:10:20]Read from MH i2c: E2 0E 00 8F 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 11 [23:10:20]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:10:20]wFMCommunicate OK [23:10:20]SAM_PROTO_GetShiftState done [23:10:20]FM_GetShiftState done [23:10:20]req_shift_opened done [23:10:20]requested_item shift.open_date is exist - process it [23:10:20]req_shift_open_date [23:10:20]req_shift_open_date done [23:10:20]requested_item shift.sale.total is exist - process it [23:10:20]SAM_PROTO_GetShiftData [23:10:20]wFMCommunicate request_size=4 [23:10:20]MH_SAM_APDU [23:10:20]CAPDU: 80 13 02 00 [23:10:20]Write to MH i2c: E2 08 00 90 04 80 13 02 00 00 00 00 00 12 [23:10:20]Write i2c OK [23:10:20]MH_I2C_Read... [23:10:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:10:21]Read from MH i2c: E2 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 90 04 00 B6 04 AA 04 B2 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 20 8E 28 70 04 03 00 70 57 1F 72 04 03 00 B0 36 09 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 A5 4E 04 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 D9 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 33 [23:10:21]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 20 8E 28 70 04 03 00 70 57 1F 72 04 03 00 B0 36 09 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 A5 4E 04 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 D9 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:10:21]wFMCommunicate OK [23:10:21]wFMCommunicate request_size=4 [23:10:21]MH_SAM_APDU [23:10:21]CAPDU: 80 17 00 00 [23:10:21]Write to MH i2c: E2 08 00 91 04 80 17 00 00 00 00 00 00 15 [23:10:21]Write i2c OK [23:10:21]MH_I2C_Read... [23:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:10:21]Read from MH i2c: E2 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 91 04 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [23:10:21]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:10:21]wFMCommunicate OK [23:10:21]wFMCommunicate request_size=4 [23:10:21]MH_SAM_APDU [23:10:21]CAPDU: 80 17 00 00 [23:10:21]Write to MH i2c: E2 08 00 92 04 80 17 00 00 00 00 00 00 16 [23:10:21]Write i2c OK [23:10:21]MH_I2C_Read... [23:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:10:21]Read from MH i2c: E2 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 [23:10:21]MH_I2C_Read... [23:10:21]Read from MH i2c: E2 FD 00 92 04 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [23:10:21]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:10:21]wFMCommunicate OK [23:10:21]wFMCommunicate request_size=4 [23:10:21]MH_SAM_APDU [23:10:21]CAPDU: 80 17 00 00 [23:10:21]Write to MH i2c: E2 08 00 93 04 80 17 00 00 00 00 00 00 17 [23:10:21]Write i2c OK [23:10:21]MH_I2C_Read... [23:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:10:22]Read from MH i2c: E2 [23:10:22]MH_I2C_Read... [23:10:22]Read from MH i2c: E2 FD 00 [23:10:22]MH_I2C_Read... [23:10:22]Read from MH i2c: E2 FD 00 93 04 00 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 90 00 86 [23:10:22]RAPDU: 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 90 00 [23:10:22]wFMCommunicate OK [23:10:22]wFMCommunicate request_size=4 [23:10:22]MH_SAM_APDU [23:10:22]CAPDU: 80 17 00 00 [23:10:22]Write to MH i2c: E2 08 00 94 04 80 17 00 00 00 00 00 00 18 [23:10:22]Write i2c OK [23:10:22]MH_I2C_Read... [23:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:10:22]Read from MH i2c: E2 [23:10:22]MH_I2C_Read... [23:10:22]Read from MH i2c: E2 D3 00 [23:10:22]MH_I2C_Read... [23:10:22]Read from MH i2c: E2 D3 00 94 04 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 05 [23:10:22]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:10:22]wFMCommunicate OK [23:10:22]SAM_PROTO_GetShiftData done [23:10:22]requested_item shift.sale.total_cash is exist - process it [23:10:22]requested_item shift.sale_refund.total is exist - process it [23:10:22]requested_item shift.sale_refund.total_cash is exist - process it [23:10:22]produce_requested_data done [23:10:22]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56835,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26578.24,"shift.sale.total_cash":20540.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:10:22]process_action_free close_receipt [23:10:22]json_value_free [23:10:22]json_value_free done [23:10:22]process_json_proto returns [23:10:22]Send response to host [23:10:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56835,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26578.24,"shift.sale.total_cash":20540.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:10:22]free response buf [23:10:22]execute_script done [23:10:22]execute_script returns [23:10:22]free content buf [23:10:22]Sock 9.Close socket [23:10:22]Sock 9.Thread stoped [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:57]accept exits with 8 [23:10:57]New connection [23:10:57]New thread 3067563364 created [23:10:57]Thread 3067420004 joined [23:10:57]Waiting for new connection... [23:10:57] Sock 8.Parse request [23:10:57]Sock 8.Check first char [23:10:57]Sock 8.First char is OK [23:10:57]request: POST /json_proto HTTP/1.0 [23:10:57]Method: POST [23:10:57]URL: /json_proto [23:10:57]Method is POST - this is cgi request [23:10:57]url: /json_proto [23:10:57]query_string will be loaded in cgi processing [23:10:57]execute_cgi json_proto POST (null) [23:10:57]execute_cgi path=json_proto method=POST [23:10:57]POST find Content-Length [23:10:57]Host: 172.17.39.4:8080 [23:10:57]Content-Length: 727 [23:10:57]Content-Type: application/json [23:10:57] [23:10:57]POST finish read [23:10:57]Found Content-Length = 727 [23:10:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129324", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:10:57]execute_script... [23:10: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)129324", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:10:57]POST & json_proto [23:10:57]process_json_proto [23:10:57]json parsed OK: [23:10:57]protocol is kg_v1.0 [23:10:57]action value=close_receipt [23:10:57]process_action close_receipt [23:10:57]cmd_close_receipt [23:10:57]MH_GetDate [23:10:57]Write to MH i2c: F0 00 00 95 04 88 [23:10:57]Write i2c OK [23:10:57]MH_I2C_Read... [23:10:57]Read from MH i2c: F0 [23:10:57]MH_I2C_Read... [23:10:57]Read from MH i2c: F0 09 00 [23:10:57]MH_I2C_Read... [23:10:57]Read from MH i2c: F0 09 00 95 04 00 02 B8 91 66 2D 25 5D 64 55 [23:10:57]GetLastDocTimeStamp 1720825817 [23:10:57]current date 1720825858 [23:10:57]FM_GetShiftState [23:10:57]SAM_PROTO_GetShiftState [23:10:57]wFMCommunicate request_size=4 [23:10:57]MH_SAM_APDU [23:10:57]CAPDU: 80 13 01 00 [23:10:57]Write to MH i2c: E2 08 00 96 04 80 13 01 00 00 00 00 00 17 [23:10:57]Write i2c OK [23:10:57]MH_I2C_Read... [23:10:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:57]Read from MH i2c: E2 [23:10:57]MH_I2C_Read... [23:10:57]Read from MH i2c: E2 0E 00 [23:10:57]MH_I2C_Read... [23:10:57]Read from MH i2c: E2 0E 00 96 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 18 [23:10:57]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:10:57]wFMCommunicate OK [23:10:57]SAM_PROTO_GetShiftState done [23:10:57]FM_GetShiftState done [23:10:57]opened in 1720744326 [23:10:57]opened+sec_in_day 1720830726 [23:10:57]quantity*price = 14000 [23:10:57]sum+1 = 14001 [23:10:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 104 12.07.2024 23:10 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56836 ФПД: 242734172541589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56836&fm=242734172541589&tin=02508201610067®Number=0000000000091208&sum=14000 0 [23:10:59]StoreToDocumentArchive [23:10:59]shift 494 fd 56836 [23:10:59]save to /storage/0494/doc_00056836 [23:10:59]save last doc name /storage/0494/doc_00056836 to /storage/kkm_last_doc_name [23:10:59]save OK [23:10:59]Clear old archive folders... [23:10:59]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:10:59]tlvbuf is 012F2230 [23:10:59]SAM_PROTO_ClearQueue [23:10:59]wFMCommunicate request_size=4 [23:10:59]MH_SAM_APDU [23:10:59]CAPDU: 80 09 00 00 [23:10:59]Write to MH i2c: E2 08 00 A3 04 80 09 00 00 00 00 00 00 19 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 A3 04 00 90 00 1B [23:10:59]RAPDU: 90 00 [23:10:59]wFMCommunicate OK [23:10:59]SAM_PROTO_ClearQueue done [23:10:59]KKMCreateOFDPacket [23:10:59]OFDProtocolAddRootSTLVToBuf [23:10:59]FM_MakeSignedData [23:10:59]FM_MakeSignedData [23:10:59]SAM_PROTO_SignData [23:10:59]wFMCommunicate request_size=4 [23:10:59]MH_SAM_APDU [23:10:59]CAPDU: 80 0D 01 02 [23:10:59]Write to MH i2c: E2 08 00 A4 04 80 0D 01 02 00 00 00 00 21 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 A4 04 00 90 00 1C [23:10:59]RAPDU: 90 00 [23:10:59]wFMCommunicate OK [23:10:59]wFMCommunicate request_size=255 [23:10:59]MH_SAM_APDU [23:10:59]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 68 00 00 00 F4 03 04 00 02 B8 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [23:10:59]Write to MH i2c: E2 02 01 A5 04 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 68 00 00 00 F4 03 04 00 02 B8 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 B4 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 A5 04 00 90 00 1D [23:10:59]RAPDU: 90 00 [23:10:59]wFMCommunicate OK [23:10:59]wFMCommunicate request_size=34 [23:10:59]MH_SAM_APDU [23:10:59]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DE 00 00 35 04 06 00 DC C3 F4 21 12 95 [23:10:59]Write to MH i2c: E2 25 00 A6 04 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DE 00 00 35 04 06 00 DC C3 F4 21 12 95 00 00 29 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 03 00 A6 04 00 90 00 1E [23:10:59]RAPDU: 90 00 [23:10:59]wFMCommunicate OK [23:10:59]wFMCommunicate request_size=4 [23:10:59]MH_SAM_APDU [23:10:59]CAPDU: 80 0D 03 02 [23:10:59]Write to MH i2c: E2 08 00 A7 04 80 0D 03 02 00 00 00 00 26 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 0B 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 0B 00 A7 04 00 38 D2 2A 29 1C 43 29 5A 90 00 66 [23:10:59]RAPDU: 38 D2 2A 29 1C 43 29 5A 90 00 [23:10:59]wFMCommunicate OK [23:10:59]SAM_PROTO_SignData done [23:10:59]FM_MakeSignedData done [23:10:59]CreateOFDProtocolMessage [23:10:59]wFMCommunicate request_size=4 [23:10:59]MH_SAM_APDU [23:10:59]CAPDU: 80 11 00 00 [23:10:59]Write to MH i2c: E2 08 00 A8 04 80 11 00 00 00 00 00 00 26 [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:59]Read from MH i2c: E2 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 17 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: E2 17 00 A8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 80 [23:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:10:59]wFMCommunicate OK [23:10:59]CreateOFDProtocolMessage done [23:10:59]OFDSenderStorePacket 56836 [23:10:59]StoreOFDPacket docnum=56836 [23:10:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 0C C7 1F 01 38 23 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 68 00 00 00 F4 03 04 00 02 B8 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DE 00 00 35 04 06 00 DC C3 F4 21 12 95 38 D2 2A 29 1C 43 29 5A [23:10:59]CheckFolder [23:10:59]dirname=/storage/ofd_packets [23:10:59]CheckFolder done [23:10:59]ProducePacketName [23:10:59]name=ofd_packets/00056836 [23:10:59]NVStorageSaveData ofd_packets/00056836 [23:10:59]File name is /storage/ofd_packets/00056836 [23:10:59]Write 325 bytes [23:10:59]NVStorageSaveData done [23:10:59]OFDSenderStorePacket done [23:10:59]KKMCreateOFDPacket done [23:10:59]NVStorageSaveData kkm_last_timestamp [23:10:59]File name is /storage/kkm_last_timestamp [23:10:59]Write 4 bytes [23:10:59]NVStorageSaveData done [23:10:59]ExternCall_PrintAddStr [23:10:59]wPrintStart [23:10:59]Write to MH i2c: 01 00 00 A9 04 AD [23:10:59]Write i2c OK [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: 01 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: 01 07 00 [23:10:59]MH_I2C_Read... [23:10:59]Read from MH i2c: 01 07 00 A9 04 00 00 00 00 00 FF 0F C2 [23:10:59]RasterBufferAndPrint [23:10:59]line Счет N : (3)129324 [23:10:59]line ИНН: 02508201610067 [23:10:59]line Контрольно-Кассовый Чек [23:10:59]line ПРОДАЖА [23:10:59]line Товар: 48743587 [23:10:59]line Сигареты Winston XStyle Silver [23:10:59]line 1.000 * 140.00 [23:10:59]line = 140.00 [23:10:59]line НДС 12% НСП 1% [23:10:59]line > о реализуемом товаре [23:10:59]line ИТОГО: 140.00 [23:10:59]line НСП 1% : 1.24 [23:10:59]line НДС 12% : 14.87 [23:10:59]line Наличными: 140.00 [23:10:59]line Безнал.: 0.00 [23:10:59]line Место: АЗС № 132 "Партнер Нефть" [23:10:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:10:59]line СНО: Общий режим [23:10:59]line Чек 104 12.07.2024 23:10 [23:10:59]line Смена: 494 ФФД: 1.0 [23:10:59]line ЗНМ: 0300000132 [23:10:59]line РНМ: 0000000000091208 [23:10:59]line Версия ККМ: 001 [23:10:59]line ФМ: 0000000000874857 [23:10:59]line ФД: 56836 [23:10:59]line ФПД: 242734172541589 [23:10:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T231058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56836&fm=242734172541589&tin=02508201610067®Number=0000000000091208&sum=14000 [23:10:59]line 0 [23:10:59]written 0, free lines is 4095 [23:10:59]OFD Sender: Processing packet 56836 [packets to send 38, broken 37] [23:10:59]ProducePacketName [23:10:59]name=ofd_packets/00056836 [23:10:59]OFD Sender: To server: pG, [23:10:59]CommunicateWithHost lk.salyk.kg:30040 [23:10:59]ConnectInit lk.salyk.kg [23:11:00]Connected sock=11 [23:11: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 38 35 37 27 01 00 00 0C C7 1F 01 38 23 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 68 00 00 00 F4 03 04 00 02 B8 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DE 00 00 35 04 06 00 DC C3 F4 21 12 95 38 D2 2A 29 1C 43 29 5A [23:11:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 4B 43 47 00 25 04 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 38 35 37 10 04 04 00 04 DE 00 00 F4 03 04 00 58 5E 91 66 B6 04 01 00 00 30 81 F3 9A 13 47 29 2C [23:11:00]CommunicateWithHost err = 0 [23:11:00]CheckOFDResponse [23:11:00]1017 (14) - 77093643461234 [23:11:00]1041 (16) - 0000000000874857 [23:11:00]1040 (4) - 56836 [23:11:00]1012 (4) - 12.07.2024 16:48 [23:11:00]1206 (1) - 0 [23:11:00]OFD Sender: Remove packet 56836 [23:11:00]ProducePacketName [23:11:00]name=ofd_packets/00056836 [23:11:00]NVStorageDeleteData [23:11:00]Write to MH i2c: 01 00 00 D2 04 D6 [23:11:00]Write i2c OK [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: 01 [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: 01 07 00 [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: 01 07 00 D2 04 00 00 00 00 00 EE 0C D7 [23:11:00]RasterBufferAndPrint [23:11:00]line [23:11:00]line [23:11:00]line [23:11:00]line [23:11:00]line [23:11:00]written 0, free lines is 3316 [23:11:00]MH_Cut [23:11:00]Write to MH i2c: D1 01 00 D9 04 01 AF [23:11:00]Write i2c OK [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: D1 [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: D1 01 00 [23:11:00]MH_I2C_Read... [23:11:00]Read from MH i2c: D1 01 00 D9 04 00 AE [23:11:00]Write to MH i2c: 01 00 00 DA 04 DE [23:11:00]Write i2c OK [23:11:00]MH_I2C_Read... [23:11:00]OFD Sender: No OFD packet to send [23:11:01]*** Cut start [23:11:01]*** Partial cut [23:11:01]*** CUTSNS_PIN = 1 [23:11:01]*** CUTSNS_PIN = 0 [23:11:01]*** Brake cut motor [23:11:01]Read from MH i2c: 01 [23:11:01]MH_I2C_Read... [23:11:01]*** Stop cut motor [23:11:01]*** Cut end [23:11:01]Read from MH i2c: 01 07 00 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: 01 07 00 DA 04 00 00 00 00 00 FF 0F F3 [23:11:01]process_action close_receipt done [23:11:01]requested_data is exist [23:11:01]produce_requested_data [23:11:01]requested_item fm.sn is exist - process it [23:11:01]wFMCommunicate request_size=4 [23:11:01]MH_SAM_APDU [23:11:01]CAPDU: 80 11 00 00 [23:11:01]Write to MH i2c: E2 08 00 DB 04 80 11 00 00 00 00 00 00 59 [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:01]Read from MH i2c: E2 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 17 00 [23:11:01]MH_I2C_Read... [23:11:01]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 38 35 37 90 00 B3 [23:11:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:11:01]wFMCommunicate OK [23:11:01]requested_item fd.num is exist - process it [23:11:01]SAM_PROTO_GetFieldsCounters [23:11:01]wFMCommunicate request_size=4 [23:11:01]MH_SAM_APDU [23:11:01]CAPDU: 80 13 00 00 [23:11:01]Write to MH i2c: E2 08 00 DC 04 80 13 00 00 00 00 00 00 5C [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:01]Read from MH i2c: E2 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 62 00 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 62 00 DC 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 04 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [23:11: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 04 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:01]wFMCommunicate OK [23:11:01]SAM_PROTO_GetFieldsCounters done [23:11:01]requested_item shift.num is exist - process it [23:11:01]requested_item shift.opened is exist - process it [23:11:01]req_shift_opened [23:11:01]FM_GetShiftState [23:11:01]SAM_PROTO_GetShiftState [23:11:01]wFMCommunicate request_size=4 [23:11:01]MH_SAM_APDU [23:11:01]CAPDU: 80 13 01 00 [23:11:01]Write to MH i2c: E2 08 00 DD 04 80 13 01 00 00 00 00 00 5E [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:01]Read from MH i2c: E2 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 0E 00 [23:11:01]MH_I2C_Read... [23:11:01]Read from MH i2c: E2 0E 00 DD 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 5F [23:11:01]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:11:01]wFMCommunicate OK [23:11:01]SAM_PROTO_GetShiftState done [23:11:01]FM_GetShiftState done [23:11:01]req_shift_opened done [23:11:01]requested_item shift.open_date is exist - process it [23:11:01]req_shift_open_date [23:11:01]req_shift_open_date done [23:11:01]requested_item shift.sale.total is exist - process it [23:11:01]SAM_PROTO_GetShiftData [23:11:01]wFMCommunicate request_size=4 [23:11:01]MH_SAM_APDU [23:11:01]CAPDU: 80 13 02 00 [23:11:01]Write to MH i2c: E2 08 00 DE 04 80 13 02 00 00 00 00 00 60 [23:11:01]Write i2c OK [23:11:01]MH_I2C_Read... [23:11:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:11:02]Read from MH i2c: E2 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 DE 04 00 B6 04 AA 04 B2 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 D0 C4 28 70 04 03 00 20 8E 1F 72 04 03 00 B0 36 09 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 74 54 04 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 55 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 A2 [23:11:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 D0 C4 28 70 04 03 00 20 8E 1F 72 04 03 00 B0 36 09 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 74 54 04 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 55 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:11:02]wFMCommunicate OK [23:11:02]wFMCommunicate request_size=4 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 17 00 00 [23:11:02]Write to MH i2c: E2 08 00 DF 04 80 17 00 00 00 00 00 00 63 [23:11:02]Write i2c OK [23:11:02]MH_I2C_Read... [23:11:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:02]Read from MH i2c: E2 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 DF 04 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A2 [23:11:02]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:11:02]wFMCommunicate OK [23:11:02]wFMCommunicate request_size=4 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 17 00 00 [23:11:02]Write to MH i2c: E2 08 00 E0 04 80 17 00 00 00 00 00 00 64 [23:11:02]Write i2c OK [23:11:02]MH_I2C_Read... [23:11:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:02]Read from MH i2c: E2 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 [23:11:02]MH_I2C_Read... [23:11:02]Read from MH i2c: E2 FD 00 E0 04 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [23:11:02]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:11:02]wFMCommunicate OK [23:11:02]wFMCommunicate request_size=4 [23:11:02]MH_SAM_APDU [23:11:02]CAPDU: 80 17 00 00 [23:11:02]Write to MH i2c: E2 08 00 E1 04 80 17 00 00 00 00 00 00 65 [23:11:02]Write i2c OK [23:11:02]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 FD 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 FD 00 E1 04 00 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 90 00 D4 [23:11:03]RAPDU: 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 90 00 [23:11:03]wFMCommunicate OK [23:11:03]wFMCommunicate request_size=4 [23:11:03]MH_SAM_APDU [23:11:03]CAPDU: 80 17 00 00 [23:11:03]Write to MH i2c: E2 08 00 E2 04 80 17 00 00 00 00 00 00 66 [23:11:03]Write i2c OK [23:11:03]MH_I2C_Read... [23:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:11:03]Read from MH i2c: E2 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 D3 00 [23:11:03]MH_I2C_Read... [23:11:03]Read from MH i2c: E2 D3 00 E2 04 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 53 [23:11:03]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:11:03]wFMCommunicate OK [23:11:03]SAM_PROTO_GetShiftData done [23:11:03]requested_item shift.sale.total_cash is exist - process it [23:11:03]requested_item shift.sale_refund.total is exist - process it [23:11:03]requested_item shift.sale_refund.total_cash is exist - process it [23:11:03]produce_requested_data done [23:11:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56836,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26718.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:11:03]process_action_free close_receipt [23:11:03]json_value_free [23:11:03]json_value_free done [23:11:03]process_json_proto returns [23:11:03]Send response to host [23:11:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56836,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26718.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:11:03]free response buf [23:11:03]execute_script done [23:11:03]execute_script returns [23:11:03]free content buf [23:11:03]Sock 8.Close socket [23:11:03]Sock 8.Thread stoped [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:56]OFD Sender: No OFD packet to send [23:18:01]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:01]OFD Sender: No OFD packet to send [23:19:06]OFD Sender: No OFD packet to send [23:19:11]OFD Sender: No OFD packet to send [23:19:16]OFD Sender: No OFD packet to send [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:31]OFD Sender: No OFD packet to send [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:26]OFD Sender: No OFD packet to send [23:20:31]OFD Sender: No OFD packet to send [23:20:36]OFD Sender: No OFD packet to send [23:20:41]OFD Sender: No OFD packet to send [23:20:46]OFD Sender: No OFD packet to send [23:20:51]OFD Sender: No OFD packet to send [23:20:56]OFD Sender: No OFD packet to send [23:21:01]OFD Sender: No OFD packet to send [23:21:06]OFD Sender: No OFD packet to send [23:21:11]OFD Sender: No OFD packet to send [23:21:16]OFD Sender: No OFD packet to send [23:21:21]OFD Sender: No OFD packet to send [23:21:26]OFD Sender: No OFD packet to send [23:21:31]OFD Sender: No OFD packet to send [23:21:36]OFD Sender: No OFD packet to send [23:21:41]OFD Sender: No OFD packet to send [23:21:46]OFD Sender: No OFD packet to send [23:21:51]OFD Sender: No OFD packet to send [23:21:56]OFD Sender: No OFD packet to send [23:22:01]OFD Sender: No OFD packet to send [23:22:06]OFD Sender: No OFD packet to send [23:22:11]OFD Sender: No OFD packet to send [23:22:16]OFD Sender: No OFD packet to send [23:22:21]OFD Sender: No OFD packet to send [23:22:26]OFD Sender: No OFD packet to send [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:57:03]OFD Sender: No OFD packet to send [23:57:03]accept exits with 9 [23:57:03]New connection [23:57:03]New thread 3067420004 created [23:57:03]Thread 3067563364 joined [23:57:03]Waiting for new connection... [23:57:03] Sock 9.Parse request [23:57:03]Sock 9.Check first char [23:57:03]Sock 9.First char is OK [23:57:03]request: POST /json_proto HTTP/1.0 [23:57:03]Method: POST [23:57:03]URL: /json_proto [23:57:03]Method is POST - this is cgi request [23:57:03]url: /json_proto [23:57:03]query_string will be loaded in cgi processing [23:57:03]execute_cgi json_proto POST (null) [23:57:03]execute_cgi path=json_proto method=POST [23:57:03]POST find Content-Length [23:57:03]Host: 172.17.39.4:8080 [23:57:03]Content-Length: 977 [23:57:03]Content-Type: application/json [23:57:03] [23:57:03]POST finish read [23:57:03]Found Content-Length = 977 [23:57:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129325", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:57:03]execute_script... [23:57:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129325", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:57:03]POST & json_proto [23:57:03]process_json_proto [23:57:03]json parsed OK: [23:57:03]protocol is kg_v1.0 [23:57:03]action value=close_receipt [23:57:03]process_action close_receipt [23:57:03]cmd_close_receipt [23:57:03]MH_GetDate [23:57:03]Write to MH i2c: F0 00 00 E3 04 D6 [23:57:03]Write i2c OK [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 09 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: F0 09 00 E3 04 00 D0 C2 91 66 2D 25 5D 64 7B [23:57:03]GetLastDocTimeStamp 1720825858 [23:57:03]current date 1720828624 [23:57:03]FM_GetShiftState [23:57:03]SAM_PROTO_GetShiftState [23:57:03]wFMCommunicate request_size=4 [23:57:03]MH_SAM_APDU [23:57:03]CAPDU: 80 13 01 00 [23:57:03]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [23:57:03]Write i2c OK [23:57:03]MH_I2C_Read... [23:57:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:03]Read from MH i2c: E2 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 0E 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 86 79 90 66 00 00 00 00 90 00 66 [23:57:03]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:57:03]wFMCommunicate OK [23:57:03]SAM_PROTO_GetShiftState done [23:57:03]FM_GetShiftState done [23:57:03]opened in 1720744326 [23:57:03]opened+sec_in_day 1720830726 [23:57:03]quantity*price = 13000 [23:57:03]sum+1 = 13001 [23:57:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 105 12.07.2024 23:57 Смена: 494 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56837 ФПД: 216075590064426 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T235704&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56837&fm=216075590064426&tin=02508201610067®Number=0000000000091208&sum=13000 0 [23:57:04]StoreToDocumentArchive [23:57:04]shift 494 fd 56837 [23:57:04]save to /storage/0494/doc_00056837 [23:57:04]save last doc name /storage/0494/doc_00056837 to /storage/kkm_last_doc_name [23:57:04]save OK [23:57:04]Clear old archive folders... [23:57:04]ProcessDocumentItem done err = 0, tmpTLVsize=284 [23:57:04]tlvbuf is 012F21E0 [23:57:04]SAM_PROTO_ClearQueue [23:57:04]wFMCommunicate request_size=4 [23:57:04]MH_SAM_APDU [23:57:04]CAPDU: 80 09 00 00 [23:57:04]Write to MH i2c: E2 08 00 F1 04 80 09 00 00 00 00 00 00 67 [23:57:04]Write i2c OK [23:57:04]MH_I2C_Read... [23:57:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:04]Read from MH i2c: E2 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: E2 03 00 [23:57:04]MH_I2C_Read... [23:57:04]Read from MH i2c: E2 03 00 F1 04 00 90 00 69 [23:57:04]RAPDU: 90 00 [23:57:04]wFMCommunicate OK [23:57:04]SAM_PROTO_ClearQueue done [23:57:04]KKMCreateOFDPacket [23:57:04]OFDProtocolAddRootSTLVToBuf [23:57:04]FM_MakeSignedData [23:57:04]FM_MakeSignedData [23:57:04]SAM_PROTO_SignData [23:57:04]wFMCommunicate request_size=4 [23:57:04]MH_SAM_APDU [23:57:04]CAPDU: 80 0D 01 02 [23:57:04]Write to MH i2c: E2 08 00 F2 04 80 0D 01 02 00 00 00 00 6F [23:57:04]Write i2c OK [23:57:04]MH_I2C_Read... [23:57:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 F2 04 00 90 00 6A [23:57:05]RAPDU: 90 00 [23:57:05]wFMCommunicate OK [23:57:05]wFMCommunicate request_size=255 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 D0 C2 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [23:57:05]Write to MH i2c: E2 02 01 F3 04 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 D0 C2 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 61 [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 F3 04 00 90 00 6B [23:57:05]RAPDU: 90 00 [23:57:05]wFMCommunicate OK [23:57:05]wFMCommunicate request_size=43 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DE 00 00 35 04 06 00 C4 85 04 CA 59 2A [23:57:05]Write to MH i2c: E2 2E 00 F4 04 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DE 00 00 35 04 06 00 C4 85 04 CA 59 2A 00 00 DE [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 03 00 F4 04 00 90 00 6C [23:57:05]RAPDU: 90 00 [23:57:05]wFMCommunicate OK [23:57:05]wFMCommunicate request_size=4 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 0D 03 02 [23:57:05]Write to MH i2c: E2 08 00 F5 04 80 0D 03 02 00 00 00 00 74 [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 0B 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 0B 00 F5 04 00 80 33 12 F2 07 53 CA 58 90 00 A8 [23:57:05]RAPDU: 80 33 12 F2 07 53 CA 58 90 00 [23:57:05]wFMCommunicate OK [23:57:05]SAM_PROTO_SignData done [23:57:05]FM_MakeSignedData done [23:57:05]CreateOFDProtocolMessage [23:57:05]wFMCommunicate request_size=4 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 11 00 00 [23:57:05]Write to MH i2c: E2 08 00 F6 04 80 11 00 00 00 00 00 00 74 [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:05]Read from MH i2c: E2 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 17 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: E2 17 00 F6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CE [23:57:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:57:05]wFMCommunicate OK [23:57:05]CreateOFDProtocolMessage done [23:57:05]OFDSenderStorePacket 56837 [23:57:05]StoreOFDPacket docnum=56837 [23:57:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 7F 77 28 01 20 A2 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 D0 C2 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DE 00 00 35 04 06 00 C4 85 04 CA 59 2A 80 33 12 F2 07 53 CA 58 [23:57:05]CheckFolder [23:57:05]dirname=/storage/ofd_packets [23:57:05]CheckFolder done [23:57:05]ProducePacketName [23:57:05]name=ofd_packets/00056837 [23:57:05]NVStorageSaveData ofd_packets/00056837 [23:57:05]File name is /storage/ofd_packets/00056837 [23:57:05]Write 334 bytes [23:57:05]NVStorageSaveData done [23:57:05]OFDSenderStorePacket done [23:57:05]KKMCreateOFDPacket done [23:57:05]NVStorageSaveData kkm_last_timestamp [23:57:05]File name is /storage/kkm_last_timestamp [23:57:05]Write 4 bytes [23:57:05]NVStorageSaveData done [23:57:05]ExternCall_PrintAddStr [23:57:05]wPrintStart [23:57:05]Write to MH i2c: 01 00 00 F7 04 FB [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 F7 04 00 00 00 00 00 FF 0F 10 [23:57:05]RasterBufferAndPrint [23:57:05]line Счет N : (3)129325 [23:57:05]line ИНН: 02508201610067 [23:57:05]line Контрольно-Кассовый Чек [23:57:05]line ПРОДАЖА [23:57:05]line Товар: 4630007400662 [23:57:05]line Семечки ДЖИНН 140г синий [23:57:05]line 1.000 * 130.00 [23:57:05]line = 130.00 [23:57:05]line НДС 12% НСП 1% [23:57:05]line > о реализуемом товаре [23:57:05]line ИТОГО: 130.00 [23:57:05]line НСП 1% : 1.15 [23:57:05]line НДС 12% : 13.80 [23:57:05]line Наличными: 0.00 [23:57:05]line Безнал.: 130.00 [23:57:05]line Место: АЗС № 132 "Партнер Нефть" [23:57:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:57:05]line СНО: Общий режим [23:57:05]line Чек 105 12.07.2024 23:57 [23:57:05]line Смена: 494 ФФД: 1.0 [23:57:05]line ЗНМ: 0300000132 [23:57:05]line РНМ: 0000000000091208 [23:57:05]line Версия ККМ: 001 [23:57:05]line Платежная система: АКБ Кыргызстан [23:57:05]line ФМ: 0000000000874857 [23:57:05]line ФД: 56837 [23:57:05]line ФПД: 216075590064426 [23:57:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T235704&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56837&fm=216075590064426&tin=02508201610067®Number=0000000000091208&sum=13000 [23:57:05]line 0 [23:57:05]OFD Sender: Processing packet 56837 [packets to send 38, broken 37] [23:57:05]ProducePacketName [23:57:05]name=ofd_packets/00056837 [23:57:05]OFD Sender: To server: pG, [23:57:05]CommunicateWithHost lk.salyk.kg:30040 [23:57:05]ConnectInit lk.salyk.kg [23:57:05]written 0, free lines is 4095 [23:57:05]Connected sock=10 [23:57:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 7F 77 28 01 20 A2 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 D0 C2 91 66 0E 04 04 00 EE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DE 00 00 35 04 06 00 C4 85 04 CA 59 2A 80 33 12 F2 07 53 CA 58 [23:57:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 69 25 47 00 1E 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DE 00 00 F4 03 04 00 26 69 91 66 B6 04 01 00 00 04 84 42 43 2A AD 63 9F [23:57:06]CommunicateWithHost err = 0 [23:57:06]CheckOFDResponse [23:57:06]1017 (14) - 77093643461234 [23:57:06]1041 (16) - 0000000000874857 [23:57:06]1040 (4) - 56837 [23:57:06]1012 (4) - 12.07.2024 17:34 [23:57:06]1206 (1) - 0 [23:57:06]OFD Sender: Remove packet 56837 [23:57:06]ProducePacketName [23:57:06]name=ofd_packets/00056837 [23:57:06]NVStorageDeleteData [23:57:06]Write to MH i2c: 01 00 00 21 05 26 [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: 01 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: 01 07 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: 01 07 00 21 05 00 00 00 00 00 05 0D 3F [23:57:06]RasterBufferAndPrint [23:57:06]line [23:57:06]line [23:57:06]line [23:57:06]line [23:57:06]line [23:57:06]written 0, free lines is 3339 [23:57:06]MH_Cut [23:57:06]Write to MH i2c: D1 01 00 28 05 01 FF [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: D1 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: D1 01 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: D1 01 00 28 05 00 FE [23:57:06]Write to MH i2c: 01 00 00 29 05 2E [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]OFD Sender: No OFD packet to send [23:57:06]*** Cut start [23:57:06]*** Partial cut [23:57:06]*** CUTSNS_PIN = 1 [23:57:07]*** CUTSNS_PIN = 0 [23:57:07]*** Brake cut motor [23:57:07]Read from MH i2c: 01 [23:57:07]MH_I2C_Read... [23:57:07]*** Stop cut motor [23:57:07]*** Cut end [23:57:07]Read from MH i2c: 01 07 00 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: 01 07 00 29 05 00 00 00 00 00 FF 0F 43 [23:57:07]process_action close_receipt done [23:57:07]requested_data is exist [23:57:07]produce_requested_data [23:57:07]requested_item fm.sn is exist - process it [23:57:07]wFMCommunicate request_size=4 [23:57:07]MH_SAM_APDU [23:57:07]CAPDU: 80 11 00 00 [23:57:07]Write to MH i2c: E2 08 00 2A 05 80 11 00 00 00 00 00 00 A9 [23:57:07]Write i2c OK [23:57:07]MH_I2C_Read... [23:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:07]Read from MH i2c: E2 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 17 00 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 17 00 2A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 03 [23:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:57:07]wFMCommunicate OK [23:57:07]requested_item fd.num is exist - process it [23:57:07]SAM_PROTO_GetFieldsCounters [23:57:07]wFMCommunicate request_size=4 [23:57:07]MH_SAM_APDU [23:57:07]CAPDU: 80 13 00 00 [23:57:07]Write to MH i2c: E2 08 00 2B 05 80 13 00 00 00 00 00 00 AC [23:57:07]Write i2c OK [23:57:07]MH_I2C_Read... [23:57:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:07]Read from MH i2c: E2 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 62 00 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 62 00 2B 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [23:57:07]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:07]wFMCommunicate OK [23:57:07]SAM_PROTO_GetFieldsCounters done [23:57:07]requested_item shift.num is exist - process it [23:57:07]requested_item shift.opened is exist - process it [23:57:07]req_shift_opened [23:57:07]FM_GetShiftState [23:57:07]SAM_PROTO_GetShiftState [23:57:07]wFMCommunicate request_size=4 [23:57:07]MH_SAM_APDU [23:57:07]CAPDU: 80 13 01 00 [23:57:07]Write to MH i2c: E2 08 00 2C 05 80 13 01 00 00 00 00 00 AE [23:57:07]Write i2c OK [23:57:07]MH_I2C_Read... [23:57:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:07]Read from MH i2c: E2 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 0E 00 [23:57:07]MH_I2C_Read... [23:57:07]Read from MH i2c: E2 0E 00 2C 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 AF [23:57:07]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [23:57:07]wFMCommunicate OK [23:57:07]SAM_PROTO_GetShiftState done [23:57:07]FM_GetShiftState done [23:57:07]req_shift_opened done [23:57:07]requested_item shift.open_date is exist - process it [23:57:07]req_shift_open_date [23:57:07]req_shift_open_date done [23:57:07]requested_item shift.sale.total is exist - process it [23:57:07]SAM_PROTO_GetShiftData [23:57:07]wFMCommunicate request_size=4 [23:57:07]MH_SAM_APDU [23:57:07]CAPDU: 80 13 02 00 [23:57:07]Write to MH i2c: E2 08 00 2D 05 80 13 02 00 00 00 00 00 B0 [23:57:07]Write i2c OK [23:57:07]MH_I2C_Read... [23:57:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:08]Read from MH i2c: E2 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 2D 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 C6 [23:57:08]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [23:57:08]wFMCommunicate OK [23:57:08]wFMCommunicate request_size=4 [23:57:08]MH_SAM_APDU [23:57:08]CAPDU: 80 17 00 00 [23:57:08]Write to MH i2c: E2 08 00 2E 05 80 17 00 00 00 00 00 00 B3 [23:57:08]Write i2c OK [23:57:08]MH_I2C_Read... [23:57:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:08]Read from MH i2c: E2 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 2E 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [23:57:08]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:08]wFMCommunicate OK [23:57:08]wFMCommunicate request_size=4 [23:57:08]MH_SAM_APDU [23:57:08]CAPDU: 80 17 00 00 [23:57:08]Write to MH i2c: E2 08 00 2F 05 80 17 00 00 00 00 00 00 B4 [23:57:08]Write i2c OK [23:57:08]MH_I2C_Read... [23:57:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:08]Read from MH i2c: E2 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 [23:57:08]MH_I2C_Read... [23:57:08]Read from MH i2c: E2 FD 00 2F 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 74 [23:57:08]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:08]wFMCommunicate OK [23:57:08]wFMCommunicate request_size=4 [23:57:08]MH_SAM_APDU [23:57:08]CAPDU: 80 17 00 00 [23:57:08]Write to MH i2c: E2 08 00 30 05 80 17 00 00 00 00 00 00 B5 [23:57:08]Write i2c OK [23:57:08]MH_I2C_Read... [23:57:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:09]Read from MH i2c: E2 [23:57:09]MH_I2C_Read... [23:57:09]Read from MH i2c: E2 FD 00 [23:57:09]MH_I2C_Read... [23:57:09]Read from MH i2c: E2 FD 00 30 05 00 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 90 00 24 [23:57:09]RAPDU: 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 90 00 [23:57:09]wFMCommunicate OK [23:57:09]wFMCommunicate request_size=4 [23:57:09]MH_SAM_APDU [23:57:09]CAPDU: 80 17 00 00 [23:57:09]Write to MH i2c: E2 08 00 31 05 80 17 00 00 00 00 00 00 B6 [23:57:09]Write i2c OK [23:57:09]MH_I2C_Read... [23:57:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [23:57:09]Read from MH i2c: E2 [23:57:09]MH_I2C_Read... [23:57:09]Read from MH i2c: E2 D3 00 [23:57:09]MH_I2C_Read... [23:57:09]Read from MH i2c: E2 D3 00 31 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A3 [23:57:09]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:57:09]wFMCommunicate OK [23:57:09]SAM_PROTO_GetShiftData done [23:57:09]requested_item shift.sale.total_cash is exist - process it [23:57:09]requested_item shift.sale_refund.total is exist - process it [23:57:09]requested_item shift.sale_refund.total_cash is exist - process it [23:57:09]produce_requested_data done [23:57:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00} [23:57:09]process_action_free close_receipt [23:57:09]json_value_free [23:57:09]json_value_free done [23:57:09]process_json_proto returns [23:57:09]Send response to host [23:57:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00}}} [23:57:09]free response buf [23:57:09]execute_script done [23:57:09]execute_script returns [23:57:09]free content buf [23:57:09]Sock 9.Close socket [23:57:09]Sock 9.Thread stoped [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]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:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [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:47]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:24]accept exits with 8 [00:24:24]New connection [00:24:24]New thread 3067563364 created [00:24:24]Thread 3067420004 joined [00:24:24]Waiting for new connection... [00:24:24] Sock 8.Parse request [00:24:24]Sock 8.Check first char [00:24:24]Sock 8.First char is OK [00:24:24]request: POST /json_proto HTTP/1.0 [00:24:24]Method: POST [00:24:24]URL: /json_proto [00:24:24]Method is POST - this is cgi request [00:24:24]url: /json_proto [00:24:24]query_string will be loaded in cgi processing [00:24:24]execute_cgi json_proto POST (null) [00:24:24]execute_cgi path=json_proto method=POST [00:24:24]POST find Content-Length [00:24:24]Host: 172.17.39.4:8080 [00:24:24]Content-Length: 215 [00:24:24]Content-Type: application/json [00:24:24] [00:24:24]POST finish read [00:24:24]Found Content-Length = 215 [00:24:24]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:24:24]execute_script... [00:24:24]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:24:24]POST & json_proto [00:24:24]process_json_proto [00:24:24]json parsed OK: [00:24:24]protocol is kg_v1.0 [00:24:24]action value=get_value [00:24:24]process_action get_value [00:24:24]cmd_get_value [00:24:24]process_action get_value done [00:24:24]requested_data is exist [00:24:24]produce_requested_data [00:24:24]requested_item kkm.sn is exist - process it [00:24:24]requested_item kkm.ver is exist - process it [00:24:24]requested_item fm.sn is exist - process it [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 11 00 00 [00:24:24]Write to MH i2c: E2 08 00 32 05 80 11 00 00 00 00 00 00 B1 [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 17 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 17 00 32 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0B [00:24:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:24:24]wFMCommunicate OK [00:24:24]requested_item fd.num is exist - process it [00:24:24]SAM_PROTO_GetFieldsCounters [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 13 00 00 [00:24:24]Write to MH i2c: E2 08 00 33 05 80 13 00 00 00 00 00 00 B4 [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 62 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 62 00 33 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [00:24: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:24]wFMCommunicate OK [00:24:24]SAM_PROTO_GetFieldsCounters done [00:24:24]requested_item shift.num is exist - process it [00:24:24]requested_item shift.opened is exist - process it [00:24:24]req_shift_opened [00:24:24]FM_GetShiftState [00:24:24]SAM_PROTO_GetShiftState [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 13 01 00 [00:24:24]Write to MH i2c: E2 08 00 34 05 80 13 01 00 00 00 00 00 B6 [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 0E 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 0E 00 34 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 B7 [00:24:24]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [00:24:24]wFMCommunicate OK [00:24:24]SAM_PROTO_GetShiftState done [00:24:24]FM_GetShiftState done [00:24:24]req_shift_opened done [00:24:24]requested_item shift.open_date is exist - process it [00:24:24]req_shift_open_date [00:24:24]req_shift_open_date done [00:24:24]produce_requested_data done [00:24:24]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326} [00:24:24]process_action_free get_value [00:24:24]json_value_free [00:24:24]json_value_free done [00:24:24]process_json_proto returns [00:24:24]Send response to host [00:24:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326}}} [00:24:24]free response buf [00:24:24]execute_script done [00:24:24]execute_script returns [00:24:24]free content buf [00:24:24]Sock 8.Close socket [00:24:24]Sock 8.Thread stoped [00:24:24]accept exits with 9 [00:24:24]New connection [00:24:24]New thread 3067420004 created [00:24:24]Thread 3067563364 joined [00:24:24]Waiting for new connection... [00:24:24] Sock 9.Parse request [00:24:24]Sock 9.Check first char [00:24:24]Sock 9.First char is OK [00:24:24]request: POST /json_proto HTTP/1.0 [00:24:24]Method: POST [00:24:24]URL: /json_proto [00:24:24]Method is POST - this is cgi request [00:24:24]url: /json_proto [00:24:24]query_string will be loaded in cgi processing [00:24:24]execute_cgi json_proto POST (null) [00:24:24]execute_cgi path=json_proto method=POST [00:24:24]POST find Content-Length [00:24:24]Host: 172.17.39.4:8080 [00:24:24]Content-Length: 331 [00:24:24]Content-Type: application/json [00:24:24] [00:24:24]POST finish read [00:24:24]Found Content-Length = 331 [00:24:24]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:24:24]execute_script... [00:24:25]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:24:25]POST & json_proto [00:24:25]process_json_proto [00:24:25]json parsed OK: [00:24:25]protocol is kg_v1.0 [00:24:25]action value=get_value [00:24:25]process_action get_value [00:24:25]cmd_get_value [00:24:25]process_action get_value done [00:24:25]requested_data is exist [00:24:25]produce_requested_data [00:24:25]requested_item fm.sale.total is exist - process it [00:24:25]SAM_PROTO_GetFMData [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 13 03 00 [00:24:25]Write to MH i2c: E2 08 00 35 05 80 13 03 00 00 00 00 00 B9 [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:25]Read from MH i2c: E2 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 35 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 D6 [00:24:25]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:24:25]wFMCommunicate OK [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 17 00 00 [00:24:25]Write to MH i2c: E2 08 00 36 05 80 17 00 00 00 00 00 00 BB [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:25]Read from MH i2c: E2 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 36 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6A [00:24:25]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:25]wFMCommunicate OK [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 17 00 00 [00:24:25]Write to MH i2c: E2 08 00 37 05 80 17 00 00 00 00 00 00 BC [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 37 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D1 [00:24:26]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:26]wFMCommunicate OK [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 17 00 00 [00:24:26]Write to MH i2c: E2 08 00 38 05 80 17 00 00 00 00 00 00 BD [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 38 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [00:24:26]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:26]wFMCommunicate OK [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 17 00 00 [00:24:26]Write to MH i2c: E2 08 00 39 05 80 17 00 00 00 00 00 00 BE [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 E1 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 E1 00 39 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AC [00:24:26]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:26]wFMCommunicate OK [00:24:26]SAM_PROTO_GetFMData done [00:24:26]requested_item fm.sale_refund.total is exist - process it [00:24:26]requested_item fm.buy.total is exist - process it [00:24:26]requested_item shift.sale.total is exist - process it [00:24:26]SAM_PROTO_GetShiftData [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 13 02 00 [00:24:26]Write to MH i2c: E2 08 00 3A 05 80 13 02 00 00 00 00 00 BD [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 FD 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 FD 00 3A 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 D3 [00:24:27]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=4 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 17 00 00 [00:24:27]Write to MH i2c: E2 08 00 3B 05 80 17 00 00 00 00 00 00 C0 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 FD 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 FD 00 3B 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [00:24:27]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=4 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 17 00 00 [00:24:27]Write to MH i2c: E2 08 00 3C 05 80 17 00 00 00 00 00 00 C1 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:27]Read from MH i2c: E2 FD 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 FD 00 3C 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [00:24:27]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=4 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 17 00 00 [00:24:27]Write to MH i2c: E2 08 00 3D 05 80 17 00 00 00 00 00 00 C2 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:28]Read from MH i2c: E2 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 FD 00 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 FD 00 3D 05 00 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 90 00 31 [00:24:28]RAPDU: 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 90 00 [00:24:28]wFMCommunicate OK [00:24:28]wFMCommunicate request_size=4 [00:24:28]MH_SAM_APDU [00:24:28]CAPDU: 80 17 00 00 [00:24:28]Write to MH i2c: E2 08 00 3E 05 80 17 00 00 00 00 00 00 C3 [00:24:28]OFD Sender: No OFD packet to send [00:24:28]Write i2c OK [00:24:28]MH_I2C_Read... [00:24:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:24:28]Read from MH i2c: E2 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 D3 00 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 D3 00 3E 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B0 [00:24:28]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:28]wFMCommunicate OK [00:24:28]SAM_PROTO_GetShiftData done [00:24:28]requested_item shift.sale.total_cash is exist - process it [00:24:28]requested_item shift.sale_refund.total is exist - process it [00:24:28]requested_item shift.sale_refund.total_cash is exist - process it [00:24:28]requested_item shift.buy.total is exist - process it [00:24:28]requested_item shift.buy.total_cash is exist - process it [00:24:28]produce_requested_data done [00:24:28]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:24:28]process_action_free get_value [00:24:28]json_value_free [00:24:28]json_value_free done [00:24:28]process_json_proto returns [00:24:28]Send response to host [00:24:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:24:28]free response buf [00:24:28]execute_script done [00:24:28]execute_script returns [00:24:28]free content buf [00:24:28]Sock 9.Close socket [00:24:28]Sock 9.Thread stoped [00:24:28]accept exits with 8 [00:24:28]New connection [00:24:28]New thread 3067563364 created [00:24:28]Thread 3067420004 joined [00:24:28]Waiting for new connection... [00:24:28] Sock 8.Parse request [00:24:28]Sock 8.Check first char [00:24:28]Sock 8.First char is OK [00:24:28]request: POST /json_proto HTTP/1.0 [00:24:28]Method: POST [00:24:28]URL: /json_proto [00:24:28]Method is POST - this is cgi request [00:24:28]url: /json_proto [00:24:28]query_string will be loaded in cgi processing [00:24:28]execute_cgi json_proto POST (null) [00:24:28]execute_cgi path=json_proto method=POST [00:24:28]POST find Content-Length [00:24:28]Host: 172.17.39.4:8080 [00:24:28]Content-Length: 331 [00:24:28]Content-Type: application/json [00:24:28] [00:24:28]POST finish read [00:24:28]Found Content-Length = 331 [00:24:28]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:24:28]execute_script... [00:24:28]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:24:28]POST & json_proto [00:24:28]process_json_proto [00:24:28]json parsed OK: [00:24:28]protocol is kg_v1.0 [00:24:28]action value=get_value [00:24:28]process_action get_value [00:24:28]cmd_get_value [00:24:28]process_action get_value done [00:24:28]requested_data is exist [00:24:28]produce_requested_data [00:24:28]requested_item fm.sale.total is exist - process it [00:24:28]SAM_PROTO_GetFMData [00:24:28]wFMCommunicate request_size=4 [00:24:28]MH_SAM_APDU [00:24:28]CAPDU: 80 13 03 00 [00:24:28]Write to MH i2c: E2 08 00 3F 05 80 13 03 00 00 00 00 00 C3 [00:24:28]Write i2c OK [00:24:28]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 3F 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 E0 [00:24:29]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:24:29]wFMCommunicate OK [00:24:29]wFMCommunicate request_size=4 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 17 00 00 [00:24:29]Write to MH i2c: E2 08 00 40 05 80 17 00 00 00 00 00 00 C5 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 40 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 74 [00:24:29]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:29]wFMCommunicate OK [00:24:29]wFMCommunicate request_size=4 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 17 00 00 [00:24:29]Write to MH i2c: E2 08 00 41 05 80 17 00 00 00 00 00 00 C6 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 FD 00 41 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DB [00:24:29]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:29]wFMCommunicate OK [00:24:29]wFMCommunicate request_size=4 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 17 00 00 [00:24:29]Write to MH i2c: E2 08 00 42 05 80 17 00 00 00 00 00 00 C7 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:30]Read from MH i2c: E2 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 FD 00 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 FD 00 42 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3F [00:24:30]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:30]wFMCommunicate OK [00:24:30]wFMCommunicate request_size=4 [00:24:30]MH_SAM_APDU [00:24:30]CAPDU: 80 17 00 00 [00:24:30]Write to MH i2c: E2 08 00 43 05 80 17 00 00 00 00 00 00 C8 [00:24:30]Write i2c OK [00:24:30]MH_I2C_Read... [00:24:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:24:30]Read from MH i2c: E2 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 E1 00 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 E1 00 43 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:30]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:30]wFMCommunicate OK [00:24:30]SAM_PROTO_GetFMData done [00:24:30]requested_item fm.sale_refund.total is exist - process it [00:24:30]requested_item fm.buy.total is exist - process it [00:24:30]requested_item shift.sale.total is exist - process it [00:24:30]SAM_PROTO_GetShiftData [00:24:30]wFMCommunicate request_size=4 [00:24:30]MH_SAM_APDU [00:24:30]CAPDU: 80 13 02 00 [00:24:30]Write to MH i2c: E2 08 00 44 05 80 13 02 00 00 00 00 00 C7 [00:24:30]Write i2c OK [00:24:30]MH_I2C_Read... [00:24:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:31]Read from MH i2c: E2 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 44 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 DD [00:24:31]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:24:31]wFMCommunicate OK [00:24:31]wFMCommunicate request_size=4 [00:24:31]MH_SAM_APDU [00:24:31]CAPDU: 80 17 00 00 [00:24:31]Write to MH i2c: E2 08 00 45 05 80 17 00 00 00 00 00 00 CA [00:24:31]Write i2c OK [00:24:31]MH_I2C_Read... [00:24:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:31]Read from MH i2c: E2 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 45 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [00:24:31]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:31]wFMCommunicate OK [00:24:31]wFMCommunicate request_size=4 [00:24:31]MH_SAM_APDU [00:24:31]CAPDU: 80 17 00 00 [00:24:31]Write to MH i2c: E2 08 00 46 05 80 17 00 00 00 00 00 00 CB [00:24:31]Write i2c OK [00:24:31]MH_I2C_Read... [00:24:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:31]Read from MH i2c: E2 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 46 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [00:24:31]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:32]wFMCommunicate OK [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 17 00 00 [00:24:32]Write to MH i2c: E2 08 00 47 05 80 17 00 00 00 00 00 00 CC [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 47 05 00 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 90 00 3B [00:24:32]RAPDU: 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 90 00 [00:24:32]wFMCommunicate OK [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 17 00 00 [00:24:32]Write to MH i2c: E2 08 00 48 05 80 17 00 00 00 00 00 00 CD [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 D3 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 D3 00 48 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BA [00:24:32]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:32]wFMCommunicate OK [00:24:32]SAM_PROTO_GetShiftData done [00:24:32]requested_item shift.sale.total_cash is exist - process it [00:24:32]requested_item shift.sale_refund.total is exist - process it [00:24:32]requested_item shift.sale_refund.total_cash is exist - process it [00:24:32]requested_item shift.buy.total is exist - process it [00:24:32]requested_item shift.buy.total_cash is exist - process it [00:24:32]produce_requested_data done [00:24:32]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:24:32]process_action_free get_value [00:24:32]json_value_free [00:24:32]json_value_free done [00:24:32]process_json_proto returns [00:24:32]Send response to host [00:24:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:24:32]free response buf [00:24:32]execute_script done [00:24:32]execute_script returns [00:24:32]free content buf [00:24:32]Sock 8.Close socket [00:24:32]Sock 8.Thread stoped [00:24:32]accept exits with 10 [00:24:32]New connection [00:24:32]New thread 3067420004 created [00:24:32]Thread 3067563364 joined [00:24:32]Waiting for new connection... [00:24:32] Sock 10.Parse request [00:24:32]Sock 10.Check first char [00:24:32]Sock 10.First char is OK [00:24:32]request: POST /json_proto HTTP/1.0 [00:24:32]Method: POST [00:24:32]URL: /json_proto [00:24:32]Method is POST - this is cgi request [00:24:32]url: /json_proto [00:24:32]query_string will be loaded in cgi processing [00:24:32]execute_cgi json_proto POST (null) [00:24:32]execute_cgi path=json_proto method=POST [00:24:32]POST find Content-Length [00:24:32]Host: 172.17.39.4:8080 [00:24:32]Content-Length: 257 [00:24:32]Content-Type: application/json [00:24:32] [00:24:32]POST finish read [00:24:32]Found Content-Length = 257 [00:24:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:32]execute_script... [00:24:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:32]POST & json_proto [00:24:32]process_json_proto [00:24:32]json parsed OK: [00:24:32]protocol is kg_v1.0 [00:24:32]action value=x_report [00:24:32]process_action x_report [00:24:32]cmd_x_report [00:24:32]MH_GetDate [00:24:32]Write to MH i2c: F0 00 00 49 05 3D [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 09 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 09 00 49 05 00 41 C9 91 66 2D 25 5D 64 5A [00:24:32]GetLastDocTimeStamp 1720828624 [00:24:32]current date 1720830273 [00:24:32]FM_GetShiftState [00:24:32]SAM_PROTO_GetShiftState [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 13 01 00 [00:24:32]Write to MH i2c: E2 08 00 4A 05 80 13 01 00 00 00 00 00 CC [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 4A 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 CD [00:24:32]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [00:24:32]wFMCommunicate OK [00:24:32]SAM_PROTO_GetShiftState done [00:24:32]FM_GetShiftState done [00:24:32]KKMCreateXReportDocument [00:24:32]Load OK [00:24:32]Malloc new data [00:24:32]MH_GetDate [00:24:32]Write to MH i2c: F0 00 00 4B 05 3F [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 09 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: F0 09 00 4B 05 00 42 C9 91 66 2D 25 5D 64 5D [00:24:32]Malloc new data [00:24:32]Malloc new data [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 11 00 00 [00:24:32]Write to MH i2c: E2 08 00 4C 05 80 11 00 00 00 00 00 00 CB [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 17 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 17 00 4C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [00:24:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:24:33]wFMCommunicate OK [00:24:33]SAM_PROTO_GetFieldsCounters [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 13 00 00 [00:24:33]Write to MH i2c: E2 08 00 4D 05 80 13 00 00 00 00 00 00 CE [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 62 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 62 00 4D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [00:24: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:33]wFMCommunicate OK [00:24:33]SAM_PROTO_GetFieldsCounters done [00:24:33]Malloc new data [00:24:33]Malloc new data [00:24:33]Malloc new data [00:24:33]KKMCreateXReportDocument OK [00:24:33]KKMSetXReportData OK [00:24:33]KKMPrepareXReportFMData [00:24:33]SAM_PROTO_GetShiftData [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 13 02 00 [00:24:33]Write to MH i2c: E2 08 00 4E 05 80 13 02 00 00 00 00 00 D1 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]OFD Sender: No OFD packet to send [00:24:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 4E 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E7 [00:24:33]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:24:33]wFMCommunicate OK [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 17 00 00 [00:24:33]Write to MH i2c: E2 08 00 4F 05 80 17 00 00 00 00 00 00 D4 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 4F 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [00:24:34]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 50 05 80 17 00 00 00 00 00 00 D5 [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 50 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [00:24:34]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 51 05 80 17 00 00 00 00 00 00 D6 [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 51 05 00 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 90 00 45 [00:24:35]RAPDU: 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 90 00 [00:24:35]wFMCommunicate OK [00:24:35]wFMCommunicate request_size=4 [00:24:35]MH_SAM_APDU [00:24:35]CAPDU: 80 17 00 00 [00:24:35]Write to MH i2c: E2 08 00 52 05 80 17 00 00 00 00 00 00 D7 [00:24:35]Write i2c OK [00:24:35]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 D3 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 D3 00 52 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C4 [00:24:35]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:35]wFMCommunicate OK [00:24:35]SAM_PROTO_GetShiftData done [00:24:35]1194 (1202) - счетчики итогов смены [00:24:35] 1134 (4) - 105 - количество чеков со всеми признаками расчетов [00:24:35] 1129 (155) - счетчики операций «приход» [00:24:35] 1135 (4) - 104 - количество чеков по признаку расчетов [00:24:35] 1201 (3) - 26848.24 - общая итоговая сумма в чеках [00:24:35] 1136 (3) - 20680.00 - итоговая сумма в чеках наличными [00:24:35] 1138 (3) - 6168.24 - итоговая сумма в чеках безналичными [00:24:35] 1024 (122) - суммы налогов [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 0% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1006 (12) - суммы НДС [00:24:35] 1010 (1) - 12% - код ставки НДС [00:24:35] 1011 (3) - 2851.44 - сумма НДС по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (11) - суммы НСП [00:24:35] 1014 (1) - 1% - код ставки НСП [00:24:35] 1015 (2) - 237.52 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 2% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 3% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 5% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1130 (149) - счетчики операций «возврат прихода» [00:24:35] 1135 (4) - 1 - количество чеков по признаку расчетов [00:24:35] 1201 (2) - 336.00 - общая итоговая сумма в чеках [00:24:35] 1136 (2) - 336.00 - итоговая сумма в чеках наличными [00:24:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:24:35] 1024 (121) - суммы налогов [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 0% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1006 (11) - суммы НДС [00:24:35] 1010 (1) - 12% - код ставки НДС [00:24:35] 1011 (2) - 35.73 - сумма НДС по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (11) - суммы НСП [00:24:35] 1014 (1) - 1% - код ставки НСП [00:24:35] 1015 (2) - 2.98 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 2% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 3% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 5% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1131 (141) - счетчики операций «расход» [00:24:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:24:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:24:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:24:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:24:35] 1024 (117) - суммы налогов [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 0% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 12% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 2% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 3% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 5% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1132 (141) - счетчики операций «возврат расхода» [00:24:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:24:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:24:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:24:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:24:35] 1024 (117) - суммы налогов [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 0% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1006 (9) - суммы НДС [00:24:35] 1010 (1) - 12% - код ставки НДС [00:24:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 2% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 3% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 5% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 0,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1007 (9) - суммы НСП [00:24:35] 1014 (1) - 1,50% - код ставки НСП [00:24:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:24:35] 1133 (588) - - счетчики коррекции - не используются [00:24:35]SetTLVBufToDocument [00:24:35]Processing tag 1194 (04AA) [00:24:35]Load OK [00:24:35]SetTLVBufToDocument [00:24:36]Processing tag 1134 (046E) [00:24:36]Malloc new data [00:24:36]Processing tag 1129 (0469) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1135 (046F) [00:24:36]Malloc new data [00:24:36]Processing tag 1201 (04B1) [00:24:36]Malloc new data [00:24:36]Processing tag 1136 (0470) [00:24:36]Malloc new data [00:24:36]Processing tag 1138 (0472) [00:24:36]Malloc new data [00:24:36]Processing tag 1024 (0400) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1130 (046A) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1135 (046F) [00:24:36]Malloc new data [00:24:36]Processing tag 1201 (04B1) [00:24:36]Malloc new data [00:24:36]Processing tag 1136 (0470) [00:24:36]Malloc new data [00:24:36]Processing tag 1138 (0472) [00:24:36]Malloc new data [00:24:36]Processing tag 1024 (0400) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1131 (046B) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1135 (046F) [00:24:36]Malloc new data [00:24:36]Processing tag 1201 (04B1) [00:24:36]Malloc new data [00:24:36]Processing tag 1136 (0470) [00:24:36]Malloc new data [00:24:36]Processing tag 1138 (0472) [00:24:36]Malloc new data [00:24:36]Processing tag 1024 (0400) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1132 (046C) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1135 (046F) [00:24:36]Malloc new data [00:24:36]Processing tag 1201 (04B1) [00:24:36]Malloc new data [00:24:36]Processing tag 1136 (0470) [00:24:36]Malloc new data [00:24:36]Processing tag 1138 (0472) [00:24:36]Malloc new data [00:24:36]Processing tag 1024 (0400) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1006 (03EE) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1010 (03F2) [00:24:36]Malloc new data [00:24:36]Processing tag 1011 (03F3) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1007 (03EF) [00:24:36]Load OK [00:24:36]SetTLVBufToDocument [00:24:36]Processing tag 1014 (03F6) [00:24:36]Malloc new data [00:24:36]Processing tag 1015 (03F7) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Processing tag 1133 (046D) [00:24:36]Malloc new data [00:24:36]SetTLVBufToDocument err=0 [00:24:36]SetTLVBufToDocument err=0 [00:24:36]Malloc new data [00:24:36]SAM_PROTO_GetFMData [00:24:36]wFMCommunicate request_size=4 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 13 03 00 [00:24:36]Write to MH i2c: E2 08 00 53 05 80 13 03 00 00 00 00 00 D7 [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 FD 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 FD 00 53 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 F4 [00:24:37]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=4 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 17 00 00 [00:24:37]Write to MH i2c: E2 08 00 54 05 80 17 00 00 00 00 00 00 D9 [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 FD 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 FD 00 54 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 88 [00:24:37]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=4 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 17 00 00 [00:24:37]Write to MH i2c: E2 08 00 55 05 80 17 00 00 00 00 00 00 DA [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 FD 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 FD 00 55 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EF [00:24:38]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 OFD Sender: No OFD packet to send [00:24:38]00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:38]wFMCommunicate OK [00:24:38]wFMCommunicate request_size=4 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 17 00 00 [00:24:38]Write to MH i2c: E2 08 00 56 05 80 17 00 00 00 00 00 00 DB [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 FD 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 FD 00 56 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [00:24:38]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:39]wFMCommunicate OK [00:24:39]wFMCommunicate request_size=4 [00:24:39]MH_SAM_APDU [00:24:39]CAPDU: 80 17 00 00 [00:24:39]Write to MH i2c: E2 08 00 57 05 80 17 00 00 00 00 00 00 DC [00:24:39]Write i2c OK [00:24:39]MH_I2C_Read... [00:24:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:24:39]Read from MH i2c: E2 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: E2 E1 00 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: E2 E1 00 57 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [00:24:39]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:39]wFMCommunicate OK [00:24:39]SAM_PROTO_GetFMData done [00:24:39]FM_GetFMData:85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 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 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:40]oper:6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:40]total:54 16 0D 6D [00:24:40]Malloc new data [00:24:40]oper:6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 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 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:40]total:A4 53 66 01 [00:24:40]Malloc new data [00:24:40]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:24:40]total: [00:24:40]Malloc new data [00:24:40]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:24:40]total: [00:24:40]Malloc new data [00:24:40]KKMPrepareXReportFMData err=0 [00:24:40]Х отчет ИНН: 02508201610067 Кассир: Бакирова З. 13.07.2024 00:24 Смена: 266 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Всего чеков: 105 ИТОГИ ПРИХОД Чеков: 104 Общий итог: 26848.24 Итого наличными: 20680.00 Итого безнал.: 6168.24 НДС 0% : 0.00 НДС 12% : 2851.44 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 237.52 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 336.00 Итого наличными: 336.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 35.73 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.98 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 20344.00 НС Приход: 18295742.28 НС Возвр.Прихода: 234833.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874857 [00:24:40]StoreToDocumentArchive [00:24:40]MH_GetDate [00:24:40]Write to MH i2c: F0 00 00 58 05 4C [00:24:40]Write i2c OK [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: F0 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: F0 09 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: F0 09 00 58 05 00 49 C9 91 66 2D 25 5D 64 71 [00:24:40]shift 266 fd 1720830281 [00:24:40]Create dir for shift 0266 [00:24:40]save to /storage/0266/doc_1720830281 [00:24:40]save last doc name /storage/0266/doc_1720830281 to /storage/kkm_last_doc_name [00:24:40]save OK [00:24:40]Clear old archive folders... [00:24:40]NVStorageSaveData kkm_last_timestamp [00:24:40]File name is /storage/kkm_last_timestamp [00:24:40]Write 4 bytes [00:24:40]NVStorageSaveData done [00:24:40]ExternCall_PrintAddStr [00:24:40]wPrintStart [00:24:40]Write to MH i2c: 01 00 00 59 05 5E [00:24:40]Write i2c OK [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: 01 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: 01 07 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: 01 07 00 59 05 00 00 00 00 00 FF 0F 73 [00:24:40]RasterBufferAndPrint [00:24:40]line Х отчет [00:24:40]line ИНН: 02508201610067 [00:24:40]line Кассир: Бакирова З. [00:24:40]line 13.07.2024 00:24 [00:24:40]line Смена: 266 [00:24:40]line РНМ: 0000000000091208 [00:24:40]line ЗНМ: 0300000132 [00:24:40]line СНО: Общий режим [00:24:40]line Всего чеков: 105 [00:24:40]line ИТОГИ ПРИХОД [00:24:40]line Чеков: 104 [00:24:40]line Общий итог: 26848.24 [00:24:40]line Итого наличными: 20680.00 [00:24:40]line Итого безнал.: 6168.24 [00:24:40]line НДС 0% : 0.00 [00:24:40]line НДС 12% : 2851.44 [00:24:40]line НСП 0% : 0.00 [00:24:40]line НСП 1,50% : 0.00 [00:24:40]line НСП 0,50% : 0.00 [00:24:40]line НСП 5% : 0.00 [00:24:40]line НСП 3% : 0.00 [00:24:40]line НСП 2% : 0.00 [00:24:40]line НСП 1% : 237.52 [00:24:40]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:24:40]line Чеков: 1 [00:24:40]line Общий итог: 336.00 [00:24:40]line Итого наличными: 336.00 [00:24:40]line Итого безнал.: 0.00 [00:24:40]line НДС 0% : 0.00 [00:24:40]line НДС 12% : 35.73 [00:24:40]line НСП 0% : 0.00 [00:24:40]line НСП 1,50% : 0.00 [00:24:40]line НСП 0,50% : 0.00 [00:24:40]line НСП 5% : 0.00 [00:24:40]line НСП 3% : 0.00 [00:24:40]line НСП 2% : 0.00 [00:24:40]line НСП 1% : 2.98 [00:24:40]line ИТОГИ РАСХОД [00:24:40]line Чеков: 0 [00:24:40]line Общий итог: 0.00 [00:24:40]line Итого наличными: 0.00 [00:24:40]line Итого безнал.: 0.00 [00:24:40]line НДС 0% : 0.00 [00:24:40]line НДС 12% : 0.00 [00:24:40]line НСП 0% : 0.00 [00:24:40]line НСП 1,50% : 0.00 [00:24:40]line НСП 0,50% : 0.00 [00:24:40]line НСП 5% : 0.00 [00:24:40]line НСП 3% : 0.00 [00:24:40]line НСП 2% : 0.00 [00:24:40]line НСП 1% : 0.00 [00:24:40]line ИТОГИ ВОЗВРАТ РАСХОДА [00:24:40]line Чеков: 0 [00:24:40]line Общий итог: 0.00 [00:24:40]line Итого наличными: 0.00 [00:24:40]line Итого безнал.: 0.00 [00:24:40]line НДС 0% : 0.00 [00:24:40]line НДС 12% : 0.00 [00:24:40]line НСП 0% : 0.00 [00:24:40]line НСП 1,50% : 0.00 [00:24:40]line НСП 0,50% : 0.00 [00:24:40]line НСП 5% : 0.00 [00:24:40]line НСП 3% : 0.00 [00:24:40]line НСП 2% : 0.00 [00:24:40]line НСП 1% : 0.00 [00:24:40]line Сумма внесений: 0.00 [00:24:40]line Сумма выплат: 0.00 [00:24:40]line Нал. в кассе: 20344.00 [00:24:40]line НС Приход: 18295742.28 [00:24:40]line НС Возвр.Прихода: 234833.00 [00:24:40]line НС Расход: 0.00 [00:24:40]line НС Возвр.Расхода: 0.00 [00:24:40]line ФМ: 0000000000874857 [00:24:40]written 0, free lines is 4095 [00:24:41]Write to MH i2c: 01 00 00 A4 05 A9 [00:24:41]Write i2c OK [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: 01 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: 01 07 00 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: 01 07 00 A4 05 00 00 00 00 00 E0 0A 9A [00:24:41]RasterBufferAndPrint [00:24:41]line [00:24:41]line [00:24:41]line [00:24:41]line [00:24:41]line [00:24:41]written 0, free lines is 2821 [00:24:41]MH_Cut [00:24:41]Write to MH i2c: D1 01 00 AB 05 01 82 [00:24:41]Write i2c OK [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: D1 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: D1 01 00 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: D1 01 00 AB 05 00 81 [00:24:41]Write to MH i2c: 01 00 00 AC 05 B1 [00:24:41]Write i2c OK [00:24:41]MH_I2C_Read... [00:24:42]*** Cut start [00:24:42]*** Partial cut [00:24:42]*** CUTSNS_PIN = 1 [00:24:42]*** CUTSNS_PIN = 0 [00:24:42]*** Brake cut motor [00:24:42]Read from MH i2c: 01 [00:24:43]MH_I2C_Read... [00:24:43]*** Stop cut motor [00:24:43]*** Cut end [00:24:43]Read from MH i2c: 01 07 00 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: 01 07 00 AC 05 00 00 00 00 00 FF 0F C6 [00:24:43]process_action x_report done [00:24:43]requested_data is exist [00:24:43]produce_requested_data [00:24:43]requested_item fd.num is exist - process it [00:24:43]SAM_PROTO_GetFieldsCounters [00:24:43]wFMCommunicate request_size=4 [00:24:43]MH_SAM_APDU [00:24:43]CAPDU: 80 13 00 00 [00:24:43]Write to MH i2c: E2 08 00 AD 05 80 13 00 00 00 00 00 00 2E [00:24:43]Write i2c OK [00:24:43]MH_I2C_Read... [00:24:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:43]Read from MH i2c: E2 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 62 00 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 62 00 AD 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [00:24: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:43]wFMCommunicate OK [00:24:43]SAM_PROTO_GetFieldsCounters done [00:24:43]requested_item shift.num is exist - process it [00:24:43]requested_item shift.opened is exist - process it [00:24:43]req_shift_opened [00:24:43]FM_GetShiftState [00:24:43]SAM_PROTO_GetShiftState [00:24:43]wFMCommunicate request_size=4 [00:24:43]MH_SAM_APDU [00:24:43]CAPDU: 80 13 01 00 [00:24:43]Write to MH i2c: E2 08 00 AE 05 80 13 01 00 00 00 00 00 30 [00:24:43]Write i2c OK [00:24:43]MH_I2C_Read... [00:24:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:43]Read from MH i2c: E2 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 0E 00 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 0E 00 AE 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 31 [00:24:43]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [00:24:43]wFMCommunicate OK [00:24:43]SAM_PROTO_GetShiftState done [00:24:43]FM_GetShiftState done [00:24:43]req_shift_opened done [00:24:43]requested_item shift.open_date is exist - process it [00:24:43]req_shift_open_date [00:24:43]req_shift_open_date done [00:24:43]produce_requested_data done [00:24:43]produce_requested_data return {"fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326} [00:24:43]process_action_free x_report [00:24:43]json_value_free [00:24:43]json_value_free done [00:24:43]process_json_proto returns [00:24:43]Send response to host [00:24:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326}}} [00:24:43]free response buf [00:24:43]execute_script done [00:24:43]execute_script returns [00:24:43]free content buf [00:24:43]Sock 10.Close socket [00:24:43]Sock 10.Thread stoped [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:14]accept exits with 8 [00:25:14]New connection [00:25:14]New thread 3067563364 created [00:25:14]Thread 3067420004 joined [00:25:14]Waiting for new connection... [00:25:14] Sock 8.Parse request [00:25:14]Sock 8.Check first char [00:25:14]Sock 8.First char is OK [00:25:14]request: POST /json_proto HTTP/1.0 [00:25:14]Method: POST [00:25:14]URL: /json_proto [00:25:14]Method is POST - this is cgi request [00:25:14]url: /json_proto [00:25:14]query_string will be loaded in cgi processing [00:25:14]execute_cgi json_proto POST (null) [00:25:14]execute_cgi path=json_proto method=POST [00:25:14]POST find Content-Length [00:25:14]Host: 172.17.39.4:8080 [00:25:14]Content-Length: 215 [00:25:14]Content-Type: application/json [00:25:14] [00:25:14]POST finish read [00:25:14]Found Content-Length = 215 [00:25:14]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:25:14]execute_script... [00:25:14]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:25:14]POST & json_proto [00:25:14]process_json_proto [00:25:14]json parsed OK: [00:25:14]protocol is kg_v1.0 [00:25:14]action value=get_value [00:25:14]process_action get_value [00:25:14]cmd_get_value [00:25:14]process_action get_value done [00:25:14]requested_data is exist [00:25:14]produce_requested_data [00:25:14]requested_item kkm.sn is exist - process it [00:25:14]requested_item kkm.ver is exist - process it [00:25:14]requested_item fm.sn is exist - process it [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 11 00 00 [00:25:14]Write to MH i2c: E2 08 00 AF 05 80 11 00 00 00 00 00 00 2E [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 17 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 17 00 AF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 88 [00:25:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:25:14]wFMCommunicate OK [00:25:14]requested_item fd.num is exist - process it [00:25:14]SAM_PROTO_GetFieldsCounters [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 13 00 00 [00:25:14]Write to MH i2c: E2 08 00 B0 05 80 13 00 00 00 00 00 00 31 [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 62 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 62 00 B0 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [00:25: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:25:14]wFMCommunicate OK [00:25:14]SAM_PROTO_GetFieldsCounters done [00:25:14]requested_item shift.num is exist - process it [00:25:14]requested_item shift.opened is exist - process it [00:25:14]req_shift_opened [00:25:14]FM_GetShiftState [00:25:14]SAM_PROTO_GetShiftState [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 13 01 00 [00:25:14]Write to MH i2c: E2 08 00 B1 05 80 13 01 00 00 00 00 00 33 [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 0E 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 0E 00 B1 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 34 [00:25:14]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [00:25:14]wFMCommunicate OK [00:25:14]SAM_PROTO_GetShiftState done [00:25:14]FM_GetShiftState done [00:25:14]req_shift_opened done [00:25:14]requested_item shift.open_date is exist - process it [00:25:14]req_shift_open_date [00:25:14]req_shift_open_date done [00:25:14]produce_requested_data done [00:25:14]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326} [00:25:14]process_action_free get_value [00:25:14]json_value_free [00:25:14]json_value_free done [00:25:14]process_json_proto returns [00:25:14]Send response to host [00:25:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56837,"shift.num":494,"shift.opened":1,"shift.open_date":1720744326}}} [00:25:14]free response buf [00:25:14]execute_script done [00:25:14]execute_script returns [00:25:14]free content buf [00:25:14]Sock 8.Close socket [00:25:14]Sock 8.Thread stoped [00:25:14]accept exits with 9 [00:25:14]New connection [00:25:14]New thread 3067420004 created [00:25:14]Thread 3067563364 joined [00:25:14]Waiting for new connection... [00:25:14] Sock 9.Parse request [00:25:14]Sock 9.Check first char [00:25:14]Sock 9.First char is OK [00:25:14]request: POST /json_proto HTTP/1.0 [00:25:14]Method: POST [00:25:14]URL: /json_proto [00:25:14]Method is POST - this is cgi request [00:25:14]url: /json_proto [00:25:14]query_string will be loaded in cgi processing [00:25:14]execute_cgi json_proto POST (null) [00:25:14]execute_cgi path=json_proto method=POST [00:25:14]POST find Content-Length [00:25:14]Host: 172.17.39.4:8080 [00:25:14]Content-Length: 331 [00:25:14]Content-Type: application/json [00:25:14] [00:25:14]POST finish read [00:25:14]Found Content-Length = 331 [00:25:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:14]execute_script... [00:25:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:14]POST & json_proto [00:25:14]process_json_proto [00:25:14]json parsed OK: [00:25:14]protocol is kg_v1.0 [00:25:14]action value=get_value [00:25:14]process_action get_value [00:25:14]cmd_get_value [00:25:14]process_action get_value done [00:25:14]requested_data is exist [00:25:14]produce_requested_data [00:25:14]requested_item fm.sale.total is exist - process it [00:25:14]SAM_PROTO_GetFMData [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 13 03 00 [00:25:14]Write to MH i2c: E2 08 00 B2 05 80 13 03 00 00 00 00 00 36 [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 B2 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 53 [00:25:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:25:14]wFMCommunicate OK [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 17 00 00 [00:25:14]Write to MH i2c: E2 08 00 B3 05 80 17 00 00 00 00 00 00 38 [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:15]Read from MH i2c: E2 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 B3 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E7 [00:25:15]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:15]wFMCommunicate OK [00:25:15]wFMCommunicate request_size=4 [00:25:15]MH_SAM_APDU [00:25:15]CAPDU: 80 17 00 00 [00:25:15]Write to MH i2c: E2 08 00 B4 05 80 17 00 00 00 00 00 00 39 [00:25:15]Write i2c OK [00:25:15]MH_I2C_Read... [00:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:15]Read from MH i2c: E2 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 B4 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [00:25:15]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:15]wFMCommunicate OK [00:25:15]wFMCommunicate request_size=4 [00:25:15]MH_SAM_APDU [00:25:15]CAPDU: 80 17 00 00 [00:25:15]Write to MH i2c: E2 08 00 B5 05 80 17 00 00 00 00 00 00 3A [00:25:15]Write i2c OK [00:25:15]MH_I2C_Read... [00:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:15]Read from MH i2c: E2 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 B5 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [00:25:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:15]wFMCommunicate OK [00:25:15]wFMCommunicate request_size=4 [00:25:15]MH_SAM_APDU [00:25:15]CAPDU: 80 17 00 00 [00:25:15]Write to MH i2c: E2 08 00 B6 05 80 17 00 00 00 00 00 00 3B [00:25:15]Write i2c OK [00:25:15]MH_I2C_Read... [00:25:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:25:16]Read from MH i2c: E2 [00:25:16]MH_I2C_Read... [00:25:16]Read from MH i2c: E2 E1 00 [00:25:16]MH_I2C_Read... [00:25:16]Read from MH i2c: E2 E1 00 B6 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:16]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:16]wFMCommunicate OK [00:25:16]SAM_PROTO_GetFMData done [00:25:16]requested_item fm.sale_refund.total is exist - process it [00:25:16]requested_item fm.buy.total is exist - process it [00:25:16]requested_item shift.sale.total is exist - process it [00:25:16]SAM_PROTO_GetShiftData [00:25:16]wFMCommunicate request_size=4 [00:25:16]MH_SAM_APDU [00:25:16]CAPDU: 80 13 02 00 [00:25:16]Write to MH i2c: E2 08 00 B7 05 80 13 02 00 00 00 00 00 3A [00:25:16]Write i2c OK [00:25:16]MH_I2C_Read... [00:25:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:16]Read from MH i2c: E2 [00:25:16]MH_I2C_Read... [00:25:16]Read from MH i2c: E2 FD 00 [00:25:16]MH_I2C_Read... [00:25:16]Read from MH i2c: E2 FD 00 B7 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 50 [00:25:16]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:25:17]wFMCommunicate OK [00:25:17]wFMCommunicate request_size=4 [00:25:17]MH_SAM_APDU [00:25:17]CAPDU: 80 17 00 00 [00:25:17]Write to MH i2c: E2 08 00 B8 05 80 17 00 00 00 00 00 00 3D [00:25:17]Write i2c OK [00:25:17]MH_I2C_Read... [00:25:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:17]Read from MH i2c: E2 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 B8 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [00:25:17]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:17]wFMCommunicate OK [00:25:17]wFMCommunicate request_size=4 [00:25:17]MH_SAM_APDU [00:25:17]CAPDU: 80 17 00 00 [00:25:17]Write to MH i2c: E2 08 00 B9 05 80 17 00 00 00 00 00 00 3E [00:25:17]Write i2c OK [00:25:17]MH_I2C_Read... [00:25:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:17]Read from MH i2c: E2 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 B9 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [00:25:17]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:17]wFMCommunicate OK [00:25:17]wFMCommunicate request_size=4 [00:25:17]MH_SAM_APDU [00:25:17]CAPDU: 80 17 00 00 [00:25:17]Write to MH i2c: E2 08 00 BA 05 80 17 00 00 00 00 00 00 3F [00:25:17]Write i2c OK [00:25:17]MH_I2C_Read... [00:25:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:17]Read from MH i2c: E2 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 BA 05 00 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 90 00 AE [00:25:18]RAPDU: 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 90 00 [00:25:18]wFMCommunicate OK [00:25:18]wFMCommunicate request_size=4 [00:25:18]MH_SAM_APDU [00:25:18]CAPDU: 80 17 00 00 [00:25:18]Write to MH i2c: E2 08 00 BB 05 80 17 00 00 00 00 00 00 40 [00:25:18]Write i2c OK [00:25:18]MH_I2C_Read... [00:25:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:25:18]Read from MH i2c: E2 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 D3 00 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 D3 00 BB 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D [00:25:18]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:18]wFMCommunicate OK [00:25:18]SAM_PROTO_GetShiftData done [00:25:18]requested_item shift.sale.total_cash is exist - process it [00:25:18]requested_item shift.sale_refund.total is exist - process it [00:25:18]requested_item shift.sale_refund.total_cash is exist - process it [00:25:18]requested_item shift.buy.total is exist - process it [00:25:18]requested_item shift.buy.total_cash is exist - process it [00:25:18]produce_requested_data done [00:25:18]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:25:18]process_action_free get_value [00:25:18]json_value_free [00:25:18]json_value_free done [00:25:18]process_json_proto returns [00:25:18]Send response to host [00:25:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:25:18]free response buf [00:25:18]execute_script done [00:25:18]execute_script returns [00:25:18]free content buf [00:25:18]Sock 9.Close socket [00:25:18]Sock 9.Thread stoped [00:25:18]accept exits with 8 [00:25:18]New connection [00:25:18]New thread 3067563364 created [00:25:18]Thread 3067420004 joined [00:25:18]Waiting for new connection... [00:25:18] Sock 8.Parse request [00:25:18]Sock 8.Check first char [00:25:18]Sock 8.First char is OK [00:25:18]request: POST /json_proto HTTP/1.0 [00:25:18]Method: POST [00:25:18]URL: /json_proto [00:25:18]Method is POST - this is cgi request [00:25:18]url: /json_proto [00:25:18]query_string will be loaded in cgi processing [00:25:18]execute_cgi json_proto POST (null) [00:25:18]execute_cgi path=json_proto method=POST [00:25:18]POST find Content-Length [00:25:18]Host: 172.17.39.4:8080 [00:25:18]Content-Length: 331 [00:25:18]Content-Type: application/json [00:25:18] [00:25:18]POST finish read [00:25:18]Found Content-Length = 331 [00:25:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:18]execute_script... [00:25:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:18]POST & json_proto [00:25:18]process_json_proto [00:25:18]json parsed OK: [00:25:18]protocol is kg_v1.0 [00:25:18]action value=get_value [00:25:18]process_action get_value [00:25:18]cmd_get_value [00:25:18]process_action get_value done [00:25:18]requested_data is exist [00:25:18]produce_requested_data [00:25:18]requested_item fm.sale.total is exist - process it [00:25:18]SAM_PROTO_GetFMData [00:25:18]wFMCommunicate request_size=4 [00:25:18]MH_SAM_APDU [00:25:18]CAPDU: 80 13 03 00 [00:25:18]Write to MH i2c: E2 08 00 BC 05 80 13 03 00 00 00 00 00 40 [00:25:18]Write i2c OK [00:25:18]MH_I2C_Read... [00:25:18]OFD Sender: No OFD packet to send [00:25:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:18]Read from MH i2c: E2 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 BC 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 5D [00:25:19]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:25:19]wFMCommunicate OK [00:25:19]wFMCommunicate request_size=4 [00:25:19]MH_SAM_APDU [00:25:19]CAPDU: 80 17 00 00 [00:25:19]Write to MH i2c: E2 08 00 BD 05 80 17 00 00 00 00 00 00 42 [00:25:19]Write i2c OK [00:25:19]MH_I2C_Read... [00:25:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:19]Read from MH i2c: E2 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 FD 00 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 FD 00 BD 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F1 [00:25:19]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:19]wFMCommunicate OK [00:25:19]wFMCommunicate request_size=4 [00:25:19]MH_SAM_APDU [00:25:19]CAPDU: 80 17 00 00 [00:25:19]Write to MH i2c: E2 08 00 BE 05 80 17 00 00 00 00 00 00 43 [00:25:19]Write i2c OK [00:25:19]MH_I2C_Read... [00:25:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:19]Read from MH i2c: E2 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 FD 00 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 FD 00 BE 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [00:25:19]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:19]wFMCommunicate OK [00:25:19]wFMCommunicate request_size=4 [00:25:19]MH_SAM_APDU [00:25:19]CAPDU: 80 17 00 00 [00:25:19]Write to MH i2c: E2 08 00 BF 05 80 17 00 00 00 00 00 00 44 [00:25:19]Write i2c OK [00:25:20]MH_I2C_Read... [00:25:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:20]Read from MH i2c: E2 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: E2 FD 00 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: E2 FD 00 BF 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BC [00:25:20]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:20]wFMCommunicate OK [00:25:20]wFMCommunicate request_size=4 [00:25:20]MH_SAM_APDU [00:25:20]CAPDU: 80 17 00 00 [00:25:20]Write to MH i2c: E2 08 00 C0 05 80 17 00 00 00 00 00 00 45 [00:25:20]Write i2c OK [00:25:20]MH_I2C_Read... [00:25:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:25:20]Read from MH i2c: E2 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: E2 E1 00 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: E2 E1 00 C0 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:20]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:20]wFMCommunicate OK [00:25:20]SAM_PROTO_GetFMData done [00:25:20]requested_item fm.sale_refund.total is exist - process it [00:25:20]requested_item fm.buy.total is exist - process it [00:25:20]requested_item shift.sale.total is exist - process it [00:25:20]SAM_PROTO_GetShiftData [00:25:20]wFMCommunicate request_size=4 [00:25:20]MH_SAM_APDU [00:25:20]CAPDU: 80 13 02 00 [00:25:20]Write to MH i2c: E2 08 00 C1 05 80 13 02 00 00 00 00 00 44 [00:25:20]Write i2c OK [00:25:20]MH_I2C_Read... [00:25:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:21]Read from MH i2c: E2 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: E2 FD 00 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: E2 FD 00 C1 05 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 5A [00:25:21]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:25:21]wFMCommunicate OK [00:25:21]wFMCommunicate request_size=4 [00:25:21]MH_SAM_APDU [00:25:21]CAPDU: 80 17 00 00 [00:25:21]Write to MH i2c: E2 08 00 C2 05 80 17 00 00 00 00 00 00 47 [00:25:21]Write i2c OK [00:25:21]MH_I2C_Read... [00:25:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:21]Read from MH i2c: E2 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: E2 FD 00 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: E2 FD 00 C2 05 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [00:25:21]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:21]wFMCommunicate OK [00:25:21]wFMCommunicate request_size=4 [00:25:22]MH_SAM_APDU [00:25:22]CAPDU: 80 17 00 00 [00:25:22]Write to MH i2c: E2 08 00 C3 05 80 17 00 00 00 00 00 00 48 [00:25:22]Write i2c OK [00:25:22]MH_I2C_Read... [00:25:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:22]Read from MH i2c: E2 [00:25:22]MH_I2C_Read... [00:25:22]Read from MH i2c: E2 FD 00 [00:25:22]MH_I2C_Read... [00:25:22]Read from MH i2c: E2 FD 00 C3 05 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 08 [00:25:22]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:22]wFMCommunicate OK [00:25:22]wFMCommunicate request_size=4 [00:25:22]MH_SAM_APDU [00:25:22]CAPDU: 80 17 00 00 [00:25:22]Write to MH i2c: E2 08 00 C4 05 80 17 00 00 00 00 00 00 49 [00:25:22]Write i2c OK [00:25:22]MH_I2C_Read... [00:25:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:22]Read from MH i2c: E2 [00:25:22]MH_I2C_Read... [00:25:22]Read from MH i2c: E2 FD 00 [00:25:22]MH_I2C_Read... [00:25:22]Read from MH i2c: E2 FD 00 C4 05 00 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 90 00 B8 [00:25:22]RAPDU: 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 90 00 [00:25:22]wFMCommunicate OK [00:25:22]wFMCommunicate request_size=4 [00:25:22]MH_SAM_APDU [00:25:22]CAPDU: 80 17 00 00 [00:25:22]Write to MH i2c: E2 08 00 C5 05 80 17 00 00 00 00 00 00 4A [00:25:22]Write i2c OK [00:25:22]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 D3 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 D3 00 C5 05 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 37 [00:25:23]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:23]wFMCommunicate OK [00:25:23]SAM_PROTO_GetShiftData done [00:25:23]requested_item shift.sale.total_cash is exist - process it [00:25:23]requested_item shift.sale_refund.total is exist - process it [00:25:23]requested_item shift.sale_refund.total_cash is exist - process it [00:25:23]requested_item shift.buy.total is exist - process it [00:25:23]requested_item shift.buy.total_cash is exist - process it [00:25:23]produce_requested_data done [00:25:23]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:25:23]process_action_free get_value [00:25:23]json_value_free [00:25:23]json_value_free done [00:25:23]process_json_proto returns [00:25:23]Send response to host [00:25:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:25:23]free response buf [00:25:23]execute_script done [00:25:23]execute_script returns [00:25:23]free content buf [00:25:23]Sock 8.Close socket [00:25:23]Sock 8.Thread stoped [00:25:23]accept exits with 9 [00:25:23]New connection [00:25:23]New thread 3067420004 created [00:25:23]Thread 3067563364 joined [00:25:23]Waiting for new connection... [00:25:23] Sock 9.Parse request [00:25:23]Sock 9.Check first char [00:25:23]Sock 9.First char is OK [00:25:23]request: POST /json_proto HTTP/1.0 [00:25:23]Method: POST [00:25:23]URL: /json_proto [00:25:23]Method is POST - this is cgi request [00:25:23]url: /json_proto [00:25:23]query_string will be loaded in cgi processing [00:25:23]execute_cgi json_proto POST (null) [00:25:23]execute_cgi path=json_proto method=POST [00:25:23]POST find Content-Length [00:25:23]Host: 172.17.39.4:8080 [00:25:23]Content-Length: 260 [00:25:23]Content-Type: application/json [00:25:23] [00:25:23]POST finish read [00:25:23]Found Content-Length = 260 [00:25:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:23]execute_script... [00:25:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:23]POST & json_proto [00:25:23]process_json_proto [00:25:23]json parsed OK: [00:25:23]protocol is kg_v1.0 [00:25:23]action value=close_shift [00:25:23]process_action close_shift [00:25:23]cmd_close_shift [00:25:23]MH_GetDate [00:25:23]Write to MH i2c: F0 00 00 C6 05 BA [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 09 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 09 00 C6 05 00 74 C9 91 66 2D 25 5D 64 0A [00:25:23]GetLastDocTimeStamp 1720830274 [00:25:23]current date 1720830324 [00:25:23]FM_GetShiftState [00:25:23]SAM_PROTO_GetShiftState [00:25:23]wFMCommunicate request_size=4 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 13 01 00 [00:25:23]Write to MH i2c: E2 08 00 C7 05 80 13 01 00 00 00 00 00 49 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 0E 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 0E 00 C7 05 00 09 00 01 86 79 90 66 00 00 00 00 90 00 4A [00:25:23]RAPDU: 09 00 01 86 79 90 66 00 00 00 00 90 00 [00:25:23]wFMCommunicate OK [00:25:23]SAM_PROTO_GetShiftState done [00:25:23]FM_GetShiftState done [00:25:23]KKMCreateCloseShiftDocument [00:25:23]Load OK [00:25:23]Malloc new data [00:25:23]MH_GetDate [00:25:23]Write to MH i2c: F0 00 00 C8 05 BC [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 09 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: F0 09 00 C8 05 00 74 C9 91 66 2D 25 5D 64 0C [00:25:23]Malloc new data [00:25:23]Malloc new data [00:25:23]Malloc new data [00:25:23]Malloc new data [00:25:23]KKMCreateCloseShiftDocument OK [00:25:23]KKMSetCloseShiftData OK [00:25:23]ProcessDocumentItem done err = 0, tmpTLVsize=71 [00:25:23]tlvbuf is 0139CFB0 [00:25:23]KKMLoadAndSignCloseShiftData [00:25:23]SAM_PROTO_ProcessDocument [00:25:23]wFMCommunicate request_size=9 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 15 01 00 04 05 00 47 00 [00:25:23]Write to MH i2c: E2 0C 00 C9 05 80 15 01 00 04 00 05 00 47 00 00 00 A1 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 C9 05 00 90 00 42 [00:25:23]RAPDU: 90 00 [00:25:23]wFMCommunicate OK [00:25:23]wFMCommunicate request_size=23 [00:25:23]MH_SAM_APDU [00:25:23]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:25:23]Write to MH i2c: E2 1A 00 CA 05 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 44 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]OFD Sender: No OFD packet to send [00:25:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 CA 05 00 90 00 43 [00:25:23]RAPDU: 90 00 [00:25:23]wFMCommunicate OK [00:25:23]wFMCommunicate request_size=30 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 [00:25:23]Write to MH i2c: E2 21 00 CB 05 80 15 02 00 19 00 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 00 00 40 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 CB 05 00 90 00 44 [00:25:23]RAPDU: 90 00 [00:25:23]wFMCommunicate OK [00:25:23]wFMCommunicate request_size=13 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 15 02 00 08 F4 03 04 00 74 C9 91 66 [00:25:23]Write to MH i2c: E2 10 00 CC 05 80 15 02 00 08 00 F4 03 04 00 74 C9 91 66 00 00 90 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 03 00 CC 05 00 90 00 45 [00:25:23]RAPDU: 90 00 [00:25:23]wFMCommunicate OK [00:25:23]wFMCommunicate request_size=25 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [00:25:23]Write to MH i2c: E2 1C 00 CD 05 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 AF [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:25:24]Read from MH i2c: E2 [00:25:24]MH_I2C_Read... [00:25:24]Read from MH i2c: E2 03 00 [00:25:24]MH_I2C_Read... [00:25:24]Read from MH i2c: E2 03 00 CD 05 00 90 00 46 [00:25:24]RAPDU: 90 00 [00:25:24]wFMCommunicate OK [00:25:24]wFMCommunicate request_size=4 [00:25:24]MH_SAM_APDU [00:25:24]CAPDU: 80 15 03 00 [00:25:24]Write to MH i2c: E2 08 00 CE 05 80 15 03 00 00 00 00 00 54 [00:25:24]Write i2c OK [00:25:24]MH_I2C_Read... [00:25:24]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:25:24]Read from MH i2c: E2 [00:25:24]MH_I2C_Read... [00:25:24]Read from MH i2c: E2 FD 00 [00:25:24]MH_I2C_Read... [00:25:24]Read from MH i2c: E2 FD 00 CE 05 00 F9 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 90 00 D8 [00:25:24]RAPDU: F9 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 90 00 [00:25:24]wFMCommunicate OK [00:25:24]SAM_PROTO_ProcessDocument answer len = 1273 [00:25:24]SAM_PROTO_ProcessDocument remain to read = 1025 [00:25:24]wFMCommunicate request_size=4 [00:25:24]MH_SAM_APDU [00:25:24]CAPDU: 80 17 00 00 [00:25:24]Write to MH i2c: E2 08 00 CF 05 80 17 00 00 00 00 00 00 54 [00:25:24]Write i2c OK [00:25:24]MH_I2C_Read... [00:25:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:25]Read from MH i2c: E2 [00:25:25]MH_I2C_Read... [00:25:25]Read from MH i2c: E2 FD 00 [00:25:25]MH_I2C_Read... [00:25:25]Read from MH i2c: E2 FD 00 CF 05 00 02 00 40 83 72 04 00 00 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 F5 0D 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 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A7 [00:25:25]RAPDU: 02 00 40 83 72 04 00 00 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 F5 0D 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 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:25]wFMCommunicate OK [00:25:25]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:25:25]SAM_PROTO_ProcessDocument remain to read = 775 [00:25:25]wFMCommunicate request_size=4 [00:25:25]MH_SAM_APDU [00:25:25]CAPDU: 80 17 00 00 [00:25:25]Write to MH i2c: E2 08 00 D0 05 80 17 00 00 00 00 00 00 55 [00:25:25]Write i2c OK [00:25:25]MH_I2C_Read... [00:25:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:25]Read from MH i2c: E2 [00:25:25]MH_I2C_Read... [00:25:25]Read from MH i2c: E2 FD 00 [00:25:25]MH_I2C_Read... [00:25:25]Read from MH i2c: E2 FD 00 D0 05 00 00 00 EF 03 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 90 00 B7 [00:25:25]RAPDU: 00 00 EF 03 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 90 00 [00:25:25]wFMCommunicate OK [00:25:25]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:25:25]SAM_PROTO_ProcessDocument remain to read = 525 [00:25:25]wFMCommunicate request_size=4 [00:25:25]MH_SAM_APDU [00:25:25]CAPDU: 80 17 00 00 [00:25:25]Write to MH i2c: E2 08 00 D1 05 80 17 00 00 00 00 00 00 56 [00:25:25]Write i2c OK [00:25:25]MH_I2C_Read... [00:25:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:26]Read from MH i2c: E2 [00:25:26]MH_I2C_Read... [00:25:26]Read from MH i2c: E2 FD 00 [00:25:26]MH_I2C_Read... [00:25:26]Read from MH i2c: E2 FD 00 D1 05 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6F [00:25:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:26]wFMCommunicate OK [00:25:26]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:25:26]SAM_PROTO_ProcessDocument remain to read = 275 [00:25:26]wFMCommunicate request_size=4 [00:25:26]MH_SAM_APDU [00:25:26]CAPDU: 80 17 00 00 [00:25:26]Write to MH i2c: E2 08 00 D2 05 80 17 00 00 00 00 00 00 57 [00:25:26]Write i2c OK [00:25:26]MH_I2C_Read... [00:25:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:26]Read from MH i2c: E2 [00:25:26]MH_I2C_Read... [00:25:26]Read from MH i2c: E2 FD 00 [00:25:26]MH_I2C_Read... [00:25:26]Read from MH i2c: E2 FD 00 D2 05 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 90 [00:25:26]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:26]wFMCommunicate OK [00:25:26]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:25:26]SAM_PROTO_ProcessDocument remain to read = 25 [00:25:26]wFMCommunicate request_size=4 [00:25:26]MH_SAM_APDU [00:25:26]CAPDU: 80 17 00 00 [00:25:26]Write to MH i2c: E2 08 00 D3 05 80 17 00 00 00 00 00 00 58 [00:25:26]Write i2c OK [00:25:26]MH_I2C_Read... [00:25:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 25! [00:25:27]Read from MH i2c: E2 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 1C 00 [00:25:27]MH_I2C_Read... [00:25:27]Read from MH i2c: E2 1C 00 D3 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 50 F5 D5 77 87 E6 90 00 97 [00:25:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 50 F5 D5 77 87 E6 90 00 [00:25:27]wFMCommunicate OK [00:25:27]SAM_PROTO_ProcessDocument received (without SW) 25 bytes [00:25:27]SAM_PROTO_ProcessDocument done [00:25:27]1209 (1) - 1.0 - номер версии ФФД [00:25:27]1041 (16) - 0000000000874857 - номер ФМ [00:25:27]1040 (4) - 56838 - номер ФД [00:25:27]1038 (4) - 494 - номер смены [00:25:27]1118 (4) - 105 - количество кассовых чеков за смену [00:25:27]1111 (4) - 107 - общее количество ФД за смену [00:25:27]1194 (1202) - счетчики итогов смены [00:25:27] 1134 (4) - 105 - количество чеков со всеми признаками расчетов [00:25:27] 1129 (155) - счетчики операций «приход» [00:25:27] 1135 (4) - 104 - количество чеков по признаку расчетов [00:25:27] 1201 (3) - 26848.24 - общая итоговая сумма в чеках [00:25:27] 1136 (3) - 20680.00 - итоговая сумма в чеках наличными [00:25:27] 1138 (3) - 6168.24 - итоговая сумма в чеках безналичными [00:25:27] 1024 (122) - суммы налогов [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 0% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1006 (12) - суммы НДС [00:25:27] 1010 (1) - 12% - код ставки НДС [00:25:27] 1011 (3) - 2851.44 - сумма НДС по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (11) - суммы НСП [00:25:27] 1014 (1) - 1% - код ставки НСП [00:25:27] 1015 (2) - 237.52 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 2% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 3% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 5% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1130 (149) - счетчики операций «возврат прихода» [00:25:27] 1135 (4) - 1 - количество чеков по признаку расчетов [00:25:27] 1201 (2) - 336.00 - общая итоговая сумма в чеках [00:25:27] 1136 (2) - 336.00 - итоговая сумма в чеках наличными [00:25:27] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:27] 1024 (121) - суммы налогов [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 0% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1006 (11) - суммы НДС [00:25:27] 1010 (1) - 12% - код ставки НДС [00:25:27] 1011 (2) - 35.73 - сумма НДС по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (11) - суммы НСП [00:25:27] 1014 (1) - 1% - код ставки НСП [00:25:27] 1015 (2) - 2.98 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 2% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 3% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 5% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1131 (141) - счетчики операций «расход» [00:25:27] 1135 (4) - 0 - количество чеков по признаку расчетов [00:25:27] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:25:27] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:25:27] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:27] 1024 (117) - суммы налогов [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 0% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 12% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 2% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 3% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 5% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1132 (141) - счетчики операций «возврат расхода» [00:25:27] 1135 (4) - 0 - количество чеков по признаку расчетов [00:25:27] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:25:27] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:25:27] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:27] 1024 (117) - суммы налогов [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 0% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1006 (9) - суммы НДС [00:25:27] 1010 (1) - 12% - код ставки НДС [00:25:27] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 2% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 3% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 5% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 0,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1007 (9) - суммы НСП [00:25:27] 1014 (1) - 1,50% - код ставки НСП [00:25:27] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:27] 1133 (588) - - счетчики коррекции - не используются [00:25:27]1077 (6) - 89016778590182 - ФПД [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1209 (04B9) [00:25:27]Malloc new data [00:25:27]Processing tag 1041 (0411) [00:25:27]Processing tag 1040 (0410) [00:25:27]Malloc new data [00:25:27]Processing tag 1038 (040E) [00:25:27]Malloc new data [00:25:27]Processing tag 1118 (045E) [00:25:27]Malloc new data [00:25:27]Processing tag 1111 (0457) [00:25:27]Malloc new data [00:25:27]Processing tag 1194 (04AA) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1134 (046E) [00:25:27]Malloc new data [00:25:27]Processing tag 1129 (0469) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1135 (046F) [00:25:27]Malloc new data [00:25:27]Processing tag 1201 (04B1) [00:25:27]Malloc new data [00:25:27]Processing tag 1136 (0470) [00:25:27]Malloc new data [00:25:27]Processing tag 1138 (0472) [00:25:27]Malloc new data [00:25:27]Processing tag 1024 (0400) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1006 (03EE) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1010 (03F2) [00:25:27]Malloc new data [00:25:27]Processing tag 1011 (03F3) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1006 (03EE) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1010 (03F2) [00:25:27]Malloc new data [00:25:27]Processing tag 1011 (03F3) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]SetTLVBufToDocument err=0 [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1130 (046A) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1135 (046F) [00:25:27]Malloc new data [00:25:27]Processing tag 1201 (04B1) [00:25:27]Malloc new data [00:25:27]Processing tag 1136 (0470) [00:25:27]Malloc new data [00:25:27]Processing tag 1138 (0472) [00:25:27]Malloc new data [00:25:27]Processing tag 1024 (0400) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1006 (03EE) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1010 (03F2) [00:25:27]Malloc new data [00:25:27]Processing tag 1011 (03F3) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1006 (03EE) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1010 (03F2) [00:25:27]Malloc new data [00:25:27]Processing tag 1011 (03F3) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:27]SetTLVBufToDocument [00:25:27]Processing tag 1014 (03F6) [00:25:27]Malloc new data [00:25:27]Processing tag 1015 (03F7) [00:25:27]Malloc new data [00:25:27]SetTLVBufToDocument err=0 [00:25:27]Processing tag 1007 (03EF) [00:25:27]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1131 (046B) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1135 (046F) [00:25:28]Malloc new data [00:25:28]Processing tag 1201 (04B1) [00:25:28]Malloc new data [00:25:28]Processing tag 1136 (0470) [00:25:28]Malloc new data [00:25:28]Processing tag 1138 (0472) [00:25:28]Malloc new data [00:25:28]Processing tag 1024 (0400) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1006 (03EE) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1010 (03F2) [00:25:28]Malloc new data [00:25:28]Processing tag 1011 (03F3) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1006 (03EE) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1010 (03F2) [00:25:28]Malloc new data [00:25:28]Processing tag 1011 (03F3) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1132 (046C) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1135 (046F) [00:25:28]Malloc new data [00:25:28]Processing tag 1201 (04B1) [00:25:28]Malloc new data [00:25:28]Processing tag 1136 (0470) [00:25:28]Malloc new data [00:25:28]Processing tag 1138 (0472) [00:25:28]Malloc new data [00:25:28]Processing tag 1024 (0400) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1006 (03EE) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1010 (03F2) [00:25:28]Malloc new data [00:25:28]Processing tag 1011 (03F3) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1006 (03EE) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1010 (03F2) [00:25:28]Malloc new data [00:25:28]Processing tag 1011 (03F3) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1007 (03EF) [00:25:28]Load OK [00:25:28]SetTLVBufToDocument [00:25:28]Processing tag 1014 (03F6) [00:25:28]Malloc new data [00:25:28]Processing tag 1015 (03F7) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1133 (046D) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Processing tag 1077 (0435) [00:25:28]Malloc new data [00:25:28]SetTLVBufToDocument err=0 [00:25:28]Malloc new data [00:25:28]SAM_PROTO_GetFMData [00:25:28]wFMCommunicate request_size=4 [00:25:28]MH_SAM_APDU [00:25:28]CAPDU: 80 13 03 00 [00:25:28]Write to MH i2c: E2 08 00 D4 05 80 13 03 00 00 00 00 00 58 [00:25:28]Write i2c OK [00:25:28]MH_I2C_Read... [00:25:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:28]Read from MH i2c: E2 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 [00:25:28]MH_I2C_Read... [00:25:28]Read from MH i2c: E2 FD 00 D4 05 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 75 [00:25:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 OFD Sender: No OFD packet to send [00:25:28]01 00 01 F7 03 03 00 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:25:28]wFMCommunicate OK [00:25:28]wFMCommunicate request_size=4 [00:25:28]MH_SAM_APDU [00:25:28]CAPDU: 80 17 00 00 [00:25:28]Write to MH i2c: E2 08 00 D5 05 80 17 00 00 00 00 00 00 5A [00:25:29]Write i2c OK [00:25:29]MH_I2C_Read... [00:25:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:29]Read from MH i2c: E2 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 D5 05 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [00:25:29]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:29]wFMCommunicate OK [00:25:29]wFMCommunicate request_size=4 [00:25:29]MH_SAM_APDU [00:25:29]CAPDU: 80 17 00 00 [00:25:29]Write to MH i2c: E2 08 00 D6 05 80 17 00 00 00 00 00 00 5B [00:25:29]Write i2c OK [00:25:29]MH_I2C_Read... [00:25:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:29]Read from MH i2c: E2 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 [00:25:29]MH_I2C_Read... [00:25:29]Read from MH i2c: E2 FD 00 D6 05 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [00:25:30]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:30]wFMCommunicate OK [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 17 00 00 [00:25:30]Write to MH i2c: E2 08 00 D7 05 80 17 00 00 00 00 00 00 5C [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:30]Read from MH i2c: E2 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 [00:25:30]MH_I2C_Read... [00:25:30]Read from MH i2c: E2 FD 00 D7 05 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [00:25:30]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:25:30]wFMCommunicate OK [00:25:30]wFMCommunicate request_size=4 [00:25:30]MH_SAM_APDU [00:25:30]CAPDU: 80 17 00 00 [00:25:30]Write to MH i2c: E2 08 00 D8 05 80 17 00 00 00 00 00 00 5D [00:25:30]Write i2c OK [00:25:30]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 E1 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 E1 00 D8 05 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4B [00:25:31]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:31]wFMCommunicate OK [00:25:31]SAM_PROTO_GetFMData done [00:25:31]Malloc new data [00:25:31]Malloc new data [00:25:31]Malloc new data [00:25:31]Malloc new data [00:25:31]KKMLoadAndSignCloseShiftData err=0 [00:25:31]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Бакирова З. 13.07.2024 00:25 Смена: 494 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Чеков за смену: 105 ФД за смену: 107 Всего чеков: 105 ИТОГИ ПРИХОД Чеков: 104 Общий итог: 26848.24 Итого наличными: 20680.00 Итого безнал.: 6168.24 НДС 0% : 0.00 НДС 12% : 2851.44 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 237.52 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 336.00 Итого наличными: 336.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 35.73 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 2.98 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 20344.00 НС Приход: 18295742.28 НС Возвр.Прихода: 234833.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 56838 ФМ: 0000000000874857 ФПД: 89016778590182 [00:25:31]StoreToDocumentArchive [00:25:31]shift 494 fd 56838 [00:25:31]save to /storage/0494/doc_00056838 [00:25:31]save last doc name /storage/0494/doc_00056838 to /storage/kkm_last_doc_name [00:25:31]save OK [00:25:31]Clear old archive folders... [00:25:31]Remove dir /storage/0266 [00:25:31]opendir ok [00:25:31]file . [00:25:31]file .. [00:25:31]file doc_1720830281 [00:25:31]remove file /storage/0266/doc_1720830281 [00:25:31]remove dir /storage/0266 [00:25:31]NVStorageSaveData kkm_registers [00:25:31]File name is /storage/kkm_registers [00:25:31]Write 24 bytes [00:25:31]NVStorageSaveData done [00:25:31]NVStorageSaveData kkm_registers [00:25:31]File name is /storage/kkm_registers [00:25:31]Write 24 bytes [00:25:31]NVStorageSaveData done [00:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [00:25:31]tlvbuf is 013DD670 [00:25:31]SAM_PROTO_ClearQueue [00:25:31]wFMCommunicate request_size=4 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 09 00 00 [00:25:31]Write to MH i2c: E2 08 00 D9 05 80 09 00 00 00 00 00 00 50 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 D9 05 00 90 00 52 [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]SAM_PROTO_ClearQueue done [00:25:31]KKMCreateOFDPacket [00:25:31]OFDProtocolAddRootSTLVToBuf [00:25:31]FM_MakeSignedData [00:25:31]FM_MakeSignedData [00:25:31]SAM_PROTO_SignData [00:25:31]wFMCommunicate request_size=4 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 0D 01 02 [00:25:31]Write to MH i2c: E2 08 00 DA 05 80 0D 01 02 00 00 00 00 58 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:25:31]Read from MH i2c: E2 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 [00:25:31]MH_I2C_Read... [00:25:31]Read from MH i2c: E2 03 00 DA 05 00 90 00 53 [00:25:31]RAPDU: 90 00 [00:25:31]wFMCommunicate OK [00:25:31]wFMCommunicate request_size=255 [00:25:31]MH_SAM_APDU [00:25:31]CAPDU: 80 0D 02 02 FA 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 74 C9 91 66 0E 04 04 00 EE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 D9 04 6E 04 04 00 69 00 00 00 69 04 A2 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 [00:25:31]Write to MH i2c: E2 02 01 DB 05 80 0D 02 02 FA 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 74 C9 91 66 0E 04 04 00 EE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 D9 04 6E 04 04 00 69 00 00 00 69 04 A2 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 00 00 D3 [00:25:31]Write i2c OK [00:25:31]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 DB 05 00 90 00 54 [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]wFMCommunicate request_size=255 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 0D 02 02 FA 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 C8 5C 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 0D 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 2A 01 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:25:32]Write to MH i2c: E2 02 01 DC 05 80 0D 02 02 FA 00 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 C8 5C 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 0D 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 2A 01 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 AF [00:25:32]Write i2c OK [00:25:32]MH_I2C_Read... [00:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:32]Read from MH i2c: E2 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 [00:25:32]MH_I2C_Read... [00:25:32]Read from MH i2c: E2 03 00 DC 05 00 90 00 55 [00:25:32]RAPDU: 90 00 [00:25:32]wFMCommunicate OK [00:25:32]wFMCommunicate request_size=255 [00:25:32]MH_SAM_APDU [00:25:32]CAPDU: 80 0D 02 02 FA 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:25:33]Write to MH i2c: E2 02 01 DD 05 80 0D 02 02 FA 00 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 00 22 [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:33]Read from MH i2c: E2 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: E2 03 00 [00:25:33]MH_I2C_Read... [00:25:33]Read from MH i2c: E2 03 00 DD 05 00 90 00 56 [00:25:33]RAPDU: 90 00 [00:25:33]wFMCommunicate OK [00:25:33]wFMCommunicate request_size=255 [00:25:33]MH_SAM_APDU [00:25:33]CAPDU: 80 0D 02 02 FA 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 [00:25:33]Write to MH i2c: E2 02 01 DE 05 80 0D 02 02 FA 00 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 00 00 21 [00:25:33]Write i2c OK [00:25:33]MH_I2C_Read... [00:25:33]OFD Sender: No OFD packet to send [00:25:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:34]Read from MH i2c: E2 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 03 00 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 03 00 DE 05 00 90 00 57 [00:25:34]RAPDU: 90 00 [00:25:34]wFMCommunicate OK [00:25:34]wFMCommunicate request_size=255 [00:25:34]MH_SAM_APDU [00:25:34]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:25:34]Write to MH i2c: E2 02 01 DF 05 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 E6 [00:25:34]Write i2c OK [00:25:34]MH_I2C_Read... [00:25:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:34]Read from MH i2c: E2 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 03 00 [00:25:34]MH_I2C_Read... [00:25:34]Read from MH i2c: E2 03 00 DF 05 00 90 00 58 [00:25:34]RAPDU: 90 00 [00:25:34]wFMCommunicate OK [00:25:34]wFMCommunicate request_size=142 [00:25:34]MH_SAM_APDU [00:25:34]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 06 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 50 F5 D5 77 87 E6 [00:25:34]Write to MH i2c: E2 91 00 E0 05 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 06 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 50 F5 D5 77 87 E6 00 00 8F [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 03 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 03 00 E0 05 00 90 00 59 [00:25:35]RAPDU: 90 00 [00:25:35]wFMCommunicate OK [00:25:35]wFMCommunicate request_size=4 [00:25:35]MH_SAM_APDU [00:25:35]CAPDU: 80 0D 03 02 [00:25:35]Write to MH i2c: E2 08 00 E1 05 80 0D 03 02 00 00 00 00 61 [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 0B 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 0B 00 E1 05 00 7E CC E0 09 08 8E 02 6B 90 00 98 [00:25:35]RAPDU: 7E CC E0 09 08 8E 02 6B 90 00 [00:25:35]wFMCommunicate OK [00:25:35]SAM_PROTO_SignData done [00:25:35]FM_MakeSignedData done [00:25:35]CreateOFDProtocolMessage [00:25:35]wFMCommunicate request_size=4 [00:25:35]MH_SAM_APDU [00:25:35]CAPDU: 80 11 00 00 [00:25:35]Write to MH i2c: E2 08 00 E2 05 80 11 00 00 00 00 00 00 61 [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:35]Read from MH i2c: E2 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 17 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: E2 17 00 E2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [00:25:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:25:35]wFMCommunicate OK [00:25:35]CreateOFDProtocolMessage done [00:25:35]OFDSenderStorePacket 56838 [00:25:35]StoreOFDPacket docnum=56838 [00:25:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 7B 05 00 00 AE 9B 73 05 D5 E0 5A 05 01 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 74 C9 91 66 0E 04 04 00 EE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 D9 04 6E 04 04 00 69 00 00 00 69 04 A2 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 0D 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 2A 01 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 06 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 50 F5 D5 77 87 E6 7E CC E0 09 08 8E 02 6B [00:25:35]CheckFolder [00:25:35]dirname=/storage/ofd_packets [00:25:35]CheckFolder done [00:25:35]ProducePacketName [00:25:35]name=ofd_packets/00056838 [00:25:35]NVStorageSaveData ofd_packets/00056838 [00:25:35]File name is /storage/ofd_packets/00056838 [00:25:35]Write 1433 bytes [00:25:35]NVStorageSaveData done [00:25:35]OFDSenderStorePacket done [00:25:35]KKMCreateOFDPacket done [00:25:35]NVStorageSaveData kkm_last_timestamp [00:25:35]File name is /storage/kkm_last_timestamp [00:25:35]Write 4 bytes [00:25:35]NVStorageSaveData done [00:25:35]ExternCall_PrintAddStr [00:25:35]wPrintStart [00:25:35]Write to MH i2c: 01 00 00 E3 05 E8 [00:25:35]Write i2c OK [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: 01 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: 01 07 00 [00:25:35]MH_I2C_Read... [00:25:35]Read from MH i2c: 01 07 00 E3 05 00 00 00 00 00 FF 0F FD [00:25:35]RasterBufferAndPrint [00:25:35]line Отчет о закрытии смены [00:25:35]line ФФД: 1.0 [00:25:35]line ИНН: 02508201610067 [00:25:35]line Кассир: Бакирова З. [00:25:35]line 13.07.2024 00:25 [00:25:35]line Смена: 494 [00:25:35]line РНМ: 0000000000091208 [00:25:35]line ЗНМ: 0300000132 [00:25:35]line СНО: Общий режим [00:25:35]line Чеков за смену: 105 [00:25:35]line ФД за смену: 107 [00:25:35]line Всего чеков: 105 [00:25:35]line ИТОГИ ПРИХОД [00:25:35]line Чеков: 104 [00:25:35]line Общий итог: 26848.24 [00:25:35]line Итого наличными: 20680.00 [00:25:35]line Итого безнал.: 6168.24 [00:25:35]line НДС 0% : 0.00 [00:25:35]line НДС 12% : 2851.44 [00:25:35]line НСП 0% : 0.00 [00:25:35]line НСП 1,50% : 0.00 [00:25:35]line НСП 0,50% : 0.00 [00:25:35]line НСП 5% : 0.00 [00:25:35]line НСП 3% : 0.00 [00:25:35]line НСП 2% : 0.00 [00:25:35]line НСП 1% : 237.52 [00:25:35]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:25:35]line Чеков: 1 [00:25:35]line Общий итог: 336.00 [00:25:35]line Итого наличными: 336.00 [00:25:35]line Итого безнал.: 0.00 [00:25:35]line НДС 0% : 0.00 [00:25:35]line НДС 12% : 35.73 [00:25:35]line НСП 0% : 0.00 [00:25:35]line НСП 1,50% : 0.00 [00:25:35]line НСП 0,50% : 0.00 [00:25:35]line НСП 5% : 0.00 [00:25:35]line НСП 3% : 0.00 [00:25:35]line НСП 2% : 0.00 [00:25:35]line НСП 1% : 2.98 [00:25:35]line ИТОГИ РАСХОД [00:25:35]line Чеков: 0 [00:25:35]line Общий итог: 0.00 [00:25:35]line Итого наличными: 0.00 [00:25:35]line Итого безнал.: 0.00 [00:25:35]line НДС 0% : 0.00 [00:25:35]line НДС 12% : 0.00 [00:25:35]line НСП 0% : 0.00 [00:25:35]line НСП 1,50% : 0.00 [00:25:35]line НСП 0,50% : 0.00 [00:25:35]line НСП 5% : 0.00 [00:25:35]line НСП 3% : 0.00 [00:25:35]line НСП 2% : 0.00 [00:25:35]line НСП 1% : 0.00 [00:25:35]line ИТОГИ ВОЗВРАТ РАСХОДА [00:25:35]line Чеков: 0 [00:25:35]line Общий итог: 0.00 [00:25:35]line Итого наличными: 0.00 [00:25:35]line Итого безнал.: 0.00 [00:25:35]line НДС 0% : 0.00 [00:25:35]OFD Sender: Processing packet 56838 [packets to send 38, broken 37] [00:25:35]ProducePacketName [00:25:35]name=ofd_packets/00056838 [00:25:35]OFD Sender: To server: pG, [00:25:35]CommunicateWithHost lk.salyk.kg:30040 [00:25:35]ConnectInit lk.salyk.kg [00:25:35]line НДС 12% : 0.00 [00:25:35]line НСП 0% : 0.00 [00:25:35]line НСП 1,50% : 0.00 [00:25:35]line НСП 0,50% : 0.00 [00:25:35]line НСП 5% : 0.00 [00:25:35]line НСП 3% : 0.00 [00:25:35]line НСП 2% : 0.00 [00:25:35]line НСП 1% : 0.00 [00:25:35]line Сумма внесений: 0.00 [00:25:35]line Сумма выплат: 0.00 [00:25:35]line Нал. в кассе: 20344.00 [00:25:35]line НС Приход: 18295742.28 [00:25:35]line НС Возвр.Прихода: 234833.00 [00:25:35]line НС Расход: 0.00 [00:25:35]line НС Возвр.Расхода: 0.00 [00:25:35]line ФД: 56838 [00:25:35]line ФМ: 0000000000874857 [00:25:35]line ФПД: 89016778590182 [00:25:35]written 0, free lines is 4095 [00:25:35]Connected sock=10 [00:25: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 38 35 37 7B 05 00 00 AE 9B 73 05 D5 E0 5A 05 01 00 05 00 67 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 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F4 03 04 00 74 C9 91 66 0E 04 04 00 EE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 AA 04 D9 04 6E 04 04 00 69 00 00 00 69 04 A2 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F5 0D 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 2A 01 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 Write to MH i2c: 0A 01 00 00 F6 00 03 33 01 06 00 39 03 [00:25:36]F7 Write i2c OK [00:25:36]03 MH_I2C_Read... [00:25:36]01 Read from MH i2c: 00 01 00 [00:25:36]EF MH_I2C_Read... [00:25:36]03 0A 00 F6 03 01 00 02 F7 03 01 Read from MH i2c: 00 01 00 07 EF 00 03 [00:25:36]0A MH_I2C_Read... [00:25:36]00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C Read from MH i2c: 02 01 78 07 04 00 04 33 00 06 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 00 00 00 B1 00 00 04 10 00 0B 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 5B 03 [00:25:36]09 RasterBufferAndPrint [00:25:36]00 line [00:25:36]F2 line [00:25:36]03 line [00:25:36]01 00 00 F3 03 00 00 EE 03 09 00 F2 03 line [00:25:36]01 line [00:25:36]00 01 F3 written 0, free lines is 2998 [00:25:36]03 00 00 EF 03 09 00 F6 03 01 00 00 MH_Cut [00:25:36]F7 Write to MH i2c: 03 D1 00 01 00 00 EF 3A 03 06 01 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 12 [00:25:37]03 Write i2c OK [00:25:37]00 MH_I2C_Read... [00:25:37]00 Read from MH i2c: EE D1 03 [00:25:37]MH_I2C_Read... [00:25:37]09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: F3 D1 03 01 00 00 00 [00:25:37]EE MH_I2C_Read... [00:25:37]03 09 00 F2 03 01 00 Read from MH i2c: 01 D1 F3 01 03 00 00 3A 00 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 00 03 11 09 [00:25:37]00 Write to MH i2c: 01 F6 00 03 00 01 3B 00 06 01 41 F7 [00:25:37]03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 Write i2c OK [00:25:37]09 MH_I2C_Read... [00:25:37]00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 06 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 50 F5 D5 77 87 E6 7E CC E0 09 08 8E 02 6B [00:25:37]*** Cut start [00:25:37]*** Partial cut [00:25:37]*** CUTSNS_PIN = 1 [00:25:37]*** CUTSNS_PIN = 0 [00:25:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 96 FB 47 00 60 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DE 00 00 F4 03 04 00 D6 6F 91 66 B6 04 01 00 00 *** Brake cut motor [00:25:38]CA 4E 92 5A BA 7E 2E 46 [00:25:38]CommunicateWithHost err = 0 [00:25:38]CheckOFDResponse [00:25:38]1017 (14) - 77093643461234 [00:25:38]1041 (16) - 0000000000874857 [00:25:38]1040 (4) - 56838 [00:25:38]1012 (4) - 12.07.2024 18:03 [00:25:38]1206 (1) - 0 [00:25:38]OFD Sender: Remove packet 56838 [00:25:38]ProducePacketName [00:25:38]name=ofd_packets/00056838 [00:25:38]NVStorageDeleteData [00:25:38]Read from MH i2c: 01 [00:25:38]MH_I2C_Read... [00:25:38]*** Stop cut motor [00:25:38]*** Cut end [00:25:38]Read from MH i2c: 01 07 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: 01 07 00 3B 06 00 00 00 00 00 FF 0F 56 [00:25:38]process_action close_shift done [00:25:38]requested_data is exist [00:25:38]produce_requested_data [00:25:38]requested_item fd.num is exist - process it [00:25:38]SAM_PROTO_GetFieldsCounters [00:25:38]wFMCommunicate request_size=4 [00:25:38]MH_SAM_APDU [00:25:38]CAPDU: 80 13 00 00 [00:25:38]Write to MH i2c: E2 08 00 3C 06 80 13 00 00 00 00 00 00 BE [00:25:38]Write i2c OK [00:25:38]MH_I2C_Read... [00:25:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:38]Read from MH i2c: E2 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 62 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 62 00 3C 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [00:25: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:25:38]wFMCommunicate OK [00:25:38]SAM_PROTO_GetFieldsCounters done [00:25:38]requested_item shift.num is exist - process it [00:25:38]requested_item shift.opened is exist - process it [00:25:38]req_shift_opened [00:25:38]FM_GetShiftState [00:25:38]SAM_PROTO_GetShiftState [00:25:38]wFMCommunicate request_size=4 [00:25:38]MH_SAM_APDU [00:25:38]CAPDU: 80 13 01 00 [00:25:38]Write to MH i2c: E2 08 00 3D 06 80 13 01 00 00 00 00 00 C0 [00:25:38]OFD Sender: No OFD packet to send [00:25:38]Write i2c OK [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 [00:25:38]MH_I2C_Read... [00:25:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:38]Read from MH i2c: E2 0E 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 0E 00 3D 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CB [00:25:38]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:25:38]wFMCommunicate OK [00:25:38]SAM_PROTO_GetShiftState done [00:25:38]FM_GetShiftState done [00:25:38]req_shift_opened done [00:25:38]requested_item shift.open_date is exist - process it [00:25:38]req_shift_open_date [00:25:38]FM_GetShiftState [00:25:38]SAM_PROTO_GetShiftState [00:25:38]wFMCommunicate request_size=4 [00:25:38]MH_SAM_APDU [00:25:38]CAPDU: 80 13 01 00 [00:25:38]Write to MH i2c: E2 08 00 3E 06 80 13 01 00 00 00 00 00 C1 [00:25:38]Write i2c OK [00:25:38]MH_I2C_Read... [00:25:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:38]Read from MH i2c: E2 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 0E 00 [00:25:38]MH_I2C_Read... [00:25:38]Read from MH i2c: E2 0E 00 3E 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CC [00:25:38]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:25:39]wFMCommunicate OK [00:25:39]SAM_PROTO_GetShiftState done [00:25:39]FM_GetShiftState done [00:25:39]req_shift_open_date done [00:25:39]produce_requested_data done [00:25:39]produce_requested_data return {"fd.num":56838,"shift.num":494,"shift.opened":0,"shift.open_date":0} [00:25:39]process_action_free close_shift [00:25:39]json_value_free [00:25:39]json_value_free done [00:25:39]process_json_proto returns [00:25:39]Send response to host [00:25:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":56838,"shift.num":494,"shift.opened":0,"shift.open_date":0}}} [00:25:39]free response buf [00:25:39]execute_script done [00:25:39]execute_script returns [00:25:39]free content buf [00:25:39]Sock 9.Close socket [00:25:39]Sock 9.Thread stoped [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:53]accept exits with 8 [00:31:53]New connection [00:31:53]New thread 3067563364 created [00:31:53]Thread 3067420004 joined [00:31:53]Waiting for new connection... [00:31:53] Sock 8.Parse request [00:31:53]Sock 8.Check first char [00:31:53]Sock 8.First char is OK [00:31:53]request: POST /json_proto HTTP/1.0 [00:31:53]Method: POST [00:31:53]URL: /json_proto [00:31:53]Method is POST - this is cgi request [00:31:53]url: /json_proto [00:31:53]query_string will be loaded in cgi processing [00:31:53]execute_cgi json_proto POST (null) [00:31:53]execute_cgi path=json_proto method=POST [00:31:53]POST find Content-Length [00:31:53]Host: 172.17.39.4:8080 [00:31:53]Content-Length: 215 [00:31:53]Content-Type: application/json [00:31:53] [00:31:53]POST finish read [00:31:53]Found Content-Length = 215 [00:31:53]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:31:53]execute_script... [00:31:53]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:31:53]POST & json_proto [00:31:53]process_json_proto [00:31:53]json parsed OK: [00:31:53]protocol is kg_v1.0 [00:31:53]action value=get_value [00:31:53]process_action get_value [00:31:53]cmd_get_value [00:31:53]process_action get_value done [00:31:53]requested_data is exist [00:31:53]produce_requested_data [00:31:53]requested_item kkm.sn is exist - process it [00:31:53]requested_item kkm.ver is exist - process it [00:31:53]requested_item fm.sn is exist - process it [00:31:53]wFMCommunicate request_size=4 [00:31:53]MH_SAM_APDU [00:31:53]CAPDU: 80 11 00 00 [00:31:53]Write to MH i2c: E2 08 00 3F 06 80 11 00 00 00 00 00 00 BF [00:31:53]Write i2c OK [00:31:53]MH_I2C_Read... [00:31:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:53]Read from MH i2c: E2 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 17 00 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 17 00 3F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 19 [00:31:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:31:53]wFMCommunicate OK [00:31:53]requested_item fd.num is exist - process it [00:31:53]SAM_PROTO_GetFieldsCounters [00:31:53]wFMCommunicate request_size=4 [00:31:53]MH_SAM_APDU [00:31:53]CAPDU: 80 13 00 00 [00:31:53]Write to MH i2c: E2 08 00 40 06 80 13 00 00 00 00 00 00 C2 [00:31:53]Write i2c OK [00:31:53]MH_I2C_Read... [00:31:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:53]Read from MH i2c: E2 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 62 00 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 62 00 40 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [00:31: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DE 00 00 0E 04 04 00 EE 01 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:31:53]wFMCommunicate OK [00:31:53]SAM_PROTO_GetFieldsCounters done [00:31:53]requested_item shift.num is exist - process it [00:31:53]requested_item shift.opened is exist - process it [00:31:53]req_shift_opened [00:31:53]FM_GetShiftState [00:31:53]SAM_PROTO_GetShiftState [00:31:53]wFMCommunicate request_size=4 [00:31:53]MH_SAM_APDU [00:31:53]CAPDU: 80 13 01 00 [00:31:53]Write to MH i2c: E2 08 00 41 06 80 13 01 00 00 00 00 00 C4 [00:31:53]Write i2c OK [00:31:53]MH_I2C_Read... [00:31:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:53]Read from MH i2c: E2 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 0E 00 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 0E 00 41 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CF [00:31:53]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:53]wFMCommunicate OK [00:31:53]SAM_PROTO_GetShiftState done [00:31:53]FM_GetShiftState done [00:31:53]req_shift_opened done [00:31:53]requested_item shift.open_date is exist - process it [00:31:53]req_shift_open_date [00:31:53]FM_GetShiftState [00:31:53]SAM_PROTO_GetShiftState [00:31:53]wFMCommunicate request_size=4 [00:31:53]MH_SAM_APDU [00:31:53]CAPDU: 80 13 01 00 [00:31:53]Write to MH i2c: E2 08 00 42 06 80 13 01 00 00 00 00 00 C5 [00:31:53]Write i2c OK [00:31:53]MH_I2C_Read... [00:31:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:53]Read from MH i2c: E2 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 0E 00 [00:31:53]MH_I2C_Read... [00:31:53]Read from MH i2c: E2 0E 00 42 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D0 [00:31:53]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:53]wFMCommunicate OK [00:31:53]SAM_PROTO_GetShiftState done [00:31:53]FM_GetShiftState done [00:31:53]req_shift_open_date done [00:31:53]produce_requested_data done [00:31:53]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56838,"shift.num":494,"shift.opened":0,"shift.open_date":0} [00:31:53]process_action_free get_value [00:31:53]json_value_free [00:31:53]json_value_free done [00:31:53]process_json_proto returns [00:31:53]Send response to host [00:31:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56838,"shift.num":494,"shift.opened":0,"shift.open_date":0}}} [00:31:53]free response buf [00:31:53]execute_script done [00:31:53]execute_script returns [00:31:53]free content buf [00:31:53]Sock 8.Close socket [00:31:53]Sock 8.Thread stoped [00:31:53]accept exits with 9 [00:31:53]New connection [00:31:53]New thread 3067420004 created [00:31:53]Thread 3067563364 joined [00:31:53]Waiting for new connection... [00:31:53] Sock 9.Parse request [00:31:53]Sock 9.Check first char [00:31:53]Sock 9.First char is OK [00:31:53]request: POST /json_proto HTTP/1.0 [00:31:53]Method: POST [00:31:53]URL: /json_proto [00:31:53]Method is POST - this is cgi request [00:31:53]url: /json_proto [00:31:53]query_string will be loaded in cgi processing [00:31:53]execute_cgi json_proto POST (null) [00:31:53]execute_cgi path=json_proto method=POST [00:31:53]POST find Content-Length [00:31:53]Host: 172.17.39.4:8080 [00:31:53]Content-Length: 331 [00:31:53]Content-Type: application/json [00:31:53] [00:31:53]POST finish read [00:31:53]Found Content-Length = 331 [00:31:53]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:31:53]execute_script... [00:31:54]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:31:54]POST & json_proto [00:31:54]process_json_proto [00:31:54]json parsed OK: [00:31:54]protocol is kg_v1.0 [00:31:54]action value=get_value [00:31:54]process_action get_value [00:31:54]cmd_get_value [00:31:54]process_action get_value done [00:31:54]requested_data is exist [00:31:54]produce_requested_data [00:31:54]requested_item fm.sale.total is exist - process it [00:31:54]SAM_PROTO_GetFMData [00:31:54]wFMCommunicate request_size=4 [00:31:54]MH_SAM_APDU [00:31:54]CAPDU: 80 13 03 00 [00:31:54]Write to MH i2c: E2 08 00 43 06 80 13 03 00 00 00 00 00 C8 [00:31:54]Write i2c OK [00:31:54]MH_I2C_Read... [00:31:54]OFD Sender: No OFD packet to send [00:31:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:31:54]Read from MH i2c: E2 [00:31:54]MH_I2C_Read... [00:31:54]Read from MH i2c: E2 FD 00 [00:31:54]MH_I2C_Read... [00:31:54]Read from MH i2c: E2 FD 00 43 06 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 E5 [00:31:54]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:31:54]wFMCommunicate OK [00:31:54]wFMCommunicate request_size=4 [00:31:54]MH_SAM_APDU [00:31:54]CAPDU: 80 17 00 00 [00:31:54]Write to MH i2c: E2 08 00 44 06 80 17 00 00 00 00 00 00 CA [00:31:54]Write i2c OK [00:31:54]MH_I2C_Read... [00:31:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:54]Read from MH i2c: E2 [00:31:54]MH_I2C_Read... [00:31:54]Read from MH i2c: E2 FD 00 [00:31:54]MH_I2C_Read... [00:31:54]Read from MH i2c: E2 FD 00 44 06 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [00:31:54]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:54]wFMCommunicate OK [00:31:54]wFMCommunicate request_size=4 [00:31:54]MH_SAM_APDU [00:31:54]CAPDU: 80 17 00 00 [00:31:54]Write to MH i2c: E2 08 00 45 06 80 17 00 00 00 00 00 00 CB [00:31:54]Write i2c OK [00:31:54]MH_I2C_Read... [00:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:55]Read from MH i2c: E2 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 FD 00 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 FD 00 45 06 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [00:31:55]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:55]wFMCommunicate OK [00:31:55]wFMCommunicate request_size=4 [00:31:55]MH_SAM_APDU [00:31:55]CAPDU: 80 17 00 00 [00:31:55]Write to MH i2c: E2 08 00 46 06 80 17 00 00 00 00 00 00 CC [00:31:55]Write i2c OK [00:31:55]MH_I2C_Read... [00:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:55]Read from MH i2c: E2 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 FD 00 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 FD 00 46 06 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 44 [00:31:55]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:55]wFMCommunicate OK [00:31:55]wFMCommunicate request_size=4 [00:31:55]MH_SAM_APDU [00:31:55]CAPDU: 80 17 00 00 [00:31:55]Write to MH i2c: E2 08 00 47 06 80 17 00 00 00 00 00 00 CD [00:31:55]Write i2c OK [00:31:55]MH_I2C_Read... [00:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:31:55]Read from MH i2c: E2 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 E1 00 [00:31:55]MH_I2C_Read... [00:31:55]Read from MH i2c: E2 E1 00 47 06 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB [00:31:55]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:31:55]wFMCommunicate OK [00:31:55]SAM_PROTO_GetFMData done [00:31:55]requested_item fm.sale_refund.total is exist - process it [00:31:55]requested_item fm.buy.total is exist - process it [00:31:55]requested_item shift.sale.total is exist - process it [00:31:55]SAM_PROTO_GetShiftData [00:31:55]wFMCommunicate request_size=4 [00:31:55]MH_SAM_APDU [00:31:55]CAPDU: 80 13 02 00 [00:31:55]Write to MH i2c: E2 08 00 48 06 80 13 02 00 00 00 00 00 CC [00:31:55]Write i2c OK [00:31:55]MH_I2C_Read... [00:31:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:31:56]Read from MH i2c: E2 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 48 06 00 B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E2 [00:31:56]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 98 F7 28 70 04 03 00 20 8E 1F 72 04 03 00 78 69 09 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 D8 59 04 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 C8 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 40 83 70 04 02 00 40 83 72 04 00 00 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 F5 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:31:56]wFMCommunicate OK [00:31:56]wFMCommunicate request_size=4 [00:31:56]MH_SAM_APDU [00:31:56]CAPDU: 80 17 00 00 [00:31:56]Write to MH i2c: E2 08 00 49 06 80 17 00 00 00 00 00 00 CF [00:31:56]Write i2c OK [00:31:56]MH_I2C_Read... [00:31:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:56]Read from MH i2c: E2 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 49 06 00 F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:31:56]RAPDU: F6 03 01 00 01 F7 03 02 00 2A 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:56]wFMCommunicate OK [00:31:56]wFMCommunicate request_size=4 [00:31:56]MH_SAM_APDU [00:31:56]CAPDU: 80 17 00 00 [00:31:56]Write to MH i2c: E2 08 00 4A 06 80 17 00 00 00 00 00 00 D0 [00:31:56]Write i2c OK [00:31:56]MH_I2C_Read... [00:31:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:56]Read from MH i2c: E2 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 4A 06 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 90 [00:31:56]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:56]wFMCommunicate OK [00:31:56]wFMCommunicate request_size=4 [00:31:56]MH_SAM_APDU [00:31:56]CAPDU: 80 17 00 00 [00:31:56]Write to MH i2c: E2 08 00 4B 06 80 17 00 00 00 00 00 00 D1 [00:31:56]Write i2c OK [00:31:56]MH_I2C_Read... [00:31:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:56]Read from MH i2c: E2 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 [00:31:56]MH_I2C_Read... [00:31:56]Read from MH i2c: E2 FD 00 4B 06 00 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 90 00 40 [00:31:56]RAPDU: 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 90 00 [00:31:56]wFMCommunicate OK [00:31:56]wFMCommunicate request_size=4 [00:31:56]MH_SAM_APDU [00:31:56]CAPDU: 80 17 00 00 [00:31:56]Write to MH i2c: E2 08 00 4C 06 80 17 00 00 00 00 00 00 D2 [00:31:56]Write i2c OK [00:31:56]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 D3 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 D3 00 4C 06 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BF [00:31:57]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:31:57]wFMCommunicate OK [00:31:57]SAM_PROTO_GetShiftData done [00:31:57]requested_item shift.sale.total_cash is exist - process it [00:31:57]requested_item shift.sale_refund.total is exist - process it [00:31:57]requested_item shift.sale_refund.total_cash is exist - process it [00:31:57]requested_item shift.buy.total is exist - process it [00:31:57]requested_item shift.buy.total_cash is exist - process it [00:31:57]produce_requested_data done [00:31:57]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:31:57]process_action_free get_value [00:31:57]json_value_free [00:31:57]json_value_free done [00:31:57]process_json_proto returns [00:31:57]Send response to host [00:31:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.00,"fm.buy.total":0.00,"shift.sale.total":26848.24,"shift.sale.total_cash":20680.00,"shift.sale_refund.total":336.00,"shift.sale_refund.total_cash":336.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:31:57]free response buf [00:31:57]execute_script done [00:31:57]execute_script returns [00:31:57]free content buf [00:31:57]Sock 9.Close socket [00:31:57]Sock 9.Thread stoped [00:31:57]accept exits with 8 [00:31:57]New connection [00:31:57]New thread 3067563364 created [00:31:57]Thread 3067420004 joined [00:31:57]Waiting for new connection... [00:31:57] Sock 8.Parse request [00:31:57]Sock 8.Check first char [00:31:57]Sock 8.First char is OK [00:31:57]request: POST /json_proto HTTP/1.0 [00:31:57]Method: POST [00:31:57]URL: /json_proto [00:31:57]Method is POST - this is cgi request [00:31:57]url: /json_proto [00:31:57]query_string will be loaded in cgi processing [00:31:57]execute_cgi json_proto POST (null) [00:31:57]execute_cgi path=json_proto method=POST [00:31:57]POST find Content-Length [00:31:57]Host: 172.17.39.4:8080 [00:31:57]Content-Length: 271 [00:31:57]Content-Type: application/json [00:31:57] [00:31:57]POST finish read [00:31:57]Found Content-Length = 271 [00:31:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0441\u0442\u0435\u0431\u0435\u0441\u043E\u0432\u0430 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:57]execute_script... [00:31:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0441\u0442\u0435\u0431\u0435\u0441\u043E\u0432\u0430 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:57]POST & json_proto [00:31:57]process_json_proto [00:31:57]json parsed OK: [00:31:57]protocol is kg_v1.0 [00:31:57]action value=open_shift [00:31:57]process_action open_shift [00:31:57]cmd_open_shift [00:31:57]MH_GetDate [00:31:57]Write to MH i2c: F0 00 00 4D 06 42 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 09 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 09 00 4D 06 00 FE CA 91 66 2D 25 5D 64 1D [00:31:57]GetLastDocTimeStamp 1720830324 [00:31:57]current date 1720830718 [00:31:57]FM_GetShiftState [00:31:57]SAM_PROTO_GetShiftState [00:31:57]wFMCommunicate request_size=4 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 13 01 00 [00:31:57]Write to MH i2c: E2 08 00 4E 06 80 13 01 00 00 00 00 00 D1 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 0E 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 0E 00 4E 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DC [00:31:57]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:57]wFMCommunicate OK [00:31:57]SAM_PROTO_GetShiftState done [00:31:57]FM_GetShiftState done [00:31:57]KKMCreateOpenShiftDocument [00:31:57]Load OK [00:31:57]Malloc new data [00:31:57]MH_GetDate [00:31:57]Write to MH i2c: F0 00 00 4F 06 44 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 09 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: F0 09 00 4F 06 00 FE CA 91 66 2D 25 5D 64 1F [00:31:57]Malloc new data [00:31:57]KKMCreateOpenShiftDocument OK [00:31:57]KKMSetOpenShiftData OK [00:31:57]ProcessDocumentItem done err = 0, tmpTLVsize=203 [00:31:57]tlvbuf is 0132D050 [00:31:57]KKMLoadAndSignOpenShiftData [00:31:57]SAM_PROTO_ProcessDocument [00:31:57]wFMCommunicate request_size=9 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 01 00 04 02 00 CB 00 [00:31:57]Write to MH i2c: E2 0C 00 50 06 80 15 01 00 04 00 02 00 CB 00 00 00 AA [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 50 06 00 90 00 CA [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=23 [00:31:57]MH_SAM_APDU [00:31:57]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:31:57]Write to MH i2c: E2 1A 00 51 06 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 CC [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 51 06 00 90 00 CB [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=34 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 [00:31:57]Write to MH i2c: E2 25 00 52 06 80 15 02 00 1D 00 FD 03 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 00 00 98 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 52 06 00 90 00 CC [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=87 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 02 00 52 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 [00:31:57]Write to MH i2c: E2 5A 00 53 06 80 15 02 00 52 00 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 00 00 7F [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 53 06 00 90 00 CD [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=51 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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:31:57]Write to MH i2c: E2 36 00 54 06 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 82 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 54 06 00 90 00 CE [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=13 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 02 00 08 F4 03 04 00 FE CA 91 66 [00:31:57]Write to MH i2c: E2 10 00 55 06 80 15 02 00 08 00 F4 03 04 00 FE CA 91 66 00 00 A5 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:57]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:57]Read from MH i2c: E2 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 [00:31:57]MH_I2C_Read... [00:31:57]Read from MH i2c: E2 03 00 55 06 00 90 00 CF [00:31:57]RAPDU: 90 00 [00:31:57]wFMCommunicate OK [00:31:57]wFMCommunicate request_size=25 [00:31:57]MH_SAM_APDU [00:31:57]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [00:31:57]Write to MH i2c: E2 1C 00 56 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 39 [00:31:57]Write i2c OK [00:31:57]MH_I2C_Read... [00:31:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:58]Read from MH i2c: E2 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 56 06 00 90 00 D0 [00:31:58]RAPDU: 90 00 [00:31:58]wFMCommunicate OK [00:31:58]wFMCommunicate request_size=4 [00:31:58]MH_SAM_APDU [00:31:58]CAPDU: 80 15 03 00 [00:31:58]Write to MH i2c: E2 08 00 57 06 80 15 03 00 00 00 00 00 DE [00:31:58]Write i2c OK [00:31:58]MH_I2C_Read... [00:31:58]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:31:58]Read from MH i2c: E2 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 38 00 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 38 00 57 06 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 38 35 37 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 01 00 00 35 04 06 00 82 A9 FB E4 31 00 90 00 C1 [00:31:58]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 38 35 37 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 01 00 00 35 04 06 00 82 A9 FB E4 31 00 90 00 [00:31:58]wFMCommunicate OK [00:31:58]SAM_PROTO_ProcessDocument answer len = 51 [00:31:58]SAM_PROTO_ProcessDocument done [00:31:58]SetTLVBufToDocument [00:31:58]Processing tag 1209 (04B9) [00:31:58]Malloc new data [00:31:58]Processing tag 1041 (0411) [00:31:58]Processing tag 1040 (0410) [00:31:58]Malloc new data [00:31:58]Processing tag 1038 (040E) [00:31:58]Malloc new data [00:31:58]Processing tag 1077 (0435) [00:31:58]Malloc new data [00:31:58]SetTLVBufToDocument err=0 [00:31:58]KKMLoadAndSignOpenShiftData store KKM data [00:31:58]KKMLoadAndSignOpenShiftData err=0 [00:31:58]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эстебесова Р. Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 Место: АЗС № 132 "Партнер Нефть" 13.07.2024 00:31 Смена: 495 РНМ: 0000000000091208 ЗНМ: 0300000132 ФД: 56839 ФМ: 0000000000874857 ФПД: 143666587119872 [00:31:58]StoreToDocumentArchive [00:31:58]shift 495 fd 56839 [00:31:58]Create dir for shift 0495 [00:31:58]save to /storage/0495/doc_00056839 [00:31:58]save last doc name /storage/0495/doc_00056839 to /storage/kkm_last_doc_name [00:31:58]save OK [00:31:58]Clear old archive folders... [00:31:58]Remove dir /storage/0494 [00:31:58]opendir ok [00:31:58]file . [00:31:58]file .. [00:31:58]file doc_00056732 [00:31:58]remove file /storage/0494/doc_00056732 [00:31:58]file doc_00056733 [00:31:58]remove file /storage/0494/doc_00056733 [00:31:58]file doc_00056734 [00:31:58]remove file /storage/0494/doc_00056734 [00:31:58]file doc_00056735 [00:31:58]remove file /storage/0494/doc_00056735 [00:31:58]file doc_00056736 [00:31:58]remove file /storage/0494/doc_00056736 [00:31:58]file doc_00056737 [00:31:58]remove file /storage/0494/doc_00056737 [00:31:58]file doc_00056738 [00:31:58]remove file /storage/0494/doc_00056738 [00:31:58]file doc_00056739 [00:31:58]remove file /storage/0494/doc_00056739 [00:31:58]file doc_00056740 [00:31:58]remove file /storage/0494/doc_00056740 [00:31:58]file doc_00056741 [00:31:58]remove file /storage/0494/doc_00056741 [00:31:58]file doc_00056742 [00:31:58]remove file /storage/0494/doc_00056742 [00:31:58]file doc_00056743 [00:31:58]remove file /storage/0494/doc_00056743 [00:31:58]file doc_00056744 [00:31:58]remove file /storage/0494/doc_00056744 [00:31:58]file doc_00056745 [00:31:58]remove file /storage/0494/doc_00056745 [00:31:58]file doc_00056746 [00:31:58]remove file /storage/0494/doc_00056746 [00:31:58]file doc_00056747 [00:31:58]remove file /storage/0494/doc_00056747 [00:31:58]file doc_00056748 [00:31:58]remove file /storage/0494/doc_00056748 [00:31:58]file doc_00056749 [00:31:58]remove file /storage/0494/doc_00056749 [00:31:58]file doc_00056750 [00:31:58]remove file /storage/0494/doc_00056750 [00:31:58]file doc_00056751 [00:31:58]remove file /storage/0494/doc_00056751 [00:31:58]file doc_00056752 [00:31:58]remove file /storage/0494/doc_00056752 [00:31:58]file doc_00056753 [00:31:58]remove file /storage/0494/doc_00056753 [00:31:58]file doc_00056754 [00:31:58]remove file /storage/0494/doc_00056754 [00:31:58]file doc_00056755 [00:31:58]remove file /storage/0494/doc_00056755 [00:31:58]file doc_00056756 [00:31:58]remove file /storage/0494/doc_00056756 [00:31:58]file doc_00056757 [00:31:58]remove file /storage/0494/doc_00056757 [00:31:58]file doc_00056758 [00:31:58]remove file /storage/0494/doc_00056758 [00:31:58]file doc_00056759 [00:31:58]remove file /storage/0494/doc_00056759 [00:31:58]file doc_00056760 [00:31:58]remove file /storage/0494/doc_00056760 [00:31:58]file doc_00056761 [00:31:58]remove file /storage/0494/doc_00056761 [00:31:58]file doc_00056762 [00:31:58]remove file /storage/0494/doc_00056762 [00:31:58]file doc_00056763 [00:31:58]remove file /storage/0494/doc_00056763 [00:31:58]file doc_00056764 [00:31:58]remove file /storage/0494/doc_00056764 [00:31:58]file doc_00056765 [00:31:58]remove file /storage/0494/doc_00056765 [00:31:58]file doc_00056766 [00:31:58]remove file /storage/0494/doc_00056766 [00:31:58]file doc_00056767 [00:31:58]remove file /storage/0494/doc_00056767 [00:31:58]file doc_00056768 [00:31:58]remove file /storage/0494/doc_00056768 [00:31:58]file doc_00056769 [00:31:58]remove file /storage/0494/doc_00056769 [00:31:58]file doc_00056770 [00:31:58]remove file /storage/0494/doc_00056770 [00:31:58]file doc_00056771 [00:31:58]remove file /storage/0494/doc_00056771 [00:31:58]file doc_00056772 [00:31:58]remove file /storage/0494/doc_00056772 [00:31:58]file doc_00056773 [00:31:58]remove file /storage/0494/doc_00056773 [00:31:58]file doc_00056774 [00:31:58]remove file /storage/0494/doc_00056774 [00:31:58]file doc_00056775 [00:31:58]remove file /storage/0494/doc_00056775 [00:31:58]file doc_00056776 [00:31:58]remove file /storage/0494/doc_00056776 [00:31:58]file doc_00056777 [00:31:58]remove file /storage/0494/doc_00056777 [00:31:58]file doc_00056778 [00:31:58]remove file /storage/0494/doc_00056778 [00:31:58]file doc_00056779 [00:31:58]remove file /storage/0494/doc_00056779 [00:31:58]file doc_00056780 [00:31:58]remove file /storage/0494/doc_00056780 [00:31:58]file doc_00056781 [00:31:58]remove file /storage/0494/doc_00056781 [00:31:58]file doc_00056782 [00:31:58]remove file /storage/0494/doc_00056782 [00:31:58]file doc_00056783 [00:31:58]remove file /storage/0494/doc_00056783 [00:31:58]file doc_00056784 [00:31:58]remove file /storage/0494/doc_00056784 [00:31:58]file doc_00056785 [00:31:58]remove file /storage/0494/doc_00056785 [00:31:58]file doc_00056786 [00:31:58]remove file /storage/0494/doc_00056786 [00:31:58]file doc_00056787 [00:31:58]remove file /storage/0494/doc_00056787 [00:31:58]file doc_00056788 [00:31:58]remove file /storage/0494/doc_00056788 [00:31:58]file doc_00056789 [00:31:58]remove file /storage/0494/doc_00056789 [00:31:58]file doc_00056790 [00:31:58]remove file /storage/0494/doc_00056790 [00:31:58]file doc_00056791 [00:31:58]remove file /storage/0494/doc_00056791 [00:31:58]file doc_00056792 [00:31:58]remove file /storage/0494/doc_00056792 [00:31:58]file doc_00056793 [00:31:58]remove file /storage/0494/doc_00056793 [00:31:58]file doc_00056794 [00:31:58]remove file /storage/0494/doc_00056794 [00:31:58]file doc_00056795 [00:31:58]remove file /storage/0494/doc_00056795 [00:31:58]file doc_00056796 [00:31:58]remove file /storage/0494/doc_00056796 [00:31:58]file doc_00056797 [00:31:58]remove file /storage/0494/doc_00056797 [00:31:58]file doc_00056798 [00:31:58]remove file /storage/0494/doc_00056798 [00:31:58]file doc_00056799 [00:31:58]remove file /storage/0494/doc_00056799 [00:31:58]file doc_00056800 [00:31:58]remove file /storage/0494/doc_00056800 [00:31:58]file doc_00056801 [00:31:58]remove file /storage/0494/doc_00056801 [00:31:58]file doc_00056802 [00:31:58]remove file /storage/0494/doc_00056802 [00:31:58]file doc_00056803 [00:31:58]remove file /storage/0494/doc_00056803 [00:31:58]file doc_00056804 [00:31:58]remove file /storage/0494/doc_00056804 [00:31:58]file doc_00056805 [00:31:58]remove file /storage/0494/doc_00056805 [00:31:58]file doc_00056806 [00:31:58]remove file /storage/0494/doc_00056806 [00:31:58]file doc_00056807 [00:31:58]remove file /storage/0494/doc_00056807 [00:31:58]file doc_00056808 [00:31:58]remove file /storage/0494/doc_00056808 [00:31:58]file doc_00056809 [00:31:58]remove file /storage/0494/doc_00056809 [00:31:58]file doc_00056810 [00:31:58]remove file /storage/0494/doc_00056810 [00:31:58]file doc_00056811 [00:31:58]remove file /storage/0494/doc_00056811 [00:31:58]file doc_00056812 [00:31:58]remove file /storage/0494/doc_00056812 [00:31:58]file doc_00056813 [00:31:58]remove file /storage/0494/doc_00056813 [00:31:58]file doc_00056814 [00:31:58]remove file /storage/0494/doc_00056814 [00:31:58]file doc_00056815 [00:31:58]remove file /storage/0494/doc_00056815 [00:31:58]file doc_00056816 [00:31:58]remove file /storage/0494/doc_00056816 [00:31:58]file doc_00056817 [00:31:58]remove file /storage/0494/doc_00056817 [00:31:58]file doc_00056818 [00:31:58]remove file /storage/0494/doc_00056818 [00:31:58]file doc_00056819 [00:31:58]remove file /storage/0494/doc_00056819 [00:31:58]file doc_00056820 [00:31:58]remove file /storage/0494/doc_00056820 [00:31:58]file doc_00056821 [00:31:58]remove file /storage/0494/doc_00056821 [00:31:58]file doc_00056822 [00:31:58]remove file /storage/0494/doc_00056822 [00:31:58]file doc_00056823 [00:31:58]remove file /storage/0494/doc_00056823 [00:31:58]file doc_00056824 [00:31:58]remove file /storage/0494/doc_00056824 [00:31:58]file doc_00056825 [00:31:58]remove file /storage/0494/doc_00056825 [00:31:58]file doc_00056826 [00:31:58]remove file /storage/0494/doc_00056826 [00:31:58]file doc_00056827 [00:31:58]remove file /storage/0494/doc_00056827 [00:31:58]file doc_00056828 [00:31:58]remove file /storage/0494/doc_00056828 [00:31:58]file doc_00056829 [00:31:58]remove file /storage/0494/doc_00056829 [00:31:58]file doc_00056830 [00:31:58]remove file /storage/0494/doc_00056830 [00:31:58]file doc_00056831 [00:31:58]remove file /storage/0494/doc_00056831 [00:31:58]file doc_00056832 [00:31:58]remove file /storage/0494/doc_00056832 [00:31:58]file doc_00056833 [00:31:58]remove file /storage/0494/doc_00056833 [00:31:58]file doc_00056834 [00:31:58]remove file /storage/0494/doc_00056834 [00:31:58]file doc_00056835 [00:31:58]remove file /storage/0494/doc_00056835 [00:31:58]file doc_00056836 [00:31:58]remove file /storage/0494/doc_00056836 [00:31:58]file doc_00056837 [00:31:58]remove file /storage/0494/doc_00056837 [00:31:58]file doc_00056838 [00:31:58]remove file /storage/0494/doc_00056838 [00:31:58]remove dir /storage/0494 [00:31:58]ProcessDocumentItem done err = 0, tmpTLVsize=254 [00:31:58]tlvbuf is 01331AD0 [00:31:58]SAM_PROTO_ClearQueue [00:31:58]wFMCommunicate request_size=4 [00:31:58]MH_SAM_APDU [00:31:58]CAPDU: 80 09 00 00 [00:31:58]Write to MH i2c: E2 08 00 58 06 80 09 00 00 00 00 00 00 D0 [00:31:58]Write i2c OK [00:31:58]MH_I2C_Read... [00:31:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:31:58]Read from MH i2c: E2 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 58 06 00 90 00 D2 [00:31:58]RAPDU: 90 00 [00:31:58]wFMCommunicate OK [00:31:58]SAM_PROTO_ClearQueue done [00:31:58]KKMCreateOFDPacket [00:31:58]OFDProtocolAddRootSTLVToBuf [00:31:58]FM_MakeSignedData [00:31:58]FM_MakeSignedData [00:31:58]SAM_PROTO_SignData [00:31:58]wFMCommunicate request_size=4 [00:31:58]MH_SAM_APDU [00:31:58]CAPDU: 80 0D 01 02 [00:31:58]Write to MH i2c: E2 08 00 59 06 80 0D 01 02 00 00 00 00 D8 [00:31:58]Write i2c OK [00:31:58]MH_I2C_Read... [00:31:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:31:58]Read from MH i2c: E2 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 [00:31:58]MH_I2C_Read... [00:31:58]Read from MH i2c: E2 03 00 59 06 00 90 00 D3 [00:31:58]RAPDU: 90 00 [00:31:58]wFMCommunicate OK [00:31:58]wFMCommunicate request_size=255 [00:31:58]MH_SAM_APDU [00:31:58]CAPDU: 80 0D 02 02 FA 02 00 FE 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 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 FE CA 91 66 0E 04 04 00 EF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 [00:31:59]Write to MH i2c: E2 02 01 5A 06 80 0D 02 02 FA 00 02 00 FE 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 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 FE CA 91 66 0E 04 04 00 EF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 00 00 AA [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]OFD Sender: No OFD packet to send [00:31:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 03 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 03 00 5A 06 00 90 00 D4 [00:31:59]RAPDU: 90 00 [00:31:59]wFMCommunicate OK [00:31:59]wFMCommunicate request_size=13 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 0D 02 02 08 06 00 82 A9 FB E4 31 00 [00:31:59]Write to MH i2c: E2 10 00 5B 06 80 0D 02 02 08 00 06 00 82 A9 FB E4 31 00 00 00 2C [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 03 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 03 00 5B 06 00 90 00 D5 [00:31:59]RAPDU: 90 00 [00:31:59]wFMCommunicate OK [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 0D 03 02 [00:31:59]Write to MH i2c: E2 08 00 5C 06 80 0D 03 02 00 00 00 00 DD [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 0B 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 0B 00 5C 06 00 5F 13 F5 58 23 C6 CF FF 90 00 54 [00:31:59]RAPDU: 5F 13 F5 58 23 C6 CF FF 90 00 [00:31:59]wFMCommunicate OK [00:31:59]SAM_PROTO_SignData done [00:31:59]FM_MakeSignedData done [00:31:59]CreateOFDProtocolMessage [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 11 00 00 [00:31:59]Write to MH i2c: E2 08 00 5D 06 80 11 00 00 00 00 00 00 DD [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 17 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 17 00 5D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 37 [00:31:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:31:59]wFMCommunicate OK [00:31:59]CreateOFDProtocolMessage done [00:31:59]OFDSenderStorePacket 56839 [00:31:59]StoreOFDPacket docnum=56839 [00:31:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 12 01 00 00 DA 53 0A 01 66 52 5A 02 01 00 02 00 FE 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 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 FE CA 91 66 0E 04 04 00 EF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 82 A9 FB E4 31 00 5F 13 F5 58 23 C6 CF FF [00:31:59]CheckFolder [00:31:59]dirname=/storage/ofd_packets [00:31:59]CheckFolder done [00:31:59]ProducePacketName [00:31:59]name=ofd_packets/00056839 [00:31:59]NVStorageSaveData ofd_packets/00056839 [00:31:59]File name is /storage/ofd_packets/00056839 [00:31:59]Write 304 bytes [00:31:59]NVStorageSaveData done [00:31:59]OFDSenderStorePacket done [00:31:59]KKMCreateOFDPacket done [00:31:59]NVStorageSaveData kkm_last_timestamp [00:31:59]File name is /storage/kkm_last_timestamp [00:31:59]Write 4 bytes [00:31:59]NVStorageSaveData done [00:31:59]ExternCall_PrintAddStr [00:31:59]wPrintStart [00:31:59]Write to MH i2c: 01 00 00 5E 06 64 [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 07 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 FF 0F 79 [00:31:59]RasterBufferAndPrint [00:31:59]line Отчет об открытии смены [00:31:59]line ФФД: 1.0 [00:31:59]line ИНН: 02508201610067 [00:31:59]line Кассир: Эстебесова Р. [00:31:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:31:59]line Место: АЗС № 132 "Партнер Нефть" [00:31:59]line 13.07.2024 00:31 [00:31:59]line Смена: 495 [00:31:59]line РНМ: 0000000000091208 [00:31:59]line ЗНМ: 0300000132 [00:31:59]line ФД: 56839 [00:31:59]line ФМ: 0000000000874857 [00:31:59]line ФПД: 143666587119872 [00:31:59]written 0, free lines is 4095 [00:31:59]OFD Sender: Processing packet 56839 [packets to send 38, broken 37] [00:31:59]ProducePacketName [00:31:59]name=ofd_packets/00056839 [00:31:59]OFD Sender: To server: pG, [00:31:59]CommunicateWithHost lk.salyk.kg:30040 [00:31:59]ConnectInit lk.salyk.kg [00:31:59]Connected sock=10 [00:31: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 38 35 37 12 01 00 00 DA 53 0A 01 66 52 5A 02 01 00 02 00 FE 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 19 00 D0 AD D1 81 D1 82 D0 B5 D0 B1 D0 B5 D1 81 D0 BE D0 B2 D0 B0 20 D0 A0 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 FE CA 91 66 0E 04 04 00 EF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 82 A9 FB E4 31 00 5F 13 F5 Write to MH i2c: 58 01 23 00 C6 00 CF 70 FF 06 [00:31:59]76 [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 07 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: 01 07 00 70 06 00 00 00 00 00 59 0E E4 [00:31:59]RasterBufferAndPrint [00:31:59]line [00:31:59]line [00:31:59]line [00:31:59]line [00:31:59]line [00:31:59]written 0, free lines is 3687 [00:31:59]MH_Cut [00:31:59]Write to MH i2c: D1 01 00 77 06 01 4F [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: D1 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: D1 01 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: D1 01 00 77 06 00 4E [00:31:59]Write to MH i2c: 01 00 00 78 06 7E [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3F 4F 47 00 D8 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 38 35 37 10 04 04 00 07 DE 00 00 F4 03 04 00 54 71 91 66 B6 04 01 00 00 82 5D 02 95 C2 6F 6D D7 [00:32:00]CommunicateWithHost err = 0 [00:32:00]CheckOFDResponse [00:32:00]1017 (14) - 77093643461234 [00:32:00]1041 (16) - 0000000000874857 [00:32:00]1040 (4) - 56839 [00:32:00]1012 (4) - 12.07.2024 18:09 [00:32:00]1206 (1) - 0 [00:32:00]OFD Sender: Remove packet 56839 [00:32:00]ProducePacketName [00:32:00]name=ofd_packets/00056839 [00:32:00]NVStorageDeleteData [00:32:00]*** Cut start [00:32:00]*** Partial cut [00:32:00]*** CUTSNS_PIN = 1 [00:32:00]*** CUTSNS_PIN = 0 [00:32:00]OFD Sender: No OFD packet to send [00:32:00]*** Brake cut motor [00:32:00]Read from MH i2c: 01 [00:32:00]MH_I2C_Read... [00:32:00]*** Stop cut motor [00:32:00]*** Cut end [00:32:00]Read from MH i2c: 01 07 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: 01 07 00 78 06 00 00 00 00 00 FF 0F 93 [00:32:00]process_action open_shift done [00:32:00]requested_data is exist [00:32:00]produce_requested_data [00:32:00]requested_item fd.num is exist - process it [00:32:00]SAM_PROTO_GetFieldsCounters [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 13 00 00 [00:32:00]Write to MH i2c: E2 08 00 79 06 80 13 00 00 00 00 00 00 FB [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 62 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 62 00 79 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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 F3 [00:32: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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:32:01]wFMCommunicate OK [00:32:01]SAM_PROTO_GetFieldsCounters done [00:32:01]requested_item shift.num is exist - process it [00:32:01]requested_item shift.opened is exist - process it [00:32:01]req_shift_opened [00:32:01]FM_GetShiftState [00:32:01]SAM_PROTO_GetShiftState [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 13 01 00 [00:32:01]Write to MH i2c: E2 08 00 7A 06 80 13 01 00 00 00 00 00 FD [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 0E 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 0E 00 7A 06 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 C8 [00:32:01]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:32:01]wFMCommunicate OK [00:32:01]SAM_PROTO_GetShiftState done [00:32:01]FM_GetShiftState done [00:32:01]req_shift_opened done [00:32:01]requested_item shift.open_date is exist - process it [00:32:01]req_shift_open_date [00:32:01]req_shift_open_date done [00:32:01]produce_requested_data done [00:32:01]produce_requested_data return {"fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718} [00:32:01]process_action_free open_shift [00:32:01]json_value_free [00:32:01]json_value_free done [00:32:01]process_json_proto returns [00:32:01]Send response to host [00:32:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718}}} [00:32:01]free response buf [00:32:01]execute_script done [00:32:01]execute_script returns [00:32:01]free content buf [00:32:01]Sock 8.Close socket [00:32:01]Sock 8.Thread stoped [00:32:01]accept exits with 9 [00:32:01]New connection [00:32:01]New thread 3067420004 created [00:32:01]Thread 3067563364 joined [00:32:01]Waiting for new connection... [00:32:01] Sock 9.Parse request [00:32:01]Sock 9.Check first char [00:32:01]Sock 9.First char is OK [00:32:01]request: POST /json_proto HTTP/1.0 [00:32:01]Method: POST [00:32:01]URL: /json_proto [00:32:01]Method is POST - this is cgi request [00:32:01]url: /json_proto [00:32:01]query_string will be loaded in cgi processing [00:32:01]execute_cgi json_proto POST (null) [00:32:01]execute_cgi path=json_proto method=POST [00:32:01]POST find Content-Length [00:32:01]Host: 172.17.39.4:8080 [00:32:01]Content-Length: 331 [00:32:01]Content-Type: application/json [00:32:01] [00:32:01]POST finish read [00:32:01]Found Content-Length = 331 [00:32:01]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:32:01]execute_script... [00:32:01]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:32:01]POST & json_proto [00:32:01]process_json_proto [00:32:01]json parsed OK: [00:32:01]protocol is kg_v1.0 [00:32:01]action value=get_value [00:32:01]process_action get_value [00:32:01]cmd_get_value [00:32:01]process_action get_value done [00:32:01]requested_data is exist [00:32:01]produce_requested_data [00:32:01]requested_item fm.sale.total is exist - process it [00:32:01]SAM_PROTO_GetFMData [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 13 03 00 [00:32:01]Write to MH i2c: E2 08 00 7B 06 80 13 03 00 00 00 00 00 00 [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 7B 06 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 1D [00:32:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:32:01]wFMCommunicate OK [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 17 00 00 [00:32:01]Write to MH i2c: E2 08 00 7C 06 80 17 00 00 00 00 00 00 02 [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 7C 06 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [00:32:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 7D 06 80 17 00 00 00 00 00 00 03 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 7D 06 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [00:32:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 7E 06 80 17 00 00 00 00 00 00 04 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 7E 06 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [00:32:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:03]wFMCommunicate OK [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 17 00 00 [00:32:03]Write to MH i2c: E2 08 00 7F 06 80 17 00 00 00 00 00 00 05 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 E1 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 E1 00 7F 06 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [00:32:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:32:03]wFMCommunicate OK [00:32:03]SAM_PROTO_GetFMData done [00:32:03]requested_item fm.sale_refund.total is exist - process it [00:32:03]requested_item fm.buy.total is exist - process it [00:32:03]requested_item shift.sale.total is exist - process it [00:32:03]SAM_PROTO_GetShiftData [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 13 02 00 [00:32:03]Write to MH i2c: E2 08 00 80 06 80 13 02 00 00 00 00 00 04 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 80 06 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 77 [00:32:04]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:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=4 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 17 00 00 [00:32:04]Write to MH i2c: E2 08 00 81 06 80 17 00 00 00 00 00 00 07 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 81 06 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 0F [00:32:04]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:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=4 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 17 00 00 [00:32:04]Write to MH i2c: E2 08 00 82 06 80 17 00 00 00 00 00 00 08 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 82 06 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 DA [00:32:05]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:32:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=4 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 17 00 00 [00:32:05]Write to MH i2c: E2 08 00 83 06 80 17 00 00 00 00 00 00 09 [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 FD 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 FD 00 83 06 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 7B [00:32:05]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:32:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=4 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 17 00 00 [00:32:05]Write to MH i2c: E2 08 00 84 06 80 17 00 00 00 00 00 00 0A [00:32:05]OFD Sender: No OFD packet to send [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 BD 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 BD 00 84 06 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 F0 [00:32:05]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:32:06]wFMCommunicate OK [00:32:06]SAM_PROTO_GetShiftData done [00:32:06]requested_item shift.sale.total_cash is exist - process it [00:32:06]requested_item shift.sale_refund.total is exist - process it [00:32:06]requested_item shift.sale_refund.total_cash is exist - process it [00:32:06]requested_item shift.buy.total is exist - process it [00:32:06]requested_item shift.buy.total_cash is exist - process it [00:32:06]produce_requested_data done [00:32:06]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:32:06]process_action_free get_value [00:32:06]json_value_free [00:32:06]json_value_free done [00:32:06]process_json_proto returns [00:32:06]Send response to host [00:32:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:32:06]free response buf [00:32:06]execute_script done [00:32:06]execute_script returns [00:32:06]free content buf [00:32:06]Sock 9.Close socket [00:32:06]Sock 9.Thread stoped [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 18 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 5400000000572573 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 37004944+1683825965=1720830909 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 19 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 BD CB 91 66 2D 25 5D 64 91 [00:35:09]Current date/time: 13.07.2024 00:35 [00:35:09]FM_Init [00:35:09]wFMConnect [00:35:09]MH_SAM_On [00:35:09]Write to MH i2c: E0 00 00 08 00 E7 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_init finished! [00:35:09]*** atr: [00:35:09]*** 0F 3B D5 18 FF 81 91 FE [00:35:09]*** 1F C3 80 73 C8 21 10 0A [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]*** 00 00 00 00 00 00 00 00 [00:35:09]Read from MH i2c: E0 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E0 10 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [00:35:09]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:35:09]wFMCommunicate request_size=10 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:35:09]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:35:09]RAPDU: 90 00 [00:35:09]wFMCommunicate OK [00:35:09]wFMCommunicate request_size=4 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 80 11 00 00 [00:35:09]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 17 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DE [00:35:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:09]wFMCommunicate OK [00:35:09]Detected FM SN is 0000000000874857 [00:35:09]Stored FM SN is 0000000000874857 [00:35:09]wFMCommunicate request_size=9 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 80 16 00 00 04 4B 69 00 00 [00:35:09]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:35:09]RAPDU: 90 00 [00:35:09]wFMCommunicate OK [00:35:09]FM PIN OK [00:35:09]wFMCommunicate request_size=8 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 80 14 04 00 03 02 00 01 [00:35:09]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:35:09]RAPDU: 90 00 [00:35:09]wFMCommunicate OK [00:35:09]wFMCommunicate request_size=13 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:35:09]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:35:09]RAPDU: 90 00 [00:35:09]wFMCommunicate OK [00:35:09]wFMCommunicate request_size=4 [00:35:09]MH_SAM_APDU [00:35:09]CAPDU: 80 11 00 00 [00:35:09]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:09]Read from MH i2c: E2 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 17 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [00:35:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:09]wFMCommunicate OK [00:35:09]DocumentArchiveInit [00:35:09]Start Httpd... [00:35:09]Httpd thread 3067256164 created [00:35:09]Write to MH i2c: 01 00 00 0F 00 0F [00:35:09]Write i2c OK [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: 01 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: 01 07 00 [00:35:09]MH_I2C_Read... [00:35:09]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:35:09]MH Int Process started [00:35:09]Allocated Socket 8 [00:35:09]Bind OK [00:35:09]Listen OK [00:35:09]httpd running on port 8080 [00:35:09]Waiting for new connection... [00:35:09]OFD Sender: No OFD packet to send [00:35:13]accept exits with 9 [00:35:13]New connection [00:35:13]New thread 3066969444 created [00:35:13]Waiting for new connection... [00:35:13] Sock 9.Parse request [00:35:13]Sock 9.Check first char [00:35:13]Sock 9.First char is OK [00:35:13]request: POST /json_proto HTTP/1.0 [00:35:13]Method: POST [00:35:13]URL: /json_proto [00:35:13]Method is POST - this is cgi request [00:35:13]url: /json_proto [00:35:13]query_string will be loaded in cgi processing [00:35:13]execute_cgi json_proto POST (null) [00:35:13]execute_cgi path=json_proto method=POST [00:35:13]POST find Content-Length [00:35:13]Host: 172.17.39.4:8080 [00:35:13]Content-Length: 215 [00:35:13]Content-Type: application/json [00:35:13] [00:35:13]POST finish read [00:35:13]Found Content-Length = 215 [00:35:13]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:35:13]execute_script... [00:35:13]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:35:13]POST & json_proto [00:35:13]process_json_proto [00:35:13]json parsed OK: [00:35:13]protocol is kg_v1.0 [00:35:13]action value=get_value [00:35:13]process_action get_value [00:35:13]cmd_get_value [00:35:13]process_action get_value done [00:35:13]requested_data is exist [00:35:13]produce_requested_data [00:35:13]requested_item kkm.sn is exist - process it [00:35:13]requested_item kkm.ver is exist - process it [00:35:13]requested_item fm.sn is exist - process it [00:35:13]wFMCommunicate request_size=4 [00:35:13]MH_SAM_APDU [00:35:13]CAPDU: 80 11 00 00 [00:35:13]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:35:13]Write i2c OK [00:35:13]MH_I2C_Read... [00:35:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:13]Read from MH i2c: E2 [00:35:13]MH_I2C_Read... [00:35:13]Read from MH i2c: E2 17 00 [00:35:13]MH_I2C_Read... [00:35:13]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 38 35 37 90 00 E4 [00:35:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:13]wFMCommunicate OK [00:35:13]requested_item fd.num is exist - process it [00:35:13]SAM_PROTO_GetFieldsCounters [00:35:13]wFMCommunicate request_size=4 [00:35:13]MH_SAM_APDU [00:35:13]CAPDU: 80 13 00 00 [00:35:13]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:35:13]Write i2c OK [00:35:13]MH_I2C_Read... [00:35:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:13]Read from MH i2c: E2 [00:35:13]MH_I2C_Read... [00:35:13]Read from MH i2c: E2 62 00 [00:35:13]MH_I2C_Read... [00:35:13]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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 85 [00:35:13]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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:35:13]wFMCommunicate OK [00:35:13]SAM_PROTO_GetFieldsCounters done [00:35:13]requested_item shift.num is exist - process it [00:35:13]requested_item shift.opened is exist - process it [00:35:13]req_shift_opened [00:35:13]FM_GetShiftState [00:35:13]SAM_PROTO_GetShiftState [00:35:13]wFMCommunicate request_size=4 [00:35:13]MH_SAM_APDU [00:35:13]CAPDU: 80 13 01 00 [00:35:13]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:35:13]Write i2c OK [00:35:13]MH_I2C_Read... [00:35:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:13]Read from MH i2c: E2 [00:35:13]MH_I2C_Read... [00:35:13]Read from MH i2c: E2 0E 00 [00:35:13]MH_I2C_Read... [00:35:13]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 5A [00:35:13]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:35:13]wFMCommunicate OK [00:35:13]SAM_PROTO_GetShiftState done [00:35:13]FM_GetShiftState done [00:35:13]req_shift_opened done [00:35:13]requested_item shift.open_date is exist - process it [00:35:13]req_shift_open_date [00:35:13]req_shift_open_date done [00:35:13]produce_requested_data done [00:35:13]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718} [00:35:13]process_action_free get_value [00:35:13]json_value_free [00:35:13]json_value_free done [00:35:13]process_json_proto returns [00:35:13]Send response to host [00:35:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718}}} [00:35:13]free response buf [00:35:13]execute_script done [00:35:13]execute_script returns [00:35:13]free content buf [00:35:13]Sock 9.Close socket [00:35:13]Sock 9.Thread stoped [00:35:13]accept exits with 6 [00:35:13]New connection [00:35:13]New thread 3066826084 created [00:35:13]Thread 3066969444 joined [00:35:13]Waiting for new connection... [00:35:13] Sock 6.Parse request [00:35:13]Sock 6.Check first char [00:35:13]Sock 6.First char is OK [00:35:13]request: POST /json_proto HTTP/1.0 [00:35:13]Method: POST [00:35:13]URL: /json_proto [00:35:13]Method is POST - this is cgi request [00:35:13]url: /json_proto [00:35:13]query_string will be loaded in cgi processing [00:35:13]execute_cgi json_proto POST (null) [00:35:13]execute_cgi path=json_proto method=POST [00:35:13]POST find Content-Length [00:35:13]Host: 172.17.39.4:8080 [00:35:13]Content-Length: 331 [00:35:13]Content-Type: application/json [00:35:13] [00:35:13]POST finish read [00:35:13]Found Content-Length = 331 [00:35:13]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:35:13]execute_script... [00:35:13]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:35:13]POST & json_proto [00:35:13]process_json_proto [00:35:13]json parsed OK: [00:35:13]protocol is kg_v1.0 [00:35:13]action value=get_value [00:35:13]process_action get_value [00:35:13]cmd_get_value [00:35:13]process_action get_value done [00:35:13]requested_data is exist [00:35:13]produce_requested_data [00:35:13]requested_item fm.sale.total is exist - process it [00:35:13]SAM_PROTO_GetFMData [00:35:13]wFMCommunicate request_size=4 [00:35:13]MH_SAM_APDU [00:35:13]CAPDU: 80 13 03 00 [00:35:13]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:35:13]Write i2c OK [00:35:13]MH_I2C_Read... [00:35:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:35:14]Read from MH i2c: E2 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 AF [00:35:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:35:14]wFMCommunicate OK [00:35:14]wFMCommunicate request_size=4 [00:35:14]MH_SAM_APDU [00:35:14]CAPDU: 80 17 00 00 [00:35:14]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:35:14]Write i2c OK [00:35:14]MH_I2C_Read... [00:35:14]OFD Sender: No OFD packet to send [00:35:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:14]Read from MH i2c: E2 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 43 [00:35:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:14]wFMCommunicate OK [00:35:14]wFMCommunicate request_size=4 [00:35:14]MH_SAM_APDU [00:35:14]CAPDU: 80 17 00 00 [00:35:14]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:35:14]Write i2c OK [00:35:14]MH_I2C_Read... [00:35:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:14]Read from MH i2c: E2 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 [00:35:14]MH_I2C_Read... [00:35:14]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [00:35:14]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:14]wFMCommunicate OK [00:35:14]wFMCommunicate request_size=4 [00:35:14]MH_SAM_APDU [00:35:14]CAPDU: 80 17 00 00 [00:35:14]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:35:14]Write i2c OK [00:35:14]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 FD 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:35:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:15]wFMCommunicate OK [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 17 00 00 [00:35:15]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 E1 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:35:15]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:35:15]wFMCommunicate OK [00:35:15]SAM_PROTO_GetFMData done [00:35:15]requested_item fm.sale_refund.total is exist - process it [00:35:15]requested_item fm.buy.total is exist - process it [00:35:15]requested_item shift.sale.total is exist - process it [00:35:15]SAM_PROTO_GetShiftData [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 13 02 00 [00:35:15]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 FD 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 FD 00 18 00 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 09 [00:35:15]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:35:15]wFMCommunicate OK [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 17 00 00 [00:35:15]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A1 [00:35:16]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:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 1A 00 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 6C [00:35:16]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:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 1B 00 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 0D [00:35:16]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:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 BD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 BD 00 1C 00 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 82 [00:35:17]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:35:17]wFMCommunicate OK [00:35:17]SAM_PROTO_GetShiftData done [00:35:17]requested_item shift.sale.total_cash is exist - process it [00:35:17]requested_item shift.sale_refund.total is exist - process it [00:35:17]requested_item shift.sale_refund.total_cash is exist - process it [00:35:17]requested_item shift.buy.total is exist - process it [00:35:17]requested_item shift.buy.total_cash is exist - process it [00:35:17]produce_requested_data done [00:35:17]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:35:17]process_action_free get_value [00:35:17]json_value_free [00:35:17]json_value_free done [00:35:17]process_json_proto returns [00:35:17]Send response to host [00:35:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:35:17]free response buf [00:35:17]execute_script done [00:35:17]execute_script returns [00:35:17]free content buf [00:35:17]Sock 6.Close socket [00:35:17]Sock 6.Thread stoped [00:35:19]OFD Sender: No OFD packet to send [00:35:22]accept exits with 9 [00:35:22]New connection [00:35:22]New thread 3066969444 created [00:35:22]Thread 3066826084 joined [00:35:22]Waiting for new connection... [00:35:22] Sock 9.Parse request [00:35:22]Sock 9.Check first char [00:35:22]Sock 9.First char is OK [00:35:22]request: POST /json_proto HTTP/1.0 [00:35:22]Method: POST [00:35:22]URL: /json_proto [00:35:22]Method is POST - this is cgi request [00:35:22]url: /json_proto [00:35:22]query_string will be loaded in cgi processing [00:35:22]execute_cgi json_proto POST (null) [00:35:22]execute_cgi path=json_proto method=POST [00:35:22]POST find Content-Length [00:35:22]Host: 172.17.39.4:8080 [00:35:22]Content-Length: 215 [00:35:22]Content-Type: application/json [00:35:22] [00:35:22]POST finish read [00:35:22]Found Content-Length = 215 [00:35: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:35:22]execute_script... [00:35: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:35:22]POST & json_proto [00:35:22]process_json_proto [00:35:22]json parsed OK: [00:35:22]protocol is kg_v1.0 [00:35:22]action value=get_value [00:35:22]process_action get_value [00:35:22]cmd_get_value [00:35:22]process_action get_value done [00:35:22]requested_data is exist [00:35:22]produce_requested_data [00:35:22]requested_item kkm.sn is exist - process it [00:35:22]requested_item kkm.ver is exist - process it [00:35:22]requested_item fm.sn is exist - process it [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 11 00 00 [00:35:22]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:22]Read from MH i2c: E2 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 17 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [00:35:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:22]wFMCommunicate OK [00:35:22]requested_item fd.num is exist - process it [00:35:22]SAM_PROTO_GetFieldsCounters [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 00 00 [00:35:22]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:22]Read from MH i2c: E2 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 62 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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 92 [00:35: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DE 00 00 0E 04 04 00 EF 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:35:22]wFMCommunicate OK [00:35:22]SAM_PROTO_GetFieldsCounters done [00:35:22]requested_item shift.num is exist - process it [00:35:22]requested_item shift.opened is exist - process it [00:35:22]req_shift_opened [00:35:22]FM_GetShiftState [00:35:22]SAM_PROTO_GetShiftState [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 01 00 [00:35:22]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:22]Read from MH i2c: E2 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 0E 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 67 [00:35:22]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:35:22]wFMCommunicate OK [00:35:22]SAM_PROTO_GetShiftState done [00:35:22]FM_GetShiftState done [00:35:22]req_shift_opened done [00:35:22]requested_item shift.open_date is exist - process it [00:35:22]req_shift_open_date [00:35:22]req_shift_open_date done [00:35:22]produce_requested_data done [00:35:22]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718} [00:35:22]process_action_free get_value [00:35:22]json_value_free [00:35:22]json_value_free done [00:35:22]process_json_proto returns [00:35:22]Send response to host [00:35:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":56839,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718}}} [00:35:22]free response buf [00:35:22]execute_script done [00:35:22]execute_script returns [00:35:22]free content buf [00:35:22]Sock 9.Close socket [00:35:22]Sock 9.Thread stoped [00:35:22]accept exits with 7 [00:35:22]New connection [00:35:22]New thread 3066826084 created [00:35:22]Thread 3066969444 joined [00:35:22]Waiting for new connection... [00:35:22] Sock 7.Parse request [00:35:22]Sock 7.Check first char [00:35:22]Sock 7.First char is OK [00:35:22]request: POST /json_proto HTTP/1.0 [00:35:22]Method: POST [00:35:22]URL: /json_proto [00:35:22]Method is POST - this is cgi request [00:35:22]url: /json_proto [00:35:22]query_string will be loaded in cgi processing [00:35:22]execute_cgi json_proto POST (null) [00:35:22]execute_cgi path=json_proto method=POST [00:35:22]POST find Content-Length [00:35:22]Host: 172.17.39.4:8080 [00:35:22]Content-Length: 331 [00:35:22]Content-Type: application/json [00:35:22] [00:35:22]POST finish read [00:35:22]Found Content-Length = 331 [00:35: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:35:22]execute_script... [00:35:22]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:35:22]POST & json_proto [00:35:22]process_json_proto [00:35:22]json parsed OK: [00:35:22]protocol is kg_v1.0 [00:35:22]action value=get_value [00:35:22]process_action get_value [00:35:22]cmd_get_value [00:35:22]process_action get_value done [00:35:22]requested_data is exist [00:35:22]produce_requested_data [00:35:22]requested_item fm.sale.total is exist - process it [00:35:22]SAM_PROTO_GetFMData [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 03 00 [00:35:22]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:35:23]Read from MH i2c: E2 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 20 00 00 C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 BC [00:35:23]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 28 DA 00 00 69 04 A0 00 6F 04 04 00 79 D9 00 00 B1 04 04 00 54 16 0D 6D 70 04 04 00 DC 97 D0 60 72 04 04 00 78 7E 3C 0C 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 81 03 95 0B 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 BC FD F6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 A4 53 66 01 70 04 04 00 3C 15 5D 01 72 04 03 00 68 3E 09 00 04 7B 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 76 0E 26 EF 03 09 00 90 00 [00:35:23]wFMCommunicate OK [00:35:23]wFMCommunicate request_size=4 [00:35:23]MH_SAM_APDU [00:35:23]CAPDU: 80 17 00 00 [00:35:23]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:35:23]Write i2c OK [00:35:23]MH_I2C_Read... [00:35:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:23]Read from MH i2c: E2 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 21 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 50 [00:35:23]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:23]wFMCommunicate OK [00:35:23]wFMCommunicate request_size=4 [00:35:23]MH_SAM_APDU [00:35:23]CAPDU: 80 17 00 00 [00:35:23]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [00:35:23]Write i2c OK [00:35:23]MH_I2C_Read... [00:35:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 22 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B7 [00:35:24]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:24]wFMCommunicate OK [00:35:24]wFMCommunicate request_size=4 [00:35:24]MH_SAM_APDU [00:35:24]CAPDU: 80 17 00 00 [00:35:24]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:35:24]Write i2c OK [00:35:24]MH_I2C_Read... [00:35:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 23 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [00:35:24]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:24]wFMCommunicate OK [00:35:24]wFMCommunicate request_size=4 [00:35:24]MH_SAM_APDU [00:35:24]CAPDU: 80 17 00 00 [00:35:24]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:35:24]Write i2c OK [00:35:24]MH_I2C_Read... [00:35:24]OFD Sender: No OFD packet to send [00:35:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 E1 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 E1 00 24 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 92 [00:35:24]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:35:24]wFMCommunicate OK [00:35:24]SAM_PROTO_GetFMData done [00:35:24]requested_item fm.sale_refund.total is exist - process it [00:35:24]requested_item fm.buy.total is exist - process it [00:35:24]requested_item shift.sale.total is exist - process it [00:35:24]SAM_PROTO_GetShiftData [00:35:24]wFMCommunicate request_size=4 [00:35:24]MH_SAM_APDU [00:35:24]CAPDU: 80 13 02 00 [00:35:24]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [00:35:24]Write i2c OK [00:35:24]MH_I2C_Read... [00:35:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:35:25]Read from MH i2c: E2 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 25 00 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 16 [00:35:25]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:35:25]wFMCommunicate OK [00:35:25]wFMCommunicate request_size=4 [00:35:25]MH_SAM_APDU [00:35:25]CAPDU: 80 17 00 00 [00:35:25]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:35:25]Write i2c OK [00:35:25]MH_I2C_Read... [00:35:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:25]Read from MH i2c: E2 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 26 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 AE [00:35:25]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:35:25]wFMCommunicate OK [00:35:25]wFMCommunicate request_size=4 [00:35:25]MH_SAM_APDU [00:35:25]CAPDU: 80 17 00 00 [00:35:25]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [00:35:25]Write i2c OK [00:35:25]MH_I2C_Read... [00:35:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:25]Read from MH i2c: E2 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 27 00 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 79 [00:35:25]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:35:26]wFMCommunicate OK [00:35:26]wFMCommunicate request_size=4 [00:35:26]MH_SAM_APDU [00:35:26]CAPDU: 80 17 00 00 [00:35:26]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [00:35:26]Write i2c OK [00:35:26]MH_I2C_Read... [00:35:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:26]Read from MH i2c: E2 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 28 00 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 1A [00:35:26]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:35:26]wFMCommunicate OK [00:35:26]wFMCommunicate request_size=4 [00:35:26]MH_SAM_APDU [00:35:26]CAPDU: 80 17 00 00 [00:35:26]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [00:35:26]Write i2c OK [00:35:26]MH_I2C_Read... [00:35:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:35:26]Read from MH i2c: E2 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 BD 00 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 BD 00 29 00 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 8F [00:35:26]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:35:26]wFMCommunicate OK [00:35:26]SAM_PROTO_GetShiftData done [00:35:26]requested_item shift.sale.total_cash is exist - process it [00:35:26]requested_item shift.sale_refund.total is exist - process it [00:35:26]requested_item shift.sale_refund.total_cash is exist - process it [00:35:26]requested_item shift.buy.total is exist - process it [00:35:26]requested_item shift.buy.total_cash is exist - process it [00:35:26]produce_requested_data done [00:35:26]produce_requested_data return {"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:35:26]process_action_free get_value [00:35:26]json_value_free [00:35:26]json_value_free done [00:35:26]process_json_proto returns [00:35:26]Send response to host [00:35:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18295742.28,"fm.sale_refund.total":234833.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:35:26]free response buf [00:35:26]execute_script done [00:35:26]execute_script returns [00:35:26]free content buf [00:35:26]Sock 7.Close socket [00:35:26]Sock 7.Thread stoped [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]accept exits with 9 [00:40:14]New connection [00:40:14]New thread 3066969444 created [00:40:14]Thread 3066826084 joined [00:40:14]Waiting for new connection... [00:40:14] Sock 9.Parse request [00:40:14]Sock 9.Check first char [00:40:14]Sock 9.First char is OK [00:40:14]request: POST /json_proto HTTP/1.0 [00:40:14]Method: POST [00:40:14]URL: /json_proto [00:40:14]Method is POST - this is cgi request [00:40:14]url: /json_proto [00:40:14]query_string will be loaded in cgi processing [00:40:14]execute_cgi json_proto POST (null) [00:40:14]execute_cgi path=json_proto method=POST [00:40:14]POST find Content-Length [00:40:14]Host: 172.17.39.4:8080 [00:40:14]Content-Length: 1011 [00:40:14]Content-Type: application/json [00:40:14] [00:40:14]POST finish read [00:40:14]Found Content-Length = 1011 [00:40:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129327", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 383.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:40:14]execute_script... [00:40: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)129327", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 383.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:40:14]POST & json_proto [00:40:14]process_json_proto [00:40:14]json parsed OK: [00:40:14]protocol is kg_v1.0 [00:40:14]action value=close_receipt [00:40:14]process_action close_receipt [00:40:14]cmd_close_receipt [00:40:14]MH_GetDate [00:40:14]Write to MH i2c: F0 00 00 2A 00 19 [00:40:14]Write i2c OK [00:40:14]MH_I2C_Read... [00:40:14]Read from MH i2c: F0 [00:40:14]MH_I2C_Read... [00:40:14]Read from MH i2c: F0 09 00 [00:40:14]MH_I2C_Read... [00:40:14]Read from MH i2c: F0 09 00 2A 00 00 EF CC 91 66 2D 25 5D 64 E7 [00:40:14]GetLastDocTimeStamp 1720830718 [00:40:14]current date 1720831215 [00:40:14]FM_GetShiftState [00:40:14]SAM_PROTO_GetShiftState [00:40:14]wFMCommunicate request_size=4 [00:40:14]MH_SAM_APDU [00:40:14]CAPDU: 80 13 01 00 [00:40:14]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [00:40:14]Write i2c OK [00:40:14]MH_I2C_Read... [00:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:14]Read from MH i2c: E2 [00:40:14]MH_I2C_Read... [00:40:14]Read from MH i2c: E2 0E 00 [00:40:14]MH_I2C_Read... [00:40:14]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 73 [00:40:14]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:40:14]wFMCommunicate OK [00:40:14]SAM_PROTO_GetShiftState done [00:40:14]FM_GetShiftState done [00:40:14]opened in 1720830718 [00:40:14]opened+sec_in_day 1720917118 [00:40:14]quantity*price = 10700 [00:40:14]sum+1 = 10701 [00:40:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091621 Сигареты ESSE Exchange W 2.000 * 138.00 = 276.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 383.00 НСП 1% : 3.39 НДС 12% : 40.67 Наличными: 383.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 1 13.07.2024 00:40 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56840 ФПД: 15480655845123 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004015&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56840&fm=15480655845123&tin=02508201610067®Number=0000000000091208&sum=38300 0 [00:40:15]StoreToDocumentArchive [00:40:15]shift 495 fd 56840 [00:40:15]save to /storage/0495/doc_00056840 [00:40:15]save last doc name /storage/0495/doc_00056840 to /storage/kkm_last_doc_name [00:40:15]save OK [00:40:15]Clear old archive folders... [00:40:15]ProcessDocumentItem done err = 0, tmpTLVsize=389 [00:40:15]tlvbuf is 0051EC80 [00:40:15]SAM_PROTO_ClearQueue [00:40:15]wFMCommunicate request_size=4 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 09 00 00 [00:40:15]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [00:40:15]RAPDU: 90 00 [00:40:15]wFMCommunicate OK [00:40:15]SAM_PROTO_ClearQueue done [00:40:15]KKMCreateOFDPacket [00:40:15]OFDProtocolAddRootSTLVToBuf [00:40:15]FM_MakeSignedData [00:40:15]FM_MakeSignedData [00:40:15]SAM_PROTO_SignData [00:40:15]wFMCommunicate request_size=4 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 0D 01 02 [00:40:15]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [00:40:15]RAPDU: 90 00 [00:40:15]wFMCommunicate OK [00:40:15]wFMCommunicate request_size=255 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 95 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [00:40:15]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 95 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 52 [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:15]Read from MH i2c: E2 03 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [00:40:15]RAPDU: 90 00 [00:40:15]wFMCommunicate OK [00:40:15]wFMCommunicate request_size=148 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 53 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 0F 00 00 00 00 07 04 06 00 9C 95 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 EF CC 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DE 00 00 35 04 06 00 0E 14 5E FE 17 03 [00:40:15]Write to MH i2c: E2 97 00 3B 00 80 0D 02 02 8F 00 01 F7 03 06 00 53 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 0F 00 00 00 00 07 04 06 00 9C 95 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 EF CC 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DE 00 00 35 04 06 00 0E 14 5E FE 17 03 00 00 9B [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [00:40:15]RAPDU: 90 00 [00:40:15]wFMCommunicate OK [00:40:15]wFMCommunicate request_size=4 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 0D 03 02 [00:40:15]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 0B 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 0B 00 3C 00 00 0A 4C 19 9D 94 5A 8E 65 90 00 A5 [00:40:15]RAPDU: 0A 4C 19 9D 94 5A 8E 65 90 00 [00:40:15]wFMCommunicate OK [00:40:15]SAM_PROTO_SignData done [00:40:15]FM_MakeSignedData done [00:40:15]CreateOFDProtocolMessage [00:40:15]wFMCommunicate request_size=4 [00:40:15]MH_SAM_APDU [00:40:15]CAPDU: 80 11 00 00 [00:40:15]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [00:40:15]Write i2c OK [00:40:15]MH_I2C_Read... [00:40:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:15]Read from MH i2c: E2 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 17 00 [00:40:15]MH_I2C_Read... [00:40:15]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 11 [00:40:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:40:15]wFMCommunicate OK [00:40:15]CreateOFDProtocolMessage done [00:40:15]OFDSenderStorePacket 56840 [00:40:15]StoreOFDPacket docnum=56840 [00:40:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 99 01 00 00 D2 40 91 01 3A EC 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 95 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 0F 00 00 00 00 07 04 06 00 9C 95 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 EF CC 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DE 00 00 35 04 06 00 0E 14 5E FE 17 03 0A 4C 19 9D 94 5A 8E 65 [00:40:15]CheckFolder [00:40:15]dirname=/storage/ofd_packets [00:40:15]CheckFolder done [00:40:15]ProducePacketName [00:40:15]name=ofd_packets/00056840 [00:40:15]NVStorageSaveData ofd_packets/00056840 [00:40:15]File name is /storage/ofd_packets/00056840 [00:40:15]Write 439 bytes [00:40:15]NVStorageSaveData done [00:40:15]OFDSenderStorePacket done [00:40:16]KKMCreateOFDPacket done [00:40:16]NVStorageSaveData kkm_last_timestamp [00:40:16]File name is /storage/kkm_last_timestamp [00:40:16]Write 4 bytes [00:40:16]NVStorageSaveData done [00:40:16]ExternCall_PrintAddStr [00:40:16]wPrintStart [00:40:16]Write to MH i2c: 01 00 00 3E 00 3E [00:40:16]Write i2c OK [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: 01 [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: 01 07 00 [00:40:16]MH_I2C_Read... [00:40:16]OFD Sender: Processing packet 56840 [packets to send 38, broken 37] [00:40:16]ProducePacketName [00:40:16]Read from MH i2c: name=ofd_packets/00056840 [00:40:16]01 07 00 OFD Sender: To server: pG, [00:40:16]3E CommunicateWithHost lk.salyk.kg:30040 [00:40:16]00 ConnectInit lk.salyk.kg [00:40:16]00 00 00 00 00 FF 0F 53 [00:40:16]RasterBufferAndPrint [00:40:16]line Счет N : (3)129327 [00:40:16]line ИНН: 02508201610067 [00:40:16]line Контрольно-Кассовый Чек [00:40:16]line ПРОДАЖА [00:40:16]line Товар: 5449000189318 [00:40:16]line Холодный чай Fuse лимон 1л [00:40:16]line 1.000 * 107.00 [00:40:16]line = 107.00 [00:40:16]line НДС 12% НСП 1% [00:40:16]line > о реализуемом товаре [00:40:16]line Товар: 4640030091621 [00:40:16]line Сигареты ESSE Exchange W [00:40:16]line 2.000 * 138.00 [00:40:16]line = 276.00 [00:40:16]line НДС 12% НСП 1% [00:40:16]line > о реализуемом товаре [00:40:16]line ИТОГО: 383.00 [00:40:16]line НСП 1% : 3.39 [00:40:16]line НДС 12% : 40.67 [00:40:16]line Наличными: 383.00 [00:40:16]line Безнал.: 0.00 [00:40:16]line Место: АЗС № 132 "Партнер Нефть" [00:40:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:40:16]line СНО: Общий режим [00:40:16]line Чек 1 13.07.2024 00:40 [00:40:16]line Смена: 495 ФФД: 1.0 [00:40:16]line ЗНМ: 0300000132 [00:40:16]line РНМ: 0000000000091208 [00:40:16]line Версия ККМ: 001 [00:40:16]line ФМ: 0000000000874857 [00:40:16]line ФД: 56840 [00:40:16]line ФПД: 15480655845123 [00:40:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004015&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56840&fm=15480655845123&tin=02508201610067®Number=0000000000091208&sum=38300 [00:40:16]line 0 [00:40:16]written 0, free lines is 4095 [00:40:16]Connected sock=10 [00:40: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 38 35 37 99 01 00 00 D2 40 91 01 3A EC 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 95 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 0F 00 00 00 00 07 04 06 00 9C 95 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 EF CC 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DE 00 00 35 04 06 00 0E 14 5E FE 17 03 0A 4C 19 9D 94 5A 8E 65 [00:40:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 5A 1C 47 00 8F 38 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 38 35 37 10 04 04 00 08 DE 00 00 F4 03 04 00 45 73 91 66 B6 04 01 00 00 90 01 09 95 06 B0 C9 4A [00:40:16]CommunicateWithHost err = 0 [00:40:16]CheckOFDResponse [00:40:16]1017 (14) - 77093643461234 [00:40:16]1041 (16) - 0000000000874857 [00:40:16]1040 (4) - 56840 [00:40:16]1012 (4) - 12.07.2024 18:17 [00:40:16]1206 (1) - 0 [00:40:16]OFD Sender: Remove packet 56840 [00:40:16]ProducePacketName [00:40:16]name=ofd_packets/00056840 [00:40:16]NVStorageDeleteData [00:40:16]Write to MH i2c: 01 00 00 6C 00 6C [00:40:16]Write i2c OK [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: 01 [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: 01 07 00 [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: 01 07 00 6C 00 00 00 00 00 00 AF 0C 2E [00:40:16]RasterBufferAndPrint [00:40:16]line [00:40:16]line [00:40:16]line [00:40:16]line [00:40:16]line [00:40:16]written 0, free lines is 3254 [00:40:16]MH_Cut [00:40:16]Write to MH i2c: D1 01 00 73 00 01 45 [00:40:16]Write i2c OK [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: D1 [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: D1 01 00 [00:40:16]MH_I2C_Read... [00:40:16]Read from MH i2c: D1 01 00 73 00 00 44 [00:40:16]Write to MH i2c: 01 00 00 74 00 74 [00:40:16]Write i2c OK [00:40:16]MH_I2C_Read... [00:40:17]OFD Sender: No OFD packet to send [00:40:17]*** Cut start [00:40:17]*** Partial cut [00:40:17]*** CUTSNS_PIN = 1 [00:40:17]*** CUTSNS_PIN = 0 [00:40:17]*** Brake cut motor [00:40:18]Read from MH i2c: 01 [00:40:18]MH_I2C_Read... [00:40:18]*** Stop cut motor [00:40:18]*** Cut end [00:40:18]Read from MH i2c: 01 07 00 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: 01 07 00 74 00 00 00 00 00 00 FF 0F 89 [00:40:18]process_action close_receipt done [00:40:18]requested_data is exist [00:40:18]produce_requested_data [00:40:18]requested_item fm.sn is exist - process it [00:40:18]wFMCommunicate request_size=4 [00:40:18]MH_SAM_APDU [00:40:18]CAPDU: 80 11 00 00 [00:40:18]Write to MH i2c: E2 08 00 75 00 80 11 00 00 00 00 00 00 EF [00:40:18]Write i2c OK [00:40:18]MH_I2C_Read... [00:40:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:18]Read from MH i2c: E2 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 17 00 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 17 00 75 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 49 [00:40:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:40:18]wFMCommunicate OK [00:40:18]requested_item fd.num is exist - process it [00:40:18]SAM_PROTO_GetFieldsCounters [00:40:18]wFMCommunicate request_size=4 [00:40:18]MH_SAM_APDU [00:40:18]CAPDU: 80 13 00 00 [00:40:18]Write to MH i2c: E2 08 00 76 00 80 13 00 00 00 00 00 00 F2 [00:40:18]Write i2c OK [00:40:18]MH_I2C_Read... [00:40:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:40:18]Read from MH i2c: E2 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 62 00 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 62 00 76 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 08 DE 00 00 0E 04 04 00 EF 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 EE [00:40:18]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 08 DE 00 00 0E 04 04 00 EF 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 [00:40:18]wFMCommunicate OK [00:40:18]SAM_PROTO_GetFieldsCounters done [00:40:18]requested_item shift.num is exist - process it [00:40:18]requested_item shift.opened is exist - process it [00:40:18]req_shift_opened [00:40:18]FM_GetShiftState [00:40:18]SAM_PROTO_GetShiftState [00:40:18]wFMCommunicate request_size=4 [00:40:18]MH_SAM_APDU [00:40:18]CAPDU: 80 13 01 00 [00:40:18]Write to MH i2c: E2 08 00 77 00 80 13 01 00 00 00 00 00 F4 [00:40:18]Write i2c OK [00:40:18]MH_I2C_Read... [00:40:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:18]Read from MH i2c: E2 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 0E 00 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 0E 00 77 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 BF [00:40:18]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:40:18]wFMCommunicate OK [00:40:18]SAM_PROTO_GetShiftState done [00:40:18]FM_GetShiftState done [00:40:18]req_shift_opened done [00:40:18]requested_item shift.open_date is exist - process it [00:40:18]req_shift_open_date [00:40:18]req_shift_open_date done [00:40:18]requested_item shift.sale.total is exist - process it [00:40:18]SAM_PROTO_GetShiftData [00:40:18]wFMCommunicate request_size=4 [00:40:18]MH_SAM_APDU [00:40:18]CAPDU: 80 13 02 00 [00:40:18]Write to MH i2c: E2 08 00 78 00 80 13 02 00 00 00 00 00 F6 [00:40:18]Write i2c OK [00:40:18]MH_I2C_Read... [00:40:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:40:18]Read from MH i2c: E2 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 FD 00 [00:40:18]MH_I2C_Read... [00:40:18]Read from MH i2c: E2 FD 00 78 00 00 A8 04 AA 04 A4 04 6E 04 04 00 01 00 00 00 69 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 9C 95 70 04 02 00 9C 95 72 04 00 00 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 E3 0F 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 53 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 45 [00:40:18]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 01 00 00 00 69 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 9C 95 70 04 02 00 9C 95 72 04 00 00 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 E3 0F 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 53 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:40:18]wFMCommunicate OK [00:40:18]wFMCommunicate request_size=4 [00:40:18]MH_SAM_APDU [00:40:18]CAPDU: 80 17 00 00 [00:40:18]Write to MH i2c: E2 08 00 79 00 80 17 00 00 00 00 00 00 F9 [00:40:18]Write i2c OK [00:40:18]MH_I2C_Read... [00:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:19]Read from MH i2c: E2 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 79 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [00:40:19]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:40:19]wFMCommunicate OK [00:40:19]wFMCommunicate request_size=4 [00:40:19]MH_SAM_APDU [00:40:19]CAPDU: 80 17 00 00 [00:40:19]Write to MH i2c: E2 08 00 7A 00 80 17 00 00 00 00 00 00 FA [00:40:19]Write i2c OK [00:40:19]MH_I2C_Read... [00:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:19]Read from MH i2c: E2 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 7A 00 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [00:40:19]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:40:19]wFMCommunicate OK [00:40:19]wFMCommunicate request_size=4 [00:40:19]MH_SAM_APDU [00:40:19]CAPDU: 80 17 00 00 [00:40:19]Write to MH i2c: E2 08 00 7B 00 80 17 00 00 00 00 00 00 FB [00:40:19]Write i2c OK [00:40:19]MH_I2C_Read... [00:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:19]Read from MH i2c: E2 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 [00:40:19]MH_I2C_Read... [00:40:19]Read from MH i2c: E2 FD 00 7B 00 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 90 00 70 [00:40:19]RAPDU: 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 90 00 [00:40:19]wFMCommunicate OK [00:40:19]wFMCommunicate request_size=4 [00:40:19]MH_SAM_APDU [00:40:19]CAPDU: 80 17 00 00 [00:40:19]Write to MH i2c: E2 08 00 7C 00 80 17 00 00 00 00 00 00 FC [00:40:19]Write i2c OK [00:40:19]MH_I2C_Read... [00:40:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [00:40:20]Read from MH i2c: E2 [00:40:20]MH_I2C_Read... [00:40:20]Read from MH i2c: E2 C5 00 [00:40:20]MH_I2C_Read... [00:40:20]Read from MH i2c: E2 C5 00 7C 00 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E1 [00:40:20]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:40:20]wFMCommunicate OK [00:40:20]SAM_PROTO_GetShiftData done [00:40:20]requested_item shift.sale.total_cash is exist - process it [00:40:20]requested_item shift.sale_refund.total is exist - process it [00:40:20]requested_item shift.sale_refund.total_cash is exist - process it [00:40:20]produce_requested_data done [00:40:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56840,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":383.00,"shift.sale.total_cash":383.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:40:20]process_action_free close_receipt [00:40:20]json_value_free [00:40:20]json_value_free done [00:40:20]process_json_proto returns [00:40:20]Send response to host [00:40:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56840,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":383.00,"shift.sale.total_cash":383.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:40:20]free response buf [00:40:20]execute_script done [00:40:20]execute_script returns [00:40:20]free content buf [00:40:20]Sock 9.Close socket [00:40:20]Sock 9.Thread stoped [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:47]accept exits with 7 [00:49:47]New connection [00:49:47]New thread 3066826084 created [00:49:47]Thread 3066969444 joined [00:49:47]Waiting for new connection... [00:49:47] Sock 7.Parse request [00:49:47]Sock 7.Check first char [00:49:47]Sock 7.First char is OK [00:49:47]request: POST /json_proto HTTP/1.0 [00:49:47]Method: POST [00:49:47]URL: /json_proto [00:49:47]Method is POST - this is cgi request [00:49:47]url: /json_proto [00:49:47]query_string will be loaded in cgi processing [00:49:47]execute_cgi json_proto POST (null) [00:49:47]execute_cgi path=json_proto method=POST [00:49:47]POST find Content-Length [00:49:47]Host: 172.17.39.4:8080 [00:49:47]Content-Length: 762 [00:49:47]Content-Type: application/json [00:49:47] [00:49:47]POST finish read [00:49:47]Found Content-Length = 762 [00:49:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129328", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:49:47]execute_script... [00:49:47]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)129328", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:49:47]POST & json_proto [00:49:47]process_json_proto [00:49:47]json parsed OK: [00:49:47]protocol is kg_v1.0 [00:49:47]action value=close_receipt [00:49:47]process_action close_receipt [00:49:47]cmd_close_receipt [00:49:47]MH_GetDate [00:49:47]Write to MH i2c: F0 00 00 7D 00 6C [00:49:47]Write i2c OK [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: F0 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: F0 09 00 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: F0 09 00 7D 00 00 2C CF 91 66 2D 25 5D 64 7A [00:49:47]GetLastDocTimeStamp 1720831215 [00:49:47]current date 1720831788 [00:49:47]FM_GetShiftState [00:49:47]SAM_PROTO_GetShiftState [00:49:47]wFMCommunicate request_size=4 [00:49:47]MH_SAM_APDU [00:49:47]CAPDU: 80 13 01 00 [00:49:47]Write to MH i2c: E2 08 00 7E 00 80 13 01 00 00 00 00 00 FB [00:49:47]Write i2c OK [00:49:47]MH_I2C_Read... [00:49:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:49:48]Read from MH i2c: E2 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 0E 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 0E 00 7E 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 C6 [00:49:48]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:49:48]wFMCommunicate OK [00:49:48]SAM_PROTO_GetShiftState done [00:49:48]FM_GetShiftState done [00:49:48]opened in 1720830718 [00:49:48]opened+sec_in_day 1720917118 [00:49:48]quantity*price = 12500 [00:49:48]sum+1 = 12501 [00:49:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 2 13.07.2024 00:49 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56841 ФПД: 83118067755979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004948&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56841&fm=83118067755979&tin=02508201610067®Number=0000000000091208&sum=12500 0 [00:49:49]StoreToDocumentArchive [00:49:49]shift 495 fd 56841 [00:49:49]save to /storage/0495/doc_00056841 [00:49:49]save last doc name /storage/0495/doc_00056841 to /storage/kkm_last_doc_name [00:49:49]save OK [00:49:49]Clear old archive folders... [00:49:49]ProcessDocumentItem done err = 0, tmpTLVsize=278 [00:49:49]tlvbuf is 0054BBB0 [00:49:49]SAM_PROTO_ClearQueue [00:49:49]wFMCommunicate request_size=4 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 09 00 00 [00:49:49]Write to MH i2c: E2 08 00 8B 00 80 09 00 00 00 00 00 00 FD [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 8B 00 00 90 00 FF [00:49:49]RAPDU: 90 00 [00:49:49]wFMCommunicate OK [00:49:49]SAM_PROTO_ClearQueue done [00:49:49]KKMCreateOFDPacket [00:49:49]OFDProtocolAddRootSTLVToBuf [00:49:49]FM_MakeSignedData [00:49:49]FM_MakeSignedData [00:49:49]SAM_PROTO_SignData [00:49:49]wFMCommunicate request_size=4 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 0D 01 02 [00:49:49]Write to MH i2c: E2 08 00 8C 00 80 0D 01 02 00 00 00 00 05 [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 8C 00 00 90 00 00 [00:49:49]RAPDU: 90 00 [00:49:49]wFMCommunicate OK [00:49:49]wFMCommunicate request_size=255 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 02 00 00 00 F4 03 04 00 2C CF 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 [00:49:49]Write to MH i2c: E2 02 01 8D 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 02 00 00 00 F4 03 04 00 2C CF 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 00 00 90 [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 8D 00 00 90 00 01 [00:49:49]RAPDU: 90 00 [00:49:49]wFMCommunicate OK [00:49:49]wFMCommunicate request_size=37 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DE 00 00 35 04 06 00 4B 98 6E E7 2B CB [00:49:49]Write to MH i2c: E2 28 00 8E 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DE 00 00 35 04 06 00 4B 98 6E E7 2B CB 00 00 7B [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 03 00 8E 00 00 90 00 02 [00:49:49]RAPDU: 90 00 [00:49:49]wFMCommunicate OK [00:49:49]wFMCommunicate request_size=4 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 0D 03 02 [00:49:49]Write to MH i2c: E2 08 00 8F 00 80 0D 03 02 00 00 00 00 0A [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 0B 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 0B 00 8F 00 00 3F 27 E0 D4 94 0C F7 72 90 00 2E [00:49:49]RAPDU: 3F 27 E0 D4 94 0C F7 72 90 00 [00:49:49]wFMCommunicate OK [00:49:49]SAM_PROTO_SignData done [00:49:49]FM_MakeSignedData done [00:49:49]CreateOFDProtocolMessage [00:49:49]wFMCommunicate request_size=4 [00:49:49]MH_SAM_APDU [00:49:49]CAPDU: 80 11 00 00 [00:49:49]Write to MH i2c: E2 08 00 90 00 80 11 00 00 00 00 00 00 0A [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:49:49]Read from MH i2c: E2 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 17 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: E2 17 00 90 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 64 [00:49:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:49:49]wFMCommunicate OK [00:49:49]CreateOFDProtocolMessage done [00:49:49]OFDSenderStorePacket 56841 [00:49:49]StoreOFDPacket docnum=56841 [00:49:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 BE 30 22 01 FD 52 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 02 00 00 00 F4 03 04 00 2C CF 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DE 00 00 35 04 06 00 4B 98 6E E7 2B CB 3F 27 E0 D4 94 0C F7 72 [00:49:49]CheckFolder [00:49:49]dirname=/storage/ofd_packets [00:49:49]CheckFolder done [00:49:49]ProducePacketName [00:49:49]name=ofd_packets/00056841 [00:49:49]NVStorageSaveData ofd_packets/00056841 [00:49:49]File name is /storage/ofd_packets/00056841 [00:49:49]Write 328 bytes [00:49:49]NVStorageSaveData done [00:49:49]OFDSenderStorePacket done [00:49:49]KKMCreateOFDPacket done [00:49:49]NVStorageSaveData kkm_last_timestamp [00:49:49]File name is /storage/kkm_last_timestamp [00:49:49]Write 4 bytes [00:49:49]NVStorageSaveData done [00:49:49]ExternCall_PrintAddStr [00:49:49]wPrintStart [00:49:49]Write to MH i2c: 01 00 00 91 00 91 [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 07 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 07 00 91 00 00 00 00 00 00 FF 0F A6 [00:49:49]RasterBufferAndPrint [00:49:49]line Счет N : (3)129328 [00:49:49]line ИНН: 02508201610067 [00:49:49]line Контрольно-Кассовый Чек [00:49:49]line ПРОДАЖА [00:49:49]line Товар: 5449000054227 [00:49:49]line Напиток Кока-Кола 1л [00:49:49]line 1.000 * 125.00 [00:49:49]line = 125.00 [00:49:49]line НДС 12% НСП 1% [00:49:49]line > о реализуемом товаре [00:49:49]line ИТОГО: 125.00 [00:49:49]line НСП 1% : 1.11 [00:49:49]line НДС 12% : 13.27 [00:49:49]line Наличными: 125.00 [00:49:49]line Безнал.: 0.00 [00:49:49]line Место: АЗС № 132 "Партнер Нефть" [00:49:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:49:49]line СНО: Общий режим [00:49:49]line Чек 2 13.07.2024 00:49 [00:49:49]line Смена: 495 ФФД: 1.0 [00:49:49]line ЗНМ: 0300000132 [00:49:49]line РНМ: 0000000000091208 [00:49:49]line Версия ККМ: 001 [00:49:49]line ФМ: 0000000000874857 [00:49:49]line ФД: 56841 [00:49:49]line ФПД: 83118067755979 [00:49:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T004948&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56841&fm=83118067755979&tin=02508201610067®Number=0000000000091208&sum=12500 [00:49:50]OFD Sender: Processing packet 56841 [packets to send 38, broken 37] [00:49:50]ProducePacketName [00:49:50]name=ofd_packets/00056841 [00:49:50]OFD Sender: To server: pG, [00:49:50]CommunicateWithHost lk.salyk.kg:30040 [00:49:50]ConnectInit lk.salyk.kg [00:49:50]line 0 [00:49:50]written 0, free lines is 4095 [00:49:50]Connected sock=10 [00:49:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2A 01 00 00 BE 30 22 01 FD 52 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 02 00 00 00 F4 03 04 00 2C CF 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DE 00 00 35 04 06 00 4B 98 6E E7 2B CB 3F 27 E0 D4 94 0C F7 72 [00:49:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F3 6E 47 00 0A 7E 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 38 35 37 10 04 04 00 09 DE 00 00 F4 03 04 00 82 75 91 66 B6 04 01 00 00 B7 8A A5 46 2B 8D CB 05 [00:49:50]CommunicateWithHost err = 0 [00:49:50]CheckOFDResponse [00:49:50]1017 (14) - 77093643461234 [00:49:50]1041 (16) - 0000000000874857 [00:49:50]1040 (4) - 56841 [00:49:50]1012 (4) - 12.07.2024 18:27 [00:49:50]1206 (1) - 0 [00:49:50]OFD Sender: Remove packet 56841 [00:49:50]ProducePacketName [00:49:50]name=ofd_packets/00056841 [00:49:50]NVStorageDeleteData [00:49:50]Write to MH i2c: 01 00 00 B9 00 B9 [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: 01 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: 01 07 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: 01 07 00 B9 00 00 00 00 00 00 FD 0C C9 [00:49:50]RasterBufferAndPrint [00:49:50]line [00:49:50]line [00:49:50]line [00:49:50]line [00:49:50]line [00:49:50]written 0, free lines is 3331 [00:49:50]MH_Cut [00:49:50]Write to MH i2c: D1 01 00 C0 00 01 92 [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: D1 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: D1 01 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: D1 01 00 C0 00 00 91 [00:49:50]Write to MH i2c: 01 00 00 C1 00 C1 [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]OFD Sender: No OFD packet to send [00:49:51]*** Cut start [00:49:51]*** Partial cut [00:49:51]*** CUTSNS_PIN = 1 [00:49:51]*** CUTSNS_PIN = 0 [00:49:51]*** Brake cut motor [00:49:51]Read from MH i2c: 01 [00:49:51]MH_I2C_Read... [00:49:51]*** Stop cut motor [00:49:51]*** Cut end [00:49:51]Read from MH i2c: 01 07 00 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [00:49:51]process_action close_receipt done [00:49:51]requested_data is exist [00:49:51]produce_requested_data [00:49:51]requested_item fm.sn is exist - process it [00:49:51]wFMCommunicate request_size=4 [00:49:51]MH_SAM_APDU [00:49:51]CAPDU: 80 11 00 00 [00:49:51]Write to MH i2c: E2 08 00 C2 00 80 11 00 00 00 00 00 00 3C [00:49:51]Write i2c OK [00:49:51]MH_I2C_Read... [00:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:49:51]Read from MH i2c: E2 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 17 00 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 17 00 C2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 96 [00:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:49:51]wFMCommunicate OK [00:49:51]requested_item fd.num is exist - process it [00:49:51]SAM_PROTO_GetFieldsCounters [00:49:51]wFMCommunicate request_size=4 [00:49:51]MH_SAM_APDU [00:49:51]CAPDU: 80 13 00 00 [00:49:51]Write to MH i2c: E2 08 00 C3 00 80 13 00 00 00 00 00 00 3F [00:49:51]Write i2c OK [00:49:51]MH_I2C_Read... [00:49:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 62 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 62 00 C3 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 09 DE 00 00 0E 04 04 00 EF 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 3F [00:49: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 09 DE 00 00 0E 04 04 00 EF 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 [00:49:52]wFMCommunicate OK [00:49:52]SAM_PROTO_GetFieldsCounters done [00:49:52]requested_item shift.num is exist - process it [00:49:52]requested_item shift.opened is exist - process it [00:49:52]req_shift_opened [00:49:52]FM_GetShiftState [00:49:52]SAM_PROTO_GetShiftState [00:49:52]wFMCommunicate request_size=4 [00:49:52]MH_SAM_APDU [00:49:52]CAPDU: 80 13 01 00 [00:49:52]Write to MH i2c: E2 08 00 C4 00 80 13 01 00 00 00 00 00 41 [00:49:52]Write i2c OK [00:49:52]MH_I2C_Read... [00:49:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 0E 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 0E 00 C4 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 0C [00:49:52]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:49:52]wFMCommunicate OK [00:49:52]SAM_PROTO_GetShiftState done [00:49:52]FM_GetShiftState done [00:49:52]req_shift_opened done [00:49:52]requested_item shift.open_date is exist - process it [00:49:52]req_shift_open_date [00:49:52]req_shift_open_date done [00:49:52]requested_item shift.sale.total is exist - process it [00:49:52]SAM_PROTO_GetShiftData [00:49:52]wFMCommunicate request_size=4 [00:49:52]MH_SAM_APDU [00:49:52]CAPDU: 80 13 02 00 [00:49:52]Write to MH i2c: E2 08 00 C5 00 80 13 02 00 00 00 00 00 43 [00:49:52]Write i2c OK [00:49:52]MH_I2C_Read... [00:49:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 C5 00 00 A8 04 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 70 C6 70 04 02 00 70 C6 72 04 00 00 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 12 15 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 C2 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [00:49:52]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 95 00 6F 04 04 00 02 00 00 00 B1 04 02 00 70 C6 70 04 02 00 70 C6 72 04 00 00 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 12 15 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 C2 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:49:52]wFMCommunicate OK [00:49:52]wFMCommunicate request_size=4 [00:49:52]MH_SAM_APDU [00:49:52]CAPDU: 80 17 00 00 [00:49:52]Write to MH i2c: E2 08 00 C6 00 80 17 00 00 00 00 00 00 46 [00:49:52]Write i2c OK [00:49:52]MH_I2C_Read... [00:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 C6 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 51 [00:49:52]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:49:52]wFMCommunicate OK [00:49:52]wFMCommunicate request_size=4 [00:49:52]MH_SAM_APDU [00:49:52]CAPDU: 80 17 00 00 [00:49:52]Write to MH i2c: E2 08 00 C7 00 80 17 00 00 00 00 00 00 47 [00:49:52]Write i2c OK [00:49:52]MH_I2C_Read... [00:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:53]Read from MH i2c: E2 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 FD 00 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 FD 00 C7 00 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 12 [00:49:53]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:49:53]wFMCommunicate OK [00:49:53]wFMCommunicate request_size=4 [00:49:53]MH_SAM_APDU [00:49:53]CAPDU: 80 17 00 00 [00:49:53]Write to MH i2c: E2 08 00 C8 00 80 17 00 00 00 00 00 00 48 [00:49:53]Write i2c OK [00:49:53]MH_I2C_Read... [00:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:53]Read from MH i2c: E2 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 FD 00 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 FD 00 C8 00 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 90 00 BD [00:49:53]RAPDU: 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 90 00 [00:49:53]wFMCommunicate OK [00:49:53]wFMCommunicate request_size=4 [00:49:53]MH_SAM_APDU [00:49:53]CAPDU: 80 17 00 00 [00:49:53]Write to MH i2c: E2 08 00 C9 00 80 17 00 00 00 00 00 00 49 [00:49:53]Write i2c OK [00:49:53]MH_I2C_Read... [00:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [00:49:53]Read from MH i2c: E2 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 C5 00 [00:49:53]MH_I2C_Read... [00:49:53]Read from MH i2c: E2 C5 00 C9 00 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E [00:49:53]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:49:53]wFMCommunicate OK [00:49:53]SAM_PROTO_GetShiftData done [00:49:53]requested_item shift.sale.total_cash is exist - process it [00:49:53]requested_item shift.sale_refund.total is exist - process it [00:49:53]requested_item shift.sale_refund.total_cash is exist - process it [00:49:53]produce_requested_data done [00:49:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56841,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":508.00,"shift.sale.total_cash":508.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:49:53]process_action_free close_receipt [00:49:53]json_value_free [00:49:53]json_value_free done [00:49:53]process_json_proto returns [00:49:53]Send response to host [00:49:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56841,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":508.00,"shift.sale.total_cash":508.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:49:53]free response buf [00:49:53]execute_script done [00:49:53]execute_script returns [00:49:53]free content buf [00:49:53]Sock 7.Close socket [00:49:53]Sock 7.Thread stoped [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:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:30]accept exits with 9 [00:53:30]New connection [00:53:30]New thread 3066969444 created [00:53:30]Thread 3066826084 joined [00:53:30]Waiting for new connection... [00:53:30] Sock 9.Parse request [00:53:30]Sock 9.Check first char [00:53:30]Sock 9.First char is OK [00:53:30]request: POST /json_proto HTTP/1.0 [00:53:30]Method: POST [00:53:30]URL: /json_proto [00:53:30]Method is POST - this is cgi request [00:53:30]url: /json_proto [00:53:30]query_string will be loaded in cgi processing [00:53:30]execute_cgi json_proto POST (null) [00:53:30]execute_cgi path=json_proto method=POST [00:53:30]POST find Content-Length [00:53:30]Host: 172.17.39.4:8080 [00:53:30]Content-Length: 773 [00:53:30]Content-Type: application/json [00:53:30] [00:53:30]POST finish read [00:53:30]Found Content-Length = 773 [00:53:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129329", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:53:30]execute_script... [00:53: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)129329", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:53:30]POST & json_proto [00:53:30]process_json_proto [00:53:30]json parsed OK: [00:53:30]protocol is kg_v1.0 [00:53:30]action value=close_receipt [00:53:30]process_action close_receipt [00:53:30]cmd_close_receipt [00:53:30]MH_GetDate [00:53:30]Write to MH i2c: F0 00 00 CA 00 B9 [00:53:30]Write i2c OK [00:53:30]MH_I2C_Read... [00:53:30]Read from MH i2c: F0 [00:53:30]MH_I2C_Read... [00:53:30]Read from MH i2c: F0 09 00 [00:53:30]MH_I2C_Read... [00:53:30]Read from MH i2c: F0 09 00 CA 00 00 0B D0 91 66 2D 25 5D 64 A7 [00:53:30]GetLastDocTimeStamp 1720831788 [00:53:30]current date 1720832011 [00:53:30]FM_GetShiftState [00:53:30]SAM_PROTO_GetShiftState [00:53:30]wFMCommunicate request_size=4 [00:53:30]MH_SAM_APDU [00:53:30]CAPDU: 80 13 01 00 [00:53:30]Write to MH i2c: E2 08 00 CB 00 80 13 01 00 00 00 00 00 48 [00:53:30]Write i2c OK [00:53:30]MH_I2C_Read... [00:53:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:31]Read from MH i2c: E2 [00:53:31]MH_I2C_Read... [00:53:31]Read from MH i2c: E2 0E 00 [00:53:31]MH_I2C_Read... [00:53:31]Read from MH i2c: E2 0E 00 CB 00 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 13 [00:53:31]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:53:31]wFMCommunicate OK [00:53:31]SAM_PROTO_GetShiftState done [00:53:31]FM_GetShiftState done [00:53:31]opened in 1720830718 [00:53:31]opened+sec_in_day 1720917118 [00:53:31]quantity*price = 11000 [00:53:31]sum+1 = 11001 [00:53:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 3 13.07.2024 00:53 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56842 ФПД: 88309887889678 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T005331&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56842&fm=88309887889678&tin=02508201610067®Number=0000000000091208&sum=11000 0 [00:53:32]StoreToDocumentArchive [00:53:32]shift 495 fd 56842 [00:53:32]save to /storage/0495/doc_00056842 [00:53:32]save last doc name /storage/0495/doc_00056842 to /storage/kkm_last_doc_name [00:53:32]save OK [00:53:32]Clear old archive folders... [00:53:32]ProcessDocumentItem done err = 0, tmpTLVsize=293 [00:53:32]tlvbuf is 00568800 [00:53:32]SAM_PROTO_ClearQueue [00:53:32]wFMCommunicate request_size=4 [00:53:32]MH_SAM_APDU [00:53:32]CAPDU: 80 09 00 00 [00:53:32]Write to MH i2c: E2 08 00 D8 00 80 09 00 00 00 00 00 00 4A [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 D8 00 00 90 00 4C [00:53:32]RAPDU: 90 00 [00:53:32]wFMCommunicate OK [00:53:32]SAM_PROTO_ClearQueue done [00:53:32]KKMCreateOFDPacket [00:53:32]OFDProtocolAddRootSTLVToBuf [00:53:32]FM_MakeSignedData [00:53:32]FM_MakeSignedData [00:53:32]SAM_PROTO_SignData [00:53:32]wFMCommunicate request_size=4 [00:53:32]MH_SAM_APDU [00:53:32]CAPDU: 80 0D 01 02 [00:53:32]Write to MH i2c: E2 08 00 D9 00 80 0D 01 02 00 00 00 00 52 [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 D9 00 00 90 00 4D [00:53:32]RAPDU: 90 00 [00:53:32]wFMCommunicate OK [00:53:32]wFMCommunicate request_size=255 [00:53:32]MH_SAM_APDU [00:53:32]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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 0B D0 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [00:53:32]Write to MH i2c: E2 02 01 DA 00 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 0B D0 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 31 [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 DA 00 00 90 00 4E [00:53:32]RAPDU: 90 00 [00:53:32]wFMCommunicate OK [00:53:32]wFMCommunicate request_size=52 [00:53:32]MH_SAM_APDU [00:53:32]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DE 00 00 35 04 06 00 50 51 3F 7F 71 0E [00:53:32]Write to MH i2c: E2 37 00 DB 00 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DE 00 00 35 04 06 00 50 51 3F 7F 71 0E 00 00 E0 [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 03 00 DB 00 00 90 00 4F [00:53:32]RAPDU: 90 00 [00:53:32]wFMCommunicate OK [00:53:32]wFMCommunicate request_size=4 [00:53:32]MH_SAM_APDU [00:53:32]CAPDU: 80 0D 03 02 [00:53:32]Write to MH i2c: E2 08 00 DC 00 80 0D 03 02 00 00 00 00 57 [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 0B 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 0B 00 DC 00 00 94 9B 92 C8 06 72 84 F0 90 00 CD [00:53:32]RAPDU: 94 9B 92 C8 06 72 84 F0 90 00 [00:53:32]wFMCommunicate OK [00:53:32]SAM_PROTO_SignData done [00:53:32]FM_MakeSignedData done [00:53:32]CreateOFDProtocolMessage [00:53:32]wFMCommunicate request_size=4 [00:53:32]MH_SAM_APDU [00:53:32]CAPDU: 80 11 00 00 [00:53:32]Write to MH i2c: E2 08 00 DD 00 80 11 00 00 00 00 00 00 57 [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:32]Read from MH i2c: E2 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 17 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: E2 17 00 DD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B1 [00:53:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:53:32]wFMCommunicate OK [00:53:32]CreateOFDProtocolMessage done [00:53:32]OFDSenderStorePacket 56842 [00:53:32]StoreOFDPacket docnum=56842 [00:53:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 03 7A 31 01 61 F0 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 0B D0 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DE 00 00 35 04 06 00 50 51 3F 7F 71 0E 94 9B 92 C8 06 72 84 F0 [00:53:32]CheckFolder [00:53:32]dirname=/storage/ofd_packets [00:53:32]CheckFolder done [00:53:32]ProducePacketName [00:53:32]name=ofd_packets/00056842 [00:53:32]NVStorageSaveData ofd_packets/00056842 [00:53:32]File name is /storage/ofd_packets/00056842 [00:53:32]Write 343 bytes [00:53:32]NVStorageSaveData done [00:53:32]OFDSenderStorePacket done [00:53:32]KKMCreateOFDPacket done [00:53:32]NVStorageSaveData kkm_last_timestamp [00:53:32]File name is /storage/kkm_last_timestamp [00:53:32]Write 4 bytes [00:53:32]NVStorageSaveData done [00:53:32]ExternCall_PrintAddStr [00:53:32]wPrintStart [00:53:32]Write to MH i2c: 01 00 00 DE 00 DE [00:53:32]Write i2c OK [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: 01 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: 01 07 00 [00:53:32]MH_I2C_Read... [00:53:32]Read from MH i2c: 01 07 00 DE 00 00 00 00 00 00 FF 0F F3 [00:53:32]RasterBufferAndPrint [00:53:32]line Счет N : (3)129329 [00:53:32]line ИНН: 02508201610067 [00:53:32]line Контрольно-Кассовый Чек [00:53:32]line ПРОДАЖА [00:53:32]line Товар: 4870022003305 [00:53:32]line Напиток Gorilla эн нат ж/б 0,5/0,45л [00:53:32]line 1.000 * 110.00 [00:53:32]line = 110.00 [00:53:32]line НДС 12% НСП 1% [00:53:32]line > о реализуемом товаре [00:53:32]line ИТОГО: 110.00 [00:53:32]line НСП 1% : 0.97 [00:53:32]line НДС 12% : 11.68 [00:53:32]line Наличными: 110.00 [00:53:32]line Безнал.: 0.00 [00:53:32]line Место: АЗС № 132 "Партнер Нефть" [00:53:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:53:32]line СНО: Общий режим [00:53:32]line Чек 3 13.07.2024 00:53 [00:53:32]line Смена: 495 ФФД: 1.0 [00:53:32]line ЗНМ: 0300000132 [00:53:32]line РНМ: 0000000000091208 [00:53:32]line Версия ККМ: 001 [00:53:32]line ФМ: 0000000000874857 [00:53:32]line ФД: 56842 [00:53:32]line ФПД: 88309887889678 [00:53:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T005331&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56842&fm=88309887889678&tin=02508201610067®Number=0000000000091208&sum=11000 [00:53:33]OFD Sender: Processing packet 56842 [packets to send 38, broken 37] [00:53:33]ProducePacketName [00:53:33]name=ofd_packets/00056842 [00:53:33]OFD Sender: To server: pG, [00:53:33]CommunicateWithHost lk.salyk.kg:30040 [00:53:33]ConnectInit lk.salyk.kg [00:53:33]line 0 [00:53:33]written 0, free lines is 4095 [00:53:33]Connected sock=10 [00:53: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 38 35 37 39 01 00 00 03 7A 31 01 61 F0 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 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 0B D0 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DE 00 00 35 04 06 00 50 51 3F 7F 71 0E 94 9B 92 C8 06 72 84 F0 [00:53:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 84 3D 47 00 6D FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DE 00 00 F4 03 04 00 61 76 91 66 B6 04 01 00 00 4F 7C D9 96 02 8F BE D4 [00:53:33]CommunicateWithHost err = 0 [00:53:33]CheckOFDResponse [00:53:33]1017 (14) - 77093643461234 [00:53:33]1041 (16) - 0000000000874857 [00:53:33]1040 (4) - 56842 [00:53:33]1012 (4) - 12.07.2024 18:30 [00:53:33]1206 (1) - 0 [00:53:33]OFD Sender: Remove packet 56842 [00:53:33]ProducePacketName [00:53:33]name=ofd_packets/00056842 [00:53:33]NVStorageDeleteData [00:53:33]Write to MH i2c: 01 00 00 07 01 08 [00:53:33]Write i2c OK [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: 01 [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: 01 07 00 [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: 01 07 00 07 01 00 00 00 00 00 FC 0C 17 [00:53:33]RasterBufferAndPrint [00:53:33]line [00:53:33]line [00:53:33]line [00:53:33]line [00:53:33]line [00:53:33]written 0, free lines is 3330 [00:53:33]MH_Cut [00:53:33]Write to MH i2c: D1 01 00 0E 01 01 E1 [00:53:33]Write i2c OK [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: D1 [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: D1 01 00 [00:53:33]MH_I2C_Read... [00:53:33]Read from MH i2c: D1 01 00 0E 01 00 E0 [00:53:33]Write to MH i2c: 01 00 00 0F 01 10 [00:53:33]Write i2c OK [00:53:33]MH_I2C_Read... [00:53:33]OFD Sender: No OFD packet to send [00:53:34]*** Cut start [00:53:34]*** Partial cut [00:53:34]*** CUTSNS_PIN = 1 [00:53:34]*** CUTSNS_PIN = 0 [00:53:34]*** Brake cut motor [00:53:34]Read from MH i2c: 01 [00:53:34]MH_I2C_Read... [00:53:34]*** Stop cut motor [00:53:34]*** Cut end [00:53:34]Read from MH i2c: 01 07 00 [00:53:34]MH_I2C_Read... [00:53:34]Read from MH i2c: 01 07 00 0F 01 00 00 00 00 00 FF 0F 25 [00:53:34]process_action close_receipt done [00:53:34]requested_data is exist [00:53:34]produce_requested_data [00:53:34]requested_item fm.sn is exist - process it [00:53:34]wFMCommunicate request_size=4 [00:53:34]MH_SAM_APDU [00:53:34]CAPDU: 80 11 00 00 [00:53:34]Write to MH i2c: E2 08 00 10 01 80 11 00 00 00 00 00 00 8B [00:53:34]Write i2c OK [00:53:34]MH_I2C_Read... [00:53:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:34]Read from MH i2c: E2 [00:53:34]MH_I2C_Read... [00:53:34]Read from MH i2c: E2 17 00 [00:53:34]MH_I2C_Read... [00:53:34]Read from MH i2c: E2 17 00 10 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E5 [00:53:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:53:34]wFMCommunicate OK [00:53:34]requested_item fd.num is exist - process it [00:53:34]SAM_PROTO_GetFieldsCounters [00:53:34]wFMCommunicate request_size=4 [00:53:34]MH_SAM_APDU [00:53:34]CAPDU: 80 13 00 00 [00:53:34]Write to MH i2c: E2 08 00 11 01 80 13 00 00 00 00 00 00 8E [00:53:34]Write i2c OK [00:53:34]MH_I2C_Read... [00:53:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:53:35]Read from MH i2c: E2 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 62 00 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 62 00 11 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0A DE 00 00 0E 04 04 00 EF 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 92 [00:53: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0A DE 00 00 0E 04 04 00 EF 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 [00:53:35]wFMCommunicate OK [00:53:35]SAM_PROTO_GetFieldsCounters done [00:53:35]requested_item shift.num is exist - process it [00:53:35]requested_item shift.opened is exist - process it [00:53:35]req_shift_opened [00:53:35]FM_GetShiftState [00:53:35]SAM_PROTO_GetShiftState [00:53:35]wFMCommunicate request_size=4 [00:53:35]MH_SAM_APDU [00:53:35]CAPDU: 80 13 01 00 [00:53:35]Write to MH i2c: E2 08 00 12 01 80 13 01 00 00 00 00 00 90 [00:53:35]Write i2c OK [00:53:35]MH_I2C_Read... [00:53:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:35]Read from MH i2c: E2 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 0E 00 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 0E 00 12 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 5B [00:53:35]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [00:53:35]wFMCommunicate OK [00:53:35]SAM_PROTO_GetShiftState done [00:53:35]FM_GetShiftState done [00:53:35]req_shift_opened done [00:53:35]requested_item shift.open_date is exist - process it [00:53:35]req_shift_open_date [00:53:35]req_shift_open_date done [00:53:35]requested_item shift.sale.total is exist - process it [00:53:35]SAM_PROTO_GetShiftData [00:53:35]wFMCommunicate request_size=4 [00:53:35]MH_SAM_APDU [00:53:35]CAPDU: 80 13 02 00 [00:53:35]Write to MH i2c: E2 08 00 13 01 80 13 02 00 00 00 00 00 92 [00:53:35]Write i2c OK [00:53:35]MH_I2C_Read... [00:53:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:53:35]Read from MH i2c: E2 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 FD 00 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 FD 00 13 01 00 A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 68 F1 70 04 02 00 68 F1 72 04 00 00 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 A2 19 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 23 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CF [00:53:35]RAPDU: A8 04 AA 04 A4 04 6E 04 04 00 03 00 00 00 69 04 95 00 6F 04 04 00 03 00 00 00 B1 04 02 00 68 F1 70 04 02 00 68 F1 72 04 00 00 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 A2 19 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 23 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:53:35]wFMCommunicate OK [00:53:35]wFMCommunicate request_size=4 [00:53:35]MH_SAM_APDU [00:53:35]CAPDU: 80 17 00 00 [00:53:35]Write to MH i2c: E2 08 00 14 01 80 17 00 00 00 00 00 00 95 [00:53:35]Write i2c OK [00:53:35]MH_I2C_Read... [00:53:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:35]Read from MH i2c: E2 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 FD 00 [00:53:35]MH_I2C_Read... [00:53:35]Read from MH i2c: E2 FD 00 14 01 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A0 [00:53:35]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:53:35]wFMCommunicate OK [00:53:35]wFMCommunicate request_size=4 [00:53:35]MH_SAM_APDU [00:53:35]CAPDU: 80 17 00 00 [00:53:35]Write to MH i2c: E2 08 00 15 01 80 17 00 00 00 00 00 00 96 [00:53:35]Write i2c OK [00:53:35]MH_I2C_Read... [00:53:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:36]Read from MH i2c: E2 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 FD 00 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 FD 00 15 01 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [00:53:36]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:53:36]wFMCommunicate OK [00:53:36]wFMCommunicate request_size=4 [00:53:36]MH_SAM_APDU [00:53:36]CAPDU: 80 17 00 00 [00:53:36]Write to MH i2c: E2 08 00 16 01 80 17 00 00 00 00 00 00 97 [00:53:36]Write i2c OK [00:53:36]MH_I2C_Read... [00:53:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:36]Read from MH i2c: E2 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 FD 00 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 FD 00 16 01 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 90 00 0C [00:53:36]RAPDU: 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 90 00 [00:53:36]wFMCommunicate OK [00:53:36]wFMCommunicate request_size=4 [00:53:36]MH_SAM_APDU [00:53:36]CAPDU: 80 17 00 00 [00:53:36]Write to MH i2c: E2 08 00 17 01 80 17 00 00 00 00 00 00 98 [00:53:36]Write i2c OK [00:53:36]MH_I2C_Read... [00:53:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [00:53:36]Read from MH i2c: E2 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 C5 00 [00:53:36]MH_I2C_Read... [00:53:36]Read from MH i2c: E2 C5 00 17 01 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7D [00:53:36]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:53:36]wFMCommunicate OK [00:53:36]SAM_PROTO_GetShiftData done [00:53:36]requested_item shift.sale.total_cash is exist - process it [00:53:36]requested_item shift.sale_refund.total is exist - process it [00:53:36]requested_item shift.sale_refund.total_cash is exist - process it [00:53:36]produce_requested_data done [00:53:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56842,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":618.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:53:36]process_action_free close_receipt [00:53:36]json_value_free [00:53:36]json_value_free done [00:53:36]process_json_proto returns [00:53:36]Send response to host [00:53:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56842,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":618.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:53:36]free response buf [00:53:36]execute_script done [00:53:36]execute_script returns [00:53:36]free content buf [00:53:36]Sock 9.Close socket [00:53:36]Sock 9.Thread stoped [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:13]accept exits with 7 [01:03:13]New connection [01:03:13]New thread 3066826084 created [01:03:13]Thread 3066969444 joined [01:03:13]Waiting for new connection... [01:03:13] Sock 7.Parse request [01:03:13]Sock 7.Check first char [01:03:13]Sock 7.First char is OK [01:03:13]request: POST /json_proto HTTP/1.0 [01:03:13]Method: POST [01:03:13]URL: /json_proto [01:03:13]Method is POST - this is cgi request [01:03:13]url: /json_proto [01:03:13]query_string will be loaded in cgi processing [01:03:13]execute_cgi json_proto POST (null) [01:03:13]execute_cgi path=json_proto method=POST [01:03:13]POST find Content-Length [01:03:13]Host: 172.17.39.4:8080 [01:03:13]Content-Length: 941 [01:03:13]Content-Type: application/json [01:03:13] [01:03:13]POST finish read [01:03:13]Found Content-Length = 941 [01:03:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129330", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 2.000, "sum" : 650.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:03:13]execute_script... [01:03: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)129330", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 2.000, "sum" : 650.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 650.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:03:13]POST & json_proto [01:03:13]process_json_proto [01:03:13]json parsed OK: [01:03:13]protocol is kg_v1.0 [01:03:13]action value=close_receipt [01:03:13]process_action close_receipt [01:03:13]cmd_close_receipt [01:03:13]MH_GetDate [01:03:13]Write to MH i2c: F0 00 00 18 01 08 [01:03:13]Write i2c OK [01:03:13]MH_I2C_Read... [01:03:13]Read from MH i2c: F0 [01:03:13]MH_I2C_Read... [01:03:13]Read from MH i2c: F0 09 00 [01:03:13]MH_I2C_Read... [01:03:13]Read from MH i2c: F0 09 00 18 01 00 52 D2 91 66 2D 25 5D 64 3F [01:03:13]GetLastDocTimeStamp 1720832011 [01:03:13]current date 1720832594 [01:03:13]FM_GetShiftState [01:03:13]SAM_PROTO_GetShiftState [01:03:13]wFMCommunicate request_size=4 [01:03:13]MH_SAM_APDU [01:03:13]CAPDU: 80 13 01 00 [01:03:13]Write to MH i2c: E2 08 00 19 01 80 13 01 00 00 00 00 00 97 [01:03:13]Write i2c OK [01:03:13]MH_I2C_Read... [01:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:13]Read from MH i2c: E2 [01:03:13]MH_I2C_Read... [01:03:13]Read from MH i2c: E2 0E 00 [01:03:13]MH_I2C_Read... [01:03:13]Read from MH i2c: E2 0E 00 19 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 62 [01:03:13]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:03:13]wFMCommunicate OK [01:03:13]SAM_PROTO_GetShiftState done [01:03:13]FM_GetShiftState done [01:03:13]opened in 1720830718 [01:03:13]opened+sec_in_day 1720917118 [01:03:13]quantity*price = 65000 [01:03:13]sum+1 = 65001 [01:03:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 650.00 НСП 1% : 5.75 НДС 12% : 69.03 Наличными: 0.00 Безнал.: 650.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 4 13.07.2024 01:03 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56843 ФПД: 139881678544672 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56843&fm=139881678544672&tin=02508201610067®Number=0000000000091208&sum=65000 0 [01:03:15]StoreToDocumentArchive [01:03:15]shift 495 fd 56843 [01:03:15]save to /storage/0495/doc_00056843 [01:03:15]save last doc name /storage/0495/doc_00056843 to /storage/kkm_last_doc_name [01:03:15]save OK [01:03:15]Clear old archive folders... [01:03:15]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:03:15]tlvbuf is 00570B50 [01:03:15]SAM_PROTO_ClearQueue [01:03:15]wFMCommunicate request_size=4 [01:03:15]MH_SAM_APDU [01:03:15]CAPDU: 80 09 00 00 [01:03:15]Write to MH i2c: E2 08 00 26 01 80 09 00 00 00 00 00 00 99 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 26 01 00 90 00 9B [01:03:15]RAPDU: 90 00 [01:03:15]wFMCommunicate OK [01:03:15]SAM_PROTO_ClearQueue done [01:03:15]KKMCreateOFDPacket [01:03:15]OFDProtocolAddRootSTLVToBuf [01:03:15]FM_MakeSignedData [01:03:15]FM_MakeSignedData [01:03:15]SAM_PROTO_SignData [01:03:15]wFMCommunicate request_size=4 [01:03:15]MH_SAM_APDU [01:03:15]CAPDU: 80 0D 01 02 [01:03:15]Write to MH i2c: E2 08 00 27 01 80 0D 01 02 00 00 00 00 A1 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 27 01 00 90 00 9C [01:03:15]RAPDU: 90 00 [01:03:15]wFMCommunicate OK [01:03:15]wFMCommunicate request_size=255 [01:03:15]MH_SAM_APDU [01:03:15]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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 7E 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 52 D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [01:03:15]Write to MH i2c: E2 02 01 28 01 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 7E 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 52 D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 06 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 28 01 00 90 00 9D [01:03:15]RAPDU: 90 00 [01:03:15]wFMCommunicate OK [01:03:15]wFMCommunicate request_size=31 [01:03:15]MH_SAM_APDU [01:03:15]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 0B DE 00 00 35 04 06 00 7F 38 BD C2 9F 20 [01:03:15]Write to MH i2c: E2 22 00 29 01 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 0B DE 00 00 35 04 06 00 7F 38 BD C2 9F 20 00 00 B4 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 03 00 29 01 00 90 00 9E [01:03:15]RAPDU: 90 00 [01:03:15]wFMCommunicate OK [01:03:15]wFMCommunicate request_size=4 [01:03:15]MH_SAM_APDU [01:03:15]CAPDU: 80 0D 03 02 [01:03:15]Write to MH i2c: E2 08 00 2A 01 80 0D 03 02 00 00 00 00 A6 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 0B 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 0B 00 2A 01 00 F7 B6 52 95 1E E4 84 8B 90 00 4C [01:03:15]RAPDU: F7 B6 52 95 1E E4 84 8B 90 00 [01:03:15]wFMCommunicate OK [01:03:15]SAM_PROTO_SignData done [01:03:15]FM_MakeSignedData done [01:03:15]CreateOFDProtocolMessage [01:03:15]wFMCommunicate request_size=4 [01:03:15]MH_SAM_APDU [01:03:15]CAPDU: 80 11 00 00 [01:03:15]Write to MH i2c: E2 08 00 2B 01 80 11 00 00 00 00 00 00 A6 [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:15]Read from MH i2c: E2 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 17 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: E2 17 00 2B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 00 [01:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:03:15]wFMCommunicate OK [01:03:15]CreateOFDProtocolMessage done [01:03:15]OFDSenderStorePacket 56843 [01:03:15]StoreOFDPacket docnum=56843 [01:03:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 A2 87 1C 01 CD 45 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 7E 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 52 D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0B DE 00 00 35 04 06 00 7F 38 BD C2 9F 20 F7 B6 52 95 1E E4 84 8B [01:03:15]CheckFolder [01:03:15]dirname=/storage/ofd_packets [01:03:15]CheckFolder done [01:03:15]ProducePacketName [01:03:15]name=ofd_packets/00056843 [01:03:15]NVStorageSaveData ofd_packets/00056843 [01:03:15]File name is /storage/ofd_packets/00056843 [01:03:15]Write 322 bytes [01:03:15]NVStorageSaveData done [01:03:15]OFDSenderStorePacket done [01:03:15]KKMCreateOFDPacket done [01:03:15]NVStorageSaveData kkm_last_timestamp [01:03:15]File name is /storage/kkm_last_timestamp [01:03:15]Write 4 bytes [01:03:15]NVStorageSaveData done [01:03:15]ExternCall_PrintAddStr [01:03:15]wPrintStart [01:03:15]Write to MH i2c: 01 00 00 2C 01 2D [01:03:15]Write i2c OK [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: 01 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: 01 07 00 [01:03:15]MH_I2C_Read... [01:03:15]Read from MH i2c: 01 07 00 2C 01 00 00 00 00 00 FF 0F 42 [01:03:15]RasterBufferAndPrint [01:03:15]line Счет N : (3)129330 [01:03:15]line ИНН: 02508201610067 [01:03:15]line Контрольно-Кассовый Чек [01:03:15]line ПРОДАЖА [01:03:15]line Товар: 4700001610043 [01:03:15]line Пиво Арпа 1,5л ПЭТ [01:03:15]line 2.000 * 325.00 [01:03:15]line = 650.00 [01:03:15]line НДС 12% НСП 1% [01:03:15]line > о реализуемом товаре [01:03:15]line ИТОГО: 650.00 [01:03:15]line НСП 1% : 5.75 [01:03:15]line НДС 12% : 69.03 [01:03:15]line Наличными: 0.00 [01:03:15]line Безнал.: 650.00 [01:03:15]line Место: АЗС № 132 "Партнер Нефть" [01:03:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:03:15]line СНО: Общий режим [01:03:15]line Чек 4 13.07.2024 01:03 [01:03:15]line Смена: 495 ФФД: 1.0 [01:03:15]line ЗНМ: 0300000132 [01:03:15]line РНМ: 0000000000091208 [01:03:15]line Версия ККМ: 001 [01:03:15]line Платежная система: АКБ Кыргызстан [01:03:15]line ФМ: 0000000000874857 [01:03:15]line ФД: 56843 [01:03:15]line ФПД: 139881678544672 [01:03:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56843&fm=139881678544672&tin=02508201610067®Number=0000000000091208&sum=65000 [01:03:15]line 0 [01:03:15]OFD Sender: Processing packet 56843 [packets to send 38, broken 37] [01:03:15]ProducePacketName [01:03:15]name=ofd_packets/00056843 [01:03:15]OFD Sender: To server: pG, [01:03:15]CommunicateWithHost lk.salyk.kg:30040 [01:03:15]ConnectInit lk.salyk.kg [01:03:15]written 0, free lines is 4095 [01:03:16]Connected sock=10 [01:03: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 38 35 37 24 01 00 00 A2 87 1C 01 CD 45 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 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 7E 00 00 00 00 13 04 06 00 E8 FD 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 FD 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 52 D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0B DE 00 00 35 04 06 00 7F 38 BD C2 9F 20 F7 B6 52 95 1E E4 84 8B [01:03:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 6C 0B 47 00 25 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 38 35 37 10 04 04 00 0B DE 00 00 F4 03 04 00 A8 78 91 66 B6 04 01 00 00 90 2D B0 3D E3 D5 7B 27 [01:03:16]CommunicateWithHost err = 0 [01:03:16]CheckOFDResponse [01:03:16]1017 (14) - 77093643461234 [01:03:16]1041 (16) - 0000000000874857 [01:03:16]1040 (4) - 56843 [01:03:16]1012 (4) - 12.07.2024 18:40 [01:03:16]1206 (1) - 0 [01:03:16]OFD Sender: Remove packet 56843 [01:03:16]ProducePacketName [01:03:16]name=ofd_packets/00056843 [01:03:16]NVStorageDeleteData [01:03:16]Write to MH i2c: 01 00 00 56 01 57 [01:03:16]Write i2c OK [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: 01 [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: 01 07 00 [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: 01 07 00 56 01 00 00 00 00 00 01 0D 6C [01:03:16]RasterBufferAndPrint [01:03:16]line [01:03:16]line [01:03:16]line [01:03:16]line [01:03:16]line [01:03:16]written 0, free lines is 3334 [01:03:16]MH_Cut [01:03:16]Write to MH i2c: D1 01 00 5D 01 01 30 [01:03:16]Write i2c OK [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: D1 [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: D1 01 00 [01:03:16]MH_I2C_Read... [01:03:16]Read from MH i2c: D1 01 00 5D 01 00 2F [01:03:16]Write to MH i2c: 01 00 00 5E 01 5F [01:03:16]Write i2c OK [01:03:16]MH_I2C_Read... [01:03:16]OFD Sender: No OFD packet to send [01:03:17]*** Cut start [01:03:17]*** Partial cut [01:03:17]*** CUTSNS_PIN = 1 [01:03:17]*** CUTSNS_PIN = 0 [01:03:17]*** Brake cut motor [01:03:17]Read from MH i2c: 01 [01:03:17]MH_I2C_Read... [01:03:17]*** Stop cut motor [01:03:17]*** Cut end [01:03:17]Read from MH i2c: 01 07 00 [01:03:17]MH_I2C_Read... [01:03:17]Read from MH i2c: 01 07 00 5E 01 00 00 00 00 00 FF 0F 74 [01:03:17]process_action close_receipt done [01:03:17]requested_data is exist [01:03:17]produce_requested_data [01:03:17]requested_item fm.sn is exist - process it [01:03:17]wFMCommunicate request_size=4 [01:03:17]MH_SAM_APDU [01:03:17]CAPDU: 80 11 00 00 [01:03:17]Write to MH i2c: E2 08 00 5F 01 80 11 00 00 00 00 00 00 DA [01:03:17]Write i2c OK [01:03:17]MH_I2C_Read... [01:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:17]Read from MH i2c: E2 [01:03:17]MH_I2C_Read... [01:03:17]Read from MH i2c: E2 17 00 [01:03:17]MH_I2C_Read... [01:03:17]Read from MH i2c: E2 17 00 5F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 34 [01:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:03:17]wFMCommunicate OK [01:03:17]requested_item fd.num is exist - process it [01:03:17]SAM_PROTO_GetFieldsCounters [01:03:17]wFMCommunicate request_size=4 [01:03:17]MH_SAM_APDU [01:03:17]CAPDU: 80 13 00 00 [01:03:17]Write to MH i2c: E2 08 00 60 01 80 13 00 00 00 00 00 00 DD [01:03:17]Write i2c OK [01:03:17]MH_I2C_Read... [01:03:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:03:17]Read from MH i2c: E2 [01:03:17]MH_I2C_Read... [01:03:17]Read from MH i2c: E2 62 00 [01:03:17]MH_I2C_Read... [01:03:17]Read from MH i2c: E2 62 00 60 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0B DE 00 00 0E 04 04 00 EF 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 E5 [01:03: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0B DE 00 00 0E 04 04 00 EF 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 [01:03:17]wFMCommunicate OK [01:03:17]SAM_PROTO_GetFieldsCounters done [01:03:17]requested_item shift.num is exist - process it [01:03:17]requested_item shift.opened is exist - process it [01:03:17]req_shift_opened [01:03:17]FM_GetShiftState [01:03:17]SAM_PROTO_GetShiftState [01:03:17]wFMCommunicate request_size=4 [01:03:17]MH_SAM_APDU [01:03:17]CAPDU: 80 13 01 00 [01:03:17]Write to MH i2c: E2 08 00 61 01 80 13 01 00 00 00 00 00 DF [01:03:17]Write i2c OK [01:03:17]MH_I2C_Read... [01:03:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:18]Read from MH i2c: E2 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 0E 00 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 0E 00 61 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 AA [01:03:18]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:03:18]wFMCommunicate OK [01:03:18]SAM_PROTO_GetShiftState done [01:03:18]FM_GetShiftState done [01:03:18]req_shift_opened done [01:03:18]requested_item shift.open_date is exist - process it [01:03:18]req_shift_open_date [01:03:18]req_shift_open_date done [01:03:18]requested_item shift.sale.total is exist - process it [01:03:18]SAM_PROTO_GetShiftData [01:03:18]wFMCommunicate request_size=4 [01:03:18]MH_SAM_APDU [01:03:18]CAPDU: 80 13 02 00 [01:03:18]Write to MH i2c: E2 08 00 62 01 80 13 02 00 00 00 00 00 E1 [01:03:18]Write i2c OK [01:03:18]MH_I2C_Read... [01:03:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:03:18]Read from MH i2c: E2 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 FD 00 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 FD 00 62 01 00 AB 04 AA 04 A7 04 6E 04 04 00 04 00 00 00 69 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 50 EF 01 70 04 02 00 68 F1 72 04 02 00 E8 FD 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 99 34 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 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 50 [01:03:18]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 04 00 00 00 69 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 50 EF 01 70 04 02 00 68 F1 72 04 02 00 E8 FD 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 99 34 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 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:03:18]wFMCommunicate OK [01:03:18]wFMCommunicate request_size=4 [01:03:18]MH_SAM_APDU [01:03:18]CAPDU: 80 17 00 00 [01:03:18]Write to MH i2c: E2 08 00 63 01 80 17 00 00 00 00 00 00 E4 [01:03:18]Write i2c OK [01:03:18]MH_I2C_Read... [01:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:18]Read from MH i2c: E2 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 FD 00 [01:03:18]MH_I2C_Read... [01:03:18]Read from MH i2c: E2 FD 00 63 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [01:03:18]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:03:18]wFMCommunicate OK [01:03:18]wFMCommunicate request_size=4 [01:03:18]MH_SAM_APDU [01:03:18]CAPDU: 80 17 00 00 [01:03:18]Write to MH i2c: E2 08 00 64 01 80 17 00 00 00 00 00 00 E5 [01:03:18]Write i2c OK [01:03:18]MH_I2C_Read... [01:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:19]Read from MH i2c: E2 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 FD 00 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 FD 00 64 01 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [01:03:19]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:03:19]wFMCommunicate OK [01:03:19]wFMCommunicate request_size=4 [01:03:19]MH_SAM_APDU [01:03:19]CAPDU: 80 17 00 00 [01:03:19]Write to MH i2c: E2 08 00 65 01 80 17 00 00 00 00 00 00 E6 [01:03:19]Write i2c OK [01:03:19]MH_I2C_Read... [01:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:19]Read from MH i2c: E2 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 FD 00 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 FD 00 65 01 00 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 90 00 6C [01:03:19]RAPDU: 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 90 00 [01:03:19]wFMCommunicate OK [01:03:19]wFMCommunicate request_size=4 [01:03:19]MH_SAM_APDU [01:03:19]CAPDU: 80 17 00 00 [01:03:19]Write to MH i2c: E2 08 00 66 01 80 17 00 00 00 00 00 00 E7 [01:03:19]Write i2c OK [01:03:19]MH_I2C_Read... [01:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [01:03:19]Read from MH i2c: E2 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 C8 00 [01:03:19]MH_I2C_Read... [01:03:19]Read from MH i2c: E2 C8 00 66 01 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [01:03:19]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:03:19]wFMCommunicate OK [01:03:19]SAM_PROTO_GetShiftData done [01:03:19]requested_item shift.sale.total_cash is exist - process it [01:03:19]requested_item shift.sale_refund.total is exist - process it [01:03:19]requested_item shift.sale_refund.total_cash is exist - process it [01:03:19]produce_requested_data done [01:03:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56843,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1268.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:03:19]process_action_free close_receipt [01:03:19]json_value_free [01:03:19]json_value_free done [01:03:19]process_json_proto returns [01:03:19]Send response to host [01:03:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56843,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1268.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:03:19]free response buf [01:03:19]execute_script done [01:03:19]execute_script returns [01:03:19]free content buf [01:03:19]Sock 7.Close socket [01:03:19]Sock 7.Thread stoped [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:40]accept exits with 9 [01:03:40]New connection [01:03:40]New thread 3066969444 created [01:03:40]Thread 3066826084 joined [01:03:40]Waiting for new connection... [01:03:40] Sock 9.Parse request [01:03:40]Sock 9.Check first char [01:03:40]Sock 9.First char is OK [01:03:40]request: POST /json_proto HTTP/1.0 [01:03:40]Method: POST [01:03:40]URL: /json_proto [01:03:40]Method is POST - this is cgi request [01:03:40]url: /json_proto [01:03:40]query_string will be loaded in cgi processing [01:03:40]execute_cgi json_proto POST (null) [01:03:40]execute_cgi path=json_proto method=POST [01:03:40]POST find Content-Length [01:03:40]Host: 172.17.39.4:8080 [01:03:40]Content-Length: 1016 [01:03:40]Content-Type: application/json [01:03:40] [01:03:40]POST finish read [01:03:40]Found Content-Length = 1016 [01:03:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129331", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 2.000, "sum" : 220.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:03:40]execute_script... [01:03: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)129331", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 2.000, "sum" : 220.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:03:40]POST & json_proto [01:03:40]process_json_proto [01:03:40]json parsed OK: [01:03:40]protocol is kg_v1.0 [01:03:40]action value=close_receipt [01:03:40]process_action close_receipt [01:03:40]cmd_close_receipt [01:03:40]MH_GetDate [01:03:40]Write to MH i2c: F0 00 00 67 01 57 [01:03:40]Write i2c OK [01:03:40]MH_I2C_Read... [01:03:40]Read from MH i2c: F0 [01:03:40]MH_I2C_Read... [01:03:40]Read from MH i2c: F0 09 00 [01:03:40]MH_I2C_Read... [01:03:40]Read from MH i2c: F0 09 00 67 01 00 6D D2 91 66 2D 25 5D 64 A9 [01:03:40]GetLastDocTimeStamp 1720832594 [01:03:40]current date 1720832621 [01:03:40]FM_GetShiftState [01:03:40]SAM_PROTO_GetShiftState [01:03:40]wFMCommunicate request_size=4 [01:03:40]MH_SAM_APDU [01:03:40]CAPDU: 80 13 01 00 [01:03:40]Write to MH i2c: E2 08 00 68 01 80 13 01 00 00 00 00 00 E6 [01:03:40]Write i2c OK [01:03:40]MH_I2C_Read... [01:03:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:41]Read from MH i2c: E2 [01:03:41]MH_I2C_Read... [01:03:41]Read from MH i2c: E2 0E 00 [01:03:41]MH_I2C_Read... [01:03:41]Read from MH i2c: E2 0E 00 68 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 B1 [01:03:41]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:03:41]wFMCommunicate OK [01:03:41]SAM_PROTO_GetShiftState done [01:03:41]FM_GetShiftState done [01:03:41]opened in 1720830718 [01:03:41]opened+sec_in_day 1720917118 [01:03:41]quantity*price = 22000 [01:03:41]sum+1 = 22001 [01:03:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 0.00 Безнал.: 220.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 5 13.07.2024 01:03 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56844 ФПД: 229171707799016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56844&fm=229171707799016&tin=02508201610067®Number=0000000000091208&sum=22000 0 [01:03:42]StoreToDocumentArchive [01:03:42]shift 495 fd 56844 [01:03:42]save to /storage/0495/doc_00056844 [01:03:42]save last doc name /storage/0495/doc_00056844 to /storage/kkm_last_doc_name [01:03:42]save OK [01:03:42]Clear old archive folders... [01:03:42]ProcessDocumentItem done err = 0, tmpTLVsize=303 [01:03:42]tlvbuf is 00570720 [01:03:42]SAM_PROTO_ClearQueue [01:03:42]wFMCommunicate request_size=4 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 09 00 00 [01:03:42]Write to MH i2c: E2 08 00 75 01 80 09 00 00 00 00 00 00 E8 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 75 01 00 90 00 EA [01:03:42]RAPDU: 90 00 [01:03:42]wFMCommunicate OK [01:03:42]SAM_PROTO_ClearQueue done [01:03:42]KKMCreateOFDPacket [01:03:42]OFDProtocolAddRootSTLVToBuf [01:03:42]FM_MakeSignedData [01:03:42]FM_MakeSignedData [01:03:42]SAM_PROTO_SignData [01:03:42]wFMCommunicate request_size=4 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 0D 01 02 [01:03:42]Write to MH i2c: E2 08 00 76 01 80 0D 01 02 00 00 00 00 F0 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 76 01 00 90 00 EB [01:03:42]RAPDU: 90 00 [01:03:42]wFMCommunicate OK [01:03:42]wFMCommunicate request_size=255 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 6E D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D [01:03:42]Write to MH i2c: E2 02 01 77 01 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 6E D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 00 00 58 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 77 01 00 90 00 EC [01:03:42]RAPDU: 90 00 [01:03:42]wFMCommunicate OK [01:03:42]wFMCommunicate request_size=62 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DE 00 00 35 04 06 00 D0 6E 32 3C 65 E8 [01:03:42]Write to MH i2c: E2 41 00 78 01 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DE 00 00 35 04 06 00 D0 6E 32 3C 65 E8 00 00 13 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 03 00 78 01 00 90 00 ED [01:03:42]RAPDU: 90 00 [01:03:42]wFMCommunicate OK [01:03:42]wFMCommunicate request_size=4 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 0D 03 02 [01:03:42]Write to MH i2c: E2 08 00 79 01 80 0D 03 02 00 00 00 00 F5 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 0B 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 0B 00 79 01 00 C3 3E E6 7D B8 08 56 06 90 00 76 [01:03:42]RAPDU: C3 3E E6 7D B8 08 56 06 90 00 [01:03:42]wFMCommunicate OK [01:03:42]SAM_PROTO_SignData done [01:03:42]FM_MakeSignedData done [01:03:42]CreateOFDProtocolMessage [01:03:42]wFMCommunicate request_size=4 [01:03:42]MH_SAM_APDU [01:03:42]CAPDU: 80 11 00 00 [01:03:42]Write to MH i2c: E2 08 00 7A 01 80 11 00 00 00 00 00 00 F5 [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:42]Read from MH i2c: E2 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 17 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: E2 17 00 7A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [01:03:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:03:42]wFMCommunicate OK [01:03:42]CreateOFDProtocolMessage done [01:03:42]OFDSenderStorePacket 56844 [01:03:42]StoreOFDPacket docnum=56844 [01:03:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 1B C5 3B 01 B2 CC 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 6E D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DE 00 00 35 04 06 00 D0 6E 32 3C 65 E8 C3 3E E6 7D B8 08 56 06 [01:03:42]CheckFolder [01:03:42]dirname=/storage/ofd_packets [01:03:42]CheckFolder done [01:03:42]ProducePacketName [01:03:42]name=ofd_packets/00056844 [01:03:42]NVStorageSaveData ofd_packets/00056844 [01:03:42]File name is /storage/ofd_packets/00056844 [01:03:42]Write 353 bytes [01:03:42]NVStorageSaveData done [01:03:42]OFDSenderStorePacket done [01:03:42]KKMCreateOFDPacket done [01:03:42]NVStorageSaveData kkm_last_timestamp [01:03:42]File name is /storage/kkm_last_timestamp [01:03:42]Write 4 bytes [01:03:42]NVStorageSaveData done [01:03:42]ExternCall_PrintAddStr [01:03:42]wPrintStart [01:03:42]Write to MH i2c: 01 00 00 7B 01 7C [01:03:42]Write i2c OK [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: 01 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: 01 07 00 [01:03:42]MH_I2C_Read... [01:03:42]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 FF 0F 91 [01:03:42]RasterBufferAndPrint [01:03:42]line Счет N : (3)129331 [01:03:42]line ИНН: 02508201610067 [01:03:42]line Контрольно-Кассовый Чек [01:03:42]line ПРОДАЖА [01:03:42]line Товар: 4870202521216 [01:03:42]line Напиток MAXI чай 1,2 зел.лимон (новый) [01:03:42]line 2.000 * 110.00 [01:03:42]line = 220.00 [01:03:42]line НДС 12% НСП 1% [01:03:42]line > о реализуемом товаре [01:03:42]line ИТОГО: 220.00 [01:03:42]line НСП 1% : 1.95 [01:03:42]line НДС 12% : 23.36 [01:03:42]line Наличными: 0.00 [01:03:42]line Безнал.: 220.00 [01:03:42]line Место: АЗС № 132 "Партнер Нефть" [01:03:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:03:42]line СНО: Общий режим [01:03:42]line Чек 5 13.07.2024 01:03 [01:03:42]line Смена: 495 ФФД: 1.0 [01:03:42]line ЗНМ: 0300000132 [01:03:42]line РНМ: 0000000000091208 [01:03:42]line Версия ККМ: 001 [01:03:42]line Платежная система: АКБ Кыргызстан [01:03:42]line ФМ: 0000000000874857 [01:03:42]line ФД: 56844 [01:03:42]line ФПД: 229171707799016 [01:03:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56844&fm=229171707799016&tin=02508201610067®Number=0000000000091208&sum=22000 [01:03:43]line 0 [01:03:43]OFD Sender: Processing packet 56844 [packets to send 38, broken 37] [01:03:43]ProducePacketName [01:03:43]name=ofd_packets/00056844 [01:03:43]OFD Sender: To server: pG, [01:03:43]CommunicateWithHost lk.salyk.kg:30040 [01:03:43]ConnectInit lk.salyk.kg [01:03:43]written 0, free lines is 4095 [01:03:43]Connected sock=10 [01:03: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 38 35 37 43 01 00 00 1B C5 3B 01 B2 CC 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 6E D2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DE 00 00 35 04 06 00 D0 6E 32 3C 65 E8 C3 3E E6 7D B8 08 56 06 [01:03:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 00 4F 47 00 D6 9B 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 38 35 37 10 04 04 00 0C DE 00 00 F4 03 04 00 C3 78 91 66 B6 04 01 00 00 66 7C 8A 72 F8 E5 67 25 [01:03:43]CommunicateWithHost err = 0 [01:03:43]CheckOFDResponse [01:03:43]1017 (14) - 77093643461234 [01:03:43]1041 (16) - 0000000000874857 [01:03:43]1040 (4) - 56844 [01:03:43]1012 (4) - 12.07.2024 18:41 [01:03:43]1206 (1) - 0 [01:03:43]OFD Sender: Remove packet 56844 [01:03:43]ProducePacketName [01:03:43]name=ofd_packets/00056844 [01:03:43]NVStorageDeleteData [01:03:43]Write to MH i2c: 01 00 00 A6 01 A7 [01:03:43]Write i2c OK [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: 01 [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: 01 07 00 [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: 01 07 00 A6 01 00 00 00 00 00 E7 0C A1 [01:03:43]RasterBufferAndPrint [01:03:43]line [01:03:43]line [01:03:43]line [01:03:43]line [01:03:43]line [01:03:43]written 0, free lines is 3309 [01:03:43]MH_Cut [01:03:43]Write to MH i2c: D1 01 00 AD 01 01 80 [01:03:43]Write i2c OK [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: D1 [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: D1 01 00 [01:03:43]MH_I2C_Read... [01:03:43]Read from MH i2c: D1 01 00 AD 01 00 7F [01:03:43]Write to MH i2c: 01 00 00 AE 01 AF [01:03:43]Write i2c OK [01:03:43]MH_I2C_Read... [01:03:43]OFD Sender: No OFD packet to send [01:03:44]*** Cut start [01:03:44]*** Partial cut [01:03:44]*** CUTSNS_PIN = 1 [01:03:44]*** CUTSNS_PIN = 0 [01:03:44]*** Brake cut motor [01:03:44]Read from MH i2c: 01 [01:03:44]MH_I2C_Read... [01:03:44]*** Stop cut motor [01:03:44]*** Cut end [01:03:44]Read from MH i2c: 01 07 00 [01:03:44]MH_I2C_Read... [01:03:44]Read from MH i2c: 01 07 00 AE 01 00 00 00 00 00 FF 0F C4 [01:03:44]process_action close_receipt done [01:03:44]requested_data is exist [01:03:44]produce_requested_data [01:03:44]requested_item fm.sn is exist - process it [01:03:44]wFMCommunicate request_size=4 [01:03:44]MH_SAM_APDU [01:03:44]CAPDU: 80 11 00 00 [01:03:44]Write to MH i2c: E2 08 00 AF 01 80 11 00 00 00 00 00 00 2A [01:03:44]Write i2c OK [01:03:44]MH_I2C_Read... [01:03:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:44]Read from MH i2c: E2 [01:03:44]MH_I2C_Read... [01:03:44]Read from MH i2c: E2 17 00 [01:03:44]MH_I2C_Read... [01:03:44]Read from MH i2c: E2 17 00 AF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [01:03:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:03:44]wFMCommunicate OK [01:03:44]requested_item fd.num is exist - process it [01:03:44]SAM_PROTO_GetFieldsCounters [01:03:44]wFMCommunicate request_size=4 [01:03:44]MH_SAM_APDU [01:03:44]CAPDU: 80 13 00 00 [01:03:44]Write to MH i2c: E2 08 00 B0 01 80 13 00 00 00 00 00 00 2D [01:03:44]Write i2c OK [01:03:44]MH_I2C_Read... [01:03:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:03:45]Read from MH i2c: E2 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 62 00 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 62 00 B0 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0C DE 00 00 0E 04 04 00 EF 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 39 [01:03: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0C DE 00 00 0E 04 04 00 EF 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 [01:03:45]wFMCommunicate OK [01:03:45]SAM_PROTO_GetFieldsCounters done [01:03:45]requested_item shift.num is exist - process it [01:03:45]requested_item shift.opened is exist - process it [01:03:45]req_shift_opened [01:03:45]FM_GetShiftState [01:03:45]SAM_PROTO_GetShiftState [01:03:45]wFMCommunicate request_size=4 [01:03:45]MH_SAM_APDU [01:03:45]CAPDU: 80 13 01 00 [01:03:45]Write to MH i2c: E2 08 00 B1 01 80 13 01 00 00 00 00 00 2F [01:03:45]Write i2c OK [01:03:45]MH_I2C_Read... [01:03:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:45]Read from MH i2c: E2 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 0E 00 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 0E 00 B1 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 FA [01:03:45]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:03:45]wFMCommunicate OK [01:03:45]SAM_PROTO_GetShiftState done [01:03:45]FM_GetShiftState done [01:03:45]req_shift_opened done [01:03:45]requested_item shift.open_date is exist - process it [01:03:45]req_shift_open_date [01:03:45]req_shift_open_date done [01:03:45]requested_item shift.sale.total is exist - process it [01:03:45]SAM_PROTO_GetShiftData [01:03:45]wFMCommunicate request_size=4 [01:03:45]MH_SAM_APDU [01:03:45]CAPDU: 80 13 02 00 [01:03:45]Write to MH i2c: E2 08 00 B2 01 80 13 02 00 00 00 00 00 31 [01:03:45]Write i2c OK [01:03:45]MH_I2C_Read... [01:03:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:03:45]Read from MH i2c: E2 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 FD 00 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 FD 00 B2 01 00 AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 40 45 02 70 04 02 00 68 F1 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 3D 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 25 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 21 [01:03:45]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 40 45 02 70 04 02 00 68 F1 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 3D 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 25 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:03:45]wFMCommunicate OK [01:03:45]wFMCommunicate request_size=4 [01:03:45]MH_SAM_APDU [01:03:45]CAPDU: 80 17 00 00 [01:03:45]Write to MH i2c: E2 08 00 B3 01 80 17 00 00 00 00 00 00 34 [01:03:45]Write i2c OK [01:03:45]MH_I2C_Read... [01:03:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:45]Read from MH i2c: E2 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 FD 00 [01:03:45]MH_I2C_Read... [01:03:45]Read from MH i2c: E2 FD 00 B3 01 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 49 [01:03:45]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 [01:03:45]wFMCommunicate OK [01:03:45]wFMCommunicate request_size=4 [01:03:45]MH_SAM_APDU [01:03:45]CAPDU: 80 17 00 00 [01:03:45]Write to MH i2c: E2 08 00 B4 01 80 17 00 00 00 00 00 00 35 [01:03:45]Write i2c OK [01:03:45]MH_I2C_Read... [01:03:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:46]Read from MH i2c: E2 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 FD 00 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 FD 00 B4 01 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 F6 [01:03:46]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 [01:03:46]wFMCommunicate OK [01:03:46]wFMCommunicate request_size=4 [01:03:46]MH_SAM_APDU [01:03:46]CAPDU: 80 17 00 00 [01:03:46]Write to MH i2c: E2 08 00 B5 01 80 17 00 00 00 00 00 00 36 [01:03:46]Write i2c OK [01:03:46]MH_I2C_Read... [01:03:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:03:46]Read from MH i2c: E2 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 FD 00 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 FD 00 B5 01 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 AB [01:03:46]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 [01:03:46]wFMCommunicate OK [01:03:46]wFMCommunicate request_size=4 [01:03:46]MH_SAM_APDU [01:03:46]CAPDU: 80 17 00 00 [01:03:46]Write to MH i2c: E2 08 00 B6 01 80 17 00 00 00 00 00 00 37 [01:03:46]Write i2c OK [01:03:46]MH_I2C_Read... [01:03:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [01:03:46]Read from MH i2c: E2 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 C9 00 [01:03:46]MH_I2C_Read... [01:03:46]Read from MH i2c: E2 C9 00 B6 01 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1B [01:03:46]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 [01:03:46]wFMCommunicate OK [01:03:46]SAM_PROTO_GetShiftData done [01:03:46]requested_item shift.sale.total_cash is exist - process it [01:03:46]requested_item shift.sale_refund.total is exist - process it [01:03:46]requested_item shift.sale_refund.total_cash is exist - process it [01:03:46]produce_requested_data done [01:03:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56844,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1488.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:03:46]process_action_free close_receipt [01:03:46]json_value_free [01:03:46]json_value_free done [01:03:46]process_json_proto returns [01:03:46]Send response to host [01:03:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56844,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1488.00,"shift.sale.total_cash":618.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:03:46]free response buf [01:03:46]execute_script done [01:03:46]execute_script returns [01:03:46]free content buf [01:03:46]Sock 9.Close socket [01:03:46]Sock 9.Thread stoped [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:16]accept exits with 7 [01:07:16]New connection [01:07:16]New thread 3066826084 created [01:07:16]Thread 3066969444 joined [01:07:16]Waiting for new connection... [01:07:16] Sock 7.Parse request [01:07:16]Sock 7.Check first char [01:07:16]Sock 7.First char is OK [01:07:16]request: POST /json_proto HTTP/1.0 [01:07:16]Method: POST [01:07:16]URL: /json_proto [01:07:16]Method is POST - this is cgi request [01:07:16]url: /json_proto [01:07:16]query_string will be loaded in cgi processing [01:07:16]execute_cgi json_proto POST (null) [01:07:16]execute_cgi path=json_proto method=POST [01:07:16]POST find Content-Length [01:07:16]Host: 172.17.39.4:8080 [01:07:16]Content-Length: 1369 [01:07:16]Content-Type: application/json [01:07:16] [01:07:16]POST finish read [01:07:16]Found Content-Length = 1369 [01:07:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129332", "tax_sys" : 0, "items" : [ { "code": "7622201448707", "name": "\u0428\u043E\u043A AG \u043C\u043E\u043B \u0444\u0443\u043D\u0434\u0443\u043A \u0438\u0437\u044E\u043C \u0444\u043B\u043E\u0443-\u043F\u0430\u043A 90\u0433 (\u043D\u043E\u0432", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030024", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043E\u043F\u0447\u0435\u043D\u043D\u044B\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:07:16]execute_script... [01:07:16]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)129332", "tax_sys" : 0, "items" : [ { "code": "7622201448707", "name": "\u0428\u043E\u043A AG \u043C\u043E\u043B \u0444\u0443\u043D\u0434\u0443\u043A \u0438\u0437\u044E\u043C \u0444\u043B\u043E\u0443-\u043F\u0430\u043A 90\u0433 (\u043D\u043E\u0432", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030024", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043E\u043F\u0447\u0435\u043D\u043D\u044B\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:07:16]POST & json_proto [01:07:16]process_json_proto [01:07:16]json parsed OK: [01:07:16]protocol is kg_v1.0 [01:07:16]action value=close_receipt [01:07:16]process_action close_receipt [01:07:16]cmd_close_receipt [01:07:16]MH_GetDate [01:07:16]Write to MH i2c: F0 00 00 B7 01 A7 [01:07:16]Write i2c OK [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: F0 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: F0 09 00 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: F0 09 00 B7 01 00 45 D3 91 66 2D 25 5D 64 D2 [01:07:16]GetLastDocTimeStamp 1720832622 [01:07:16]current date 1720832837 [01:07:16]FM_GetShiftState [01:07:16]SAM_PROTO_GetShiftState [01:07:16]wFMCommunicate request_size=4 [01:07:16]MH_SAM_APDU [01:07:16]CAPDU: 80 13 01 00 [01:07:16]Write to MH i2c: E2 08 00 B8 01 80 13 01 00 00 00 00 00 36 [01:07:16]Write i2c OK [01:07:16]MH_I2C_Read... [01:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:16]Read from MH i2c: E2 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: E2 0E 00 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: E2 0E 00 B8 01 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 01 [01:07:16]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:07:16]wFMCommunicate OK [01:07:16]SAM_PROTO_GetShiftState done [01:07:16]FM_GetShiftState done [01:07:16]opened in 1720830718 [01:07:16]opened+sec_in_day 1720917118 [01:07:16]quantity*price = 14500 [01:07:16]sum+1 = 14501 [01:07:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030024 Курут копченный 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030017 Курут классический 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.14 НДС 12% : 25.80 Наличными: 243.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 6 13.07.2024 01:07 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56845 ФПД: 202892440671628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010717&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56845&fm=202892440671628&tin=02508201610067®Number=0000000000091208&sum=24300 0 [01:07:17]StoreToDocumentArchive [01:07:17]shift 495 fd 56845 [01:07:17]save to /storage/0495/doc_00056845 [01:07:17]save last doc name /storage/0495/doc_00056845 to /storage/kkm_last_doc_name [01:07:17]save OK [01:07:17]Clear old archive folders... [01:07:17]ProcessDocumentItem done err = 0, tmpTLVsize=517 [01:07:17]tlvbuf is 0054CA20 [01:07:17]SAM_PROTO_ClearQueue [01:07:17]wFMCommunicate request_size=4 [01:07:17]MH_SAM_APDU [01:07:17]CAPDU: 80 09 00 00 [01:07:17]Write to MH i2c: E2 08 00 C5 01 80 09 00 00 00 00 00 00 38 [01:07:17]Write i2c OK [01:07:17]MH_I2C_Read... [01:07:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:07:17]Read from MH i2c: E2 [01:07:17]MH_I2C_Read... [01:07:17]Read from MH i2c: E2 03 00 [01:07:17]MH_I2C_Read... [01:07:17]Read from MH i2c: E2 03 00 C5 01 00 90 00 3A [01:07:17]RAPDU: 90 00 [01:07:17]wFMCommunicate OK [01:07:17]SAM_PROTO_ClearQueue done [01:07:17]KKMCreateOFDPacket [01:07:17]OFDProtocolAddRootSTLVToBuf [01:07:17]FM_MakeSignedData [01:07:17]FM_MakeSignedData [01:07:17]SAM_PROTO_SignData [01:07:17]wFMCommunicate request_size=4 [01:07:17]MH_SAM_APDU [01:07:17]CAPDU: 80 0D 01 02 [01:07:17]Write to MH i2c: E2 08 00 C6 01 80 0D 01 02 00 00 00 00 40 [01:07:17]Write i2c OK [01:07:17]MH_I2C_Read... [01:07:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:07:17]Read from MH i2c: E2 [01:07:17]MH_I2C_Read... [01:07:17]Read from MH i2c: E2 03 00 [01:07:17]MH_I2C_Read... [01:07:17]Read from MH i2c: E2 03 00 C6 01 00 90 00 3B [01:07:17]RAPDU: 90 00 [01:07:17]wFMCommunicate OK [01:07:17]wFMCommunicate request_size=255 [01:07:17]MH_SAM_APDU [01:07:17]CAPDU: 80 0D 02 02 FA 03 00 05 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 37 36 32 32 32 30 31 34 34 38 37 30 37 06 04 43 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D0 B8 D0 B7 D1 8E D0 BC 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 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 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 [01:07:18]Write to MH i2c: E2 02 01 C7 01 80 0D 02 02 FA 00 03 00 05 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 37 36 32 32 32 30 31 34 34 38 37 30 37 06 04 43 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D0 B8 D0 B7 D1 8E D0 BC 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 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 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 00 00 91 [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:18]Read from MH i2c: E2 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 C7 01 00 90 00 3C [01:07:18]RAPDU: 90 00 [01:07:18]wFMCommunicate OK [01:07:18]wFMCommunicate request_size=255 [01:07:18]MH_SAM_APDU [01:07:18]CAPDU: 80 0D 02 02 FA 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 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 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 45 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 [01:07:18]Write to MH i2c: E2 02 01 C8 01 80 0D 02 02 FA 00 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 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 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 45 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 00 00 A8 [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:18]Read from MH i2c: E2 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 C8 01 00 90 00 3D [01:07:18]RAPDU: 90 00 [01:07:18]wFMCommunicate OK [01:07:18]wFMCommunicate request_size=26 [01:07:18]MH_SAM_APDU [01:07:18]CAPDU: 80 0D 02 02 15 38 35 37 10 04 04 00 0D DE 00 00 35 04 06 00 B8 87 93 DA 95 8C [01:07:18]Write to MH i2c: E2 1D 00 C9 01 80 0D 02 02 15 00 38 35 37 10 04 04 00 0D DE 00 00 35 04 06 00 B8 87 93 DA 95 8C 00 00 21 [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:18]Read from MH i2c: E2 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 03 00 C9 01 00 90 00 3E [01:07:18]RAPDU: 90 00 [01:07:18]wFMCommunicate OK [01:07:18]wFMCommunicate request_size=4 [01:07:18]MH_SAM_APDU [01:07:18]CAPDU: 80 0D 03 02 [01:07:18]Write to MH i2c: E2 08 00 CA 01 80 0D 03 02 00 00 00 00 46 [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:07:18]Read from MH i2c: E2 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 0B 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 0B 00 CA 01 00 78 3D 43 05 E0 80 73 97 90 00 AE [01:07:18]RAPDU: 78 3D 43 05 E0 80 73 97 90 00 [01:07:18]wFMCommunicate OK [01:07:18]SAM_PROTO_SignData done [01:07:18]FM_MakeSignedData done [01:07:18]CreateOFDProtocolMessage [01:07:18]wFMCommunicate request_size=4 [01:07:18]MH_SAM_APDU [01:07:18]CAPDU: 80 11 00 00 [01:07:18]Write to MH i2c: E2 08 00 CB 01 80 11 00 00 00 00 00 00 46 [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:18]Read from MH i2c: E2 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 17 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: E2 17 00 CB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [01:07:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:07:18]wFMCommunicate OK [01:07:18]CreateOFDProtocolMessage done [01:07:18]OFDSenderStorePacket 56845 [01:07:18]StoreOFDPacket docnum=56845 [01:07:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 19 02 00 00 F0 50 11 02 E9 46 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 37 36 32 32 32 30 31 34 34 38 37 30 37 06 04 43 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D0 B8 D0 B7 D1 8E D0 BC 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 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 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 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 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 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 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 45 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DE 00 00 35 04 06 00 B8 87 93 DA 95 8C 78 3D 43 05 E0 80 73 97 [01:07:18]CheckFolder [01:07:18]dirname=/storage/ofd_packets [01:07:18]CheckFolder done [01:07:18]ProducePacketName [01:07:18]name=ofd_packets/00056845 [01:07:18]NVStorageSaveData ofd_packets/00056845 [01:07:18]File name is /storage/ofd_packets/00056845 [01:07:18]Write 567 bytes [01:07:18]NVStorageSaveData done [01:07:18]OFDSenderStorePacket done [01:07:18]KKMCreateOFDPacket done [01:07:18]NVStorageSaveData kkm_last_timestamp [01:07:18]File name is /storage/kkm_last_timestamp [01:07:18]Write 4 bytes [01:07:18]NVStorageSaveData done [01:07:18]ExternCall_PrintAddStr [01:07:18]wPrintStart [01:07:18]Write to MH i2c: 01 00 00 CC 01 CD [01:07:18]Write i2c OK [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: 01 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: 01 07 00 [01:07:18]MH_I2C_Read... [01:07:18]Read from MH i2c: 01 07 00 CC 01 00 00 00 00 00 FF 0F E2 [01:07:18]RasterBufferAndPrint [01:07:18]line Счет N : (3)129332 [01:07:18]line ИНН: 02508201610067 [01:07:18]line Контрольно-Кассовый Чек [01:07:18]line ПРОДАЖА [01:07:18]line Товар: 7622201448707 [01:07:18]line Шок AG мол фундук изюм флоу-пак 90г (нов [01:07:18]line 1.000 * 145.00 [01:07:18]line = 145.00 [01:07:18]line НДС 12% НСП 1% [01:07:18]line > о реализуемом товаре [01:07:18]line Товар: 4700026030024 [01:07:18]line Курут копченный [01:07:18]line 1.000 * 49.00 [01:07:18]line = 49.00 [01:07:18]line НДС 12% НСП 1% [01:07:18]line > о реализуемом товаре [01:07:18]line Товар: 4700026030017 [01:07:18]line Курут классический [01:07:18]line 1.000 * 49.00 [01:07:18]line = 49.00 [01:07:18]line НДС 12% НСП 1% [01:07:18]line > о реализуемом товаре [01:07:18]line ИТОГО: 243.00 [01:07:18]line НСП 1% : 2.14 [01:07:18]line НДС 12% : 25.80 [01:07:18]line Наличными: 243.00 [01:07:18]line Безнал.: 0.00 [01:07:18]line Место: АЗС № 132 "Партнер Нефть" [01:07:18]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:07:18]line СНО: Общий режим [01:07:18]line Чек 6 13.07.2024 01:07 [01:07:18]line Смена: 495 ФФД: 1.0 [01:07:18]line ЗНМ: 0300000132 [01:07:18]line РНМ: 0000000000091208 [01:07:18]line Версия ККМ: 001 [01:07:18]line ФМ: 0000000000874857 [01:07:18]line ФД: 56845 [01:07:18]line ФПД: 202892440671628 [01:07:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010717&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56845&fm=202892440671628&tin=02508201610067®Number=0000000000091208&sum=24300 [01:07:19]line 0 [01:07:19]OFD Sender: Processing packet 56845 [packets to send 38, broken 37] [01:07:19]ProducePacketName [01:07:19]name=ofd_packets/00056845 [01:07:19]OFD Sender: To server: pG, [01:07:19]CommunicateWithHost lk.salyk.kg:30040 [01:07:19]ConnectInit lk.salyk.kg [01:07:19]written 0, free lines is 4095 [01:07:19]Connected sock=10 [01:07: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 38 35 37 19 02 00 00 F0 50 11 02 E9 46 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 37 36 32 32 32 30 31 34 34 38 37 30 37 06 04 43 00 D0 A8 D0 BE D0 BA 20 41 47 20 D0 BC D0 BE D0 BB 20 D1 84 D1 83 D0 BD D0 B4 D1 83 D0 BA 20 D0 B8 D0 B7 D1 8E D0 BC 20 D1 84 D0 BB D0 BE D1 83 2D D0 BF D0 B0 D0 BA 20 39 30 D0 B3 20 28 D0 BD D0 BE D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 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 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 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 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 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 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 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 45 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DE 00 00 35 04 06 00 B8 87 93 DA 95 8C 78 3D 43 05 E0 80 73 97 [01:07:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 FD E8 47 00 F1 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DE 00 00 F4 03 04 00 9B 79 91 66 B6 04 01 00 00 ED 51 AC 6E C5 DD 80 45 [01:07:19]CommunicateWithHost err = 0 [01:07:19]CheckOFDResponse [01:07:19]1017 (14) - 77093643461234 [01:07:19]1041 (16) - 0000000000874857 [01:07:19]1040 (4) - 56845 [01:07:19]1012 (4) - 12.07.2024 18:44 [01:07:19]1206 (1) - 0 [01:07:19]OFD Sender: Remove packet 56845 [01:07:19]ProducePacketName [01:07:19]name=ofd_packets/00056845 [01:07:19]NVStorageDeleteData [01:07:19]Write to MH i2c: 01 00 00 01 02 03 [01:07:19]Write i2c OK [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: 01 [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: 01 07 00 [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: 01 07 00 01 02 00 00 00 00 00 5E 0C 74 [01:07:19]RasterBufferAndPrint [01:07:19]line [01:07:19]line [01:07:19]line [01:07:19]line [01:07:19]line [01:07:19]written 0, free lines is 3172 [01:07:19]MH_Cut [01:07:19]Write to MH i2c: D1 01 00 08 02 01 DC [01:07:19]Write i2c OK [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: D1 [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: D1 01 00 [01:07:19]MH_I2C_Read... [01:07:19]Read from MH i2c: D1 01 00 08 02 00 DB [01:07:19]Write to MH i2c: 01 00 00 09 02 0B [01:07:19]Write i2c OK [01:07:19]MH_I2C_Read... [01:07:19]OFD Sender: No OFD packet to send [01:07:20]*** Cut start [01:07:20]*** Partial cut [01:07:20]*** CUTSNS_PIN = 1 [01:07:20]*** CUTSNS_PIN = 0 [01:07:20]*** Brake cut motor [01:07:21]Read from MH i2c: 01 [01:07:21]MH_I2C_Read... [01:07:21]*** Stop cut motor [01:07:21]*** Cut end [01:07:21]Read from MH i2c: 01 07 00 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: 01 07 00 09 02 00 00 00 00 00 FF 0F 20 [01:07:21]process_action close_receipt done [01:07:21]requested_data is exist [01:07:21]produce_requested_data [01:07:21]requested_item fm.sn is exist - process it [01:07:21]wFMCommunicate request_size=4 [01:07:21]MH_SAM_APDU [01:07:21]CAPDU: 80 11 00 00 [01:07:21]Write to MH i2c: E2 08 00 0A 02 80 11 00 00 00 00 00 00 86 [01:07:21]Write i2c OK [01:07:21]MH_I2C_Read... [01:07:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:21]Read from MH i2c: E2 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 17 00 [01:07:21]MH_I2C_Read... [01:07:21]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 38 35 37 90 00 E0 [01:07:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:07:21]wFMCommunicate OK [01:07:21]requested_item fd.num is exist - process it [01:07:21]SAM_PROTO_GetFieldsCounters [01:07:21]wFMCommunicate request_size=4 [01:07:21]MH_SAM_APDU [01:07:21]CAPDU: 80 13 00 00 [01:07:21]Write to MH i2c: E2 08 00 0B 02 80 13 00 00 00 00 00 00 89 [01:07:21]Write i2c OK [01:07:21]MH_I2C_Read... [01:07:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:07:21]Read from MH i2c: E2 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 62 00 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 62 00 0B 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DE 00 00 0E 04 04 00 EF 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 99 [01:07: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DE 00 00 0E 04 04 00 EF 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 [01:07:21]wFMCommunicate OK [01:07:21]SAM_PROTO_GetFieldsCounters done [01:07:21]requested_item shift.num is exist - process it [01:07:21]requested_item shift.opened is exist - process it [01:07:21]req_shift_opened [01:07:21]FM_GetShiftState [01:07:21]SAM_PROTO_GetShiftState [01:07:21]wFMCommunicate request_size=4 [01:07:21]MH_SAM_APDU [01:07:21]CAPDU: 80 13 01 00 [01:07:21]Write to MH i2c: E2 08 00 0C 02 80 13 01 00 00 00 00 00 8B [01:07:21]Write i2c OK [01:07:21]MH_I2C_Read... [01:07:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:21]Read from MH i2c: E2 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 0E 00 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 0E 00 0C 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 56 [01:07:21]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:07:21]wFMCommunicate OK [01:07:21]SAM_PROTO_GetShiftState done [01:07:21]FM_GetShiftState done [01:07:21]req_shift_opened done [01:07:21]requested_item shift.open_date is exist - process it [01:07:21]req_shift_open_date [01:07:21]req_shift_open_date done [01:07:21]requested_item shift.sale.total is exist - process it [01:07:21]SAM_PROTO_GetShiftData [01:07:21]wFMCommunicate request_size=4 [01:07:21]MH_SAM_APDU [01:07:21]CAPDU: 80 13 02 00 [01:07:21]Write to MH i2c: E2 08 00 0D 02 80 13 02 00 00 00 00 00 8D [01:07:21]Write i2c OK [01:07:21]MH_I2C_Read... [01:07:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:07:21]Read from MH i2c: E2 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 FD 00 [01:07:21]MH_I2C_Read... [01:07:21]Read from MH i2c: E2 FD 00 0D 02 00 AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 2C A4 02 70 04 03 00 54 50 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CD 47 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 FB 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 0E [01:07:21]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 2C A4 02 70 04 03 00 54 50 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CD 47 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 FB 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:07:21]wFMCommunicate OK [01:07:21]wFMCommunicate request_size=4 [01:07:21]MH_SAM_APDU [01:07:21]CAPDU: 80 17 00 00 [01:07:21]Write to MH i2c: E2 08 00 0E 02 80 17 00 00 00 00 00 00 90 [01:07:21]Write i2c OK [01:07:21]MH_I2C_Read... [01:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:07:22]Read from MH i2c: E2 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 0E 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 A2 [01:07:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:07:22]wFMCommunicate OK [01:07:22]wFMCommunicate request_size=4 [01:07:22]MH_SAM_APDU [01:07:22]CAPDU: 80 17 00 00 [01:07:22]Write to MH i2c: E2 08 00 0F 02 80 17 00 00 00 00 00 00 91 [01:07:22]Write i2c OK [01:07:22]MH_I2C_Read... [01:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:07:22]Read from MH i2c: E2 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 0F 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 55 [01:07:22]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:07:22]wFMCommunicate OK [01:07:22]wFMCommunicate request_size=4 [01:07:22]MH_SAM_APDU [01:07:22]CAPDU: 80 17 00 00 [01:07:22]Write to MH i2c: E2 08 00 10 02 80 17 00 00 00 00 00 00 92 [01:07:22]Write i2c OK [01:07:22]MH_I2C_Read... [01:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:07:22]Read from MH i2c: E2 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 FD 00 10 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 07 [01:07:22]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:07:22]wFMCommunicate OK [01:07:22]wFMCommunicate request_size=4 [01:07:22]MH_SAM_APDU [01:07:22]CAPDU: 80 17 00 00 [01:07:22]Write to MH i2c: E2 08 00 11 02 80 17 00 00 00 00 00 00 93 [01:07:22]Write i2c OK [01:07:22]MH_I2C_Read... [01:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:07:22]Read from MH i2c: E2 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 CA 00 [01:07:22]MH_I2C_Read... [01:07:22]Read from MH i2c: E2 CA 00 11 02 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 78 [01:07:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:07:22]wFMCommunicate OK [01:07:22]SAM_PROTO_GetShiftData done [01:07:22]requested_item shift.sale.total_cash is exist - process it [01:07:22]requested_item shift.sale_refund.total is exist - process it [01:07:22]requested_item shift.sale_refund.total_cash is exist - process it [01:07:22]produce_requested_data done [01:07:22]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56845,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1731.00,"shift.sale.total_cash":861.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:07:22]process_action_free close_receipt [01:07:22]json_value_free [01:07:22]json_value_free done [01:07:22]process_json_proto returns [01:07:22]Send response to host [01:07:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56845,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1731.00,"shift.sale.total_cash":861.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:07:22]free response buf [01:07:22]execute_script done [01:07:22]execute_script returns [01:07:22]free content buf [01:07:22]Sock 7.Close socket [01:07:22]Sock 7.Thread stoped [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:11]accept exits with 9 [01:08:11]New connection [01:08:11]New thread 3066969444 created [01:08:11]Thread 3066826084 joined [01:08:11]Waiting for new connection... [01:08:11] Sock 9.Parse request [01:08:11]Sock 9.Check first char [01:08:11]Sock 9.First char is OK [01:08:11]request: POST /json_proto HTTP/1.0 [01:08:11]Method: POST [01:08:11]URL: /json_proto [01:08:11]Method is POST - this is cgi request [01:08:11]url: /json_proto [01:08:11]query_string will be loaded in cgi processing [01:08:11]execute_cgi json_proto POST (null) [01:08:11]execute_cgi path=json_proto method=POST [01:08:11]POST find Content-Length [01:08:11]Host: 172.17.39.4:8080 [01:08:11]Content-Length: 726 [01:08:11]Content-Type: application/json [01:08:11] [01:08:11]POST finish read [01:08:11]Found Content-Length = 726 [01:08:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129333", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:08:11]execute_script... [01:08:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129333", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:08:11]POST & json_proto [01:08:11]process_json_proto [01:08:11]json parsed OK: [01:08:11]protocol is kg_v1.0 [01:08:11]action value=close_receipt [01:08:11]process_action close_receipt [01:08:11]cmd_close_receipt [01:08:11]MH_GetDate [01:08:11]Write to MH i2c: F0 00 00 12 02 03 [01:08:11]Write i2c OK [01:08:11]MH_I2C_Read... [01:08:11]Read from MH i2c: F0 [01:08:11]MH_I2C_Read... [01:08:11]Read from MH i2c: F0 09 00 [01:08:11]MH_I2C_Read... [01:08:11]Read from MH i2c: F0 09 00 12 02 00 7C D3 91 66 2D 25 5D 64 65 [01:08:11]GetLastDocTimeStamp 1720832837 [01:08:11]current date 1720832892 [01:08:11]FM_GetShiftState [01:08:11]SAM_PROTO_GetShiftState [01:08:11]wFMCommunicate request_size=4 [01:08:11]MH_SAM_APDU [01:08:11]CAPDU: 80 13 01 00 [01:08:11]Write to MH i2c: E2 08 00 13 02 80 13 01 00 00 00 00 00 92 [01:08:11]Write i2c OK [01:08:11]MH_I2C_Read... [01:08:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:11]Read from MH i2c: E2 [01:08:11]MH_I2C_Read... [01:08:11]Read from MH i2c: E2 0E 00 [01:08:11]MH_I2C_Read... [01:08:11]Read from MH i2c: E2 0E 00 13 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 5D [01:08:11]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:08:11]wFMCommunicate OK [01:08:11]SAM_PROTO_GetShiftState done [01:08:11]FM_GetShiftState done [01:08:11]opened in 1720830718 [01:08:11]opened+sec_in_day 1720917118 [01:08:11]quantity*price = 13800 [01:08:11]sum+1 = 13801 [01:08:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 7 13.07.2024 01:08 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56846 ФПД: 240687319237984 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010812&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56846&fm=240687319237984&tin=02508201610067®Number=0000000000091208&sum=13800 0 [01:08:13]StoreToDocumentArchive [01:08:13]shift 495 fd 56846 [01:08:13]save to /storage/0495/doc_00056846 [01:08:13]save last doc name /storage/0495/doc_00056846 to /storage/kkm_last_doc_name [01:08:13]save OK [01:08:13]Clear old archive folders... [01:08:13]ProcessDocumentItem done err = 0, tmpTLVsize=274 [01:08:13]tlvbuf is 005507B0 [01:08:13]SAM_PROTO_ClearQueue [01:08:13]wFMCommunicate request_size=4 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 09 00 00 [01:08:13]Write to MH i2c: E2 08 00 20 02 80 09 00 00 00 00 00 00 94 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 20 02 00 90 00 96 [01:08:13]RAPDU: 90 00 [01:08:13]wFMCommunicate OK [01:08:13]SAM_PROTO_ClearQueue done [01:08:13]KKMCreateOFDPacket [01:08:13]OFDProtocolAddRootSTLVToBuf [01:08:13]FM_MakeSignedData [01:08:13]FM_MakeSignedData [01:08:13]SAM_PROTO_SignData [01:08:13]wFMCommunicate request_size=4 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 0D 01 02 [01:08:13]Write to MH i2c: E2 08 00 21 02 80 0D 01 02 00 00 00 00 9C [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 21 02 00 90 00 97 [01:08:13]RAPDU: 90 00 [01:08:13]wFMCommunicate OK [01:08:13]wFMCommunicate request_size=255 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 7C D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [01:08:13]Write to MH i2c: E2 02 01 22 02 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 7C D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 11 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 22 02 00 90 00 98 [01:08:13]RAPDU: 90 00 [01:08:13]wFMCommunicate OK [01:08:13]wFMCommunicate request_size=33 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DE 00 00 35 04 06 00 DA E7 62 2A 45 60 [01:08:13]Write to MH i2c: E2 24 00 23 02 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DE 00 00 35 04 06 00 DA E7 62 2A 45 60 00 00 13 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 03 00 23 02 00 90 00 99 [01:08:13]RAPDU: 90 00 [01:08:13]wFMCommunicate OK [01:08:13]wFMCommunicate request_size=4 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 0D 03 02 [01:08:13]Write to MH i2c: E2 08 00 24 02 80 0D 03 02 00 00 00 00 A1 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 0B 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 0B 00 24 02 00 AB F9 D3 B8 C1 76 26 4C 90 00 7A [01:08:13]RAPDU: AB F9 D3 B8 C1 76 26 4C 90 00 [01:08:13]wFMCommunicate OK [01:08:13]SAM_PROTO_SignData done [01:08:13]FM_MakeSignedData done [01:08:13]CreateOFDProtocolMessage [01:08:13]wFMCommunicate request_size=4 [01:08:13]MH_SAM_APDU [01:08:13]CAPDU: 80 11 00 00 [01:08:13]Write to MH i2c: E2 08 00 25 02 80 11 00 00 00 00 00 00 A1 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:13]Read from MH i2c: E2 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 17 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: E2 17 00 25 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FB [01:08:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:08:13]wFMCommunicate OK [01:08:13]CreateOFDProtocolMessage done [01:08:13]OFDSenderStorePacket 56846 [01:08:13]StoreOFDPacket docnum=56846 [01:08:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 D1 00 1E 01 26 8A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 7C D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DE 00 00 35 04 06 00 DA E7 62 2A 45 60 AB F9 D3 B8 C1 76 26 4C [01:08:13]CheckFolder [01:08:13]dirname=/storage/ofd_packets [01:08:13]CheckFolder done [01:08:13]ProducePacketName [01:08:13]name=ofd_packets/00056846 [01:08:13]NVStorageSaveData ofd_packets/00056846 [01:08:13]File name is /storage/ofd_packets/00056846 [01:08:13]Write 324 bytes [01:08:13]NVStorageSaveData done [01:08:13]OFDSenderStorePacket done [01:08:13]KKMCreateOFDPacket done [01:08:13]NVStorageSaveData kkm_last_timestamp [01:08:13]File name is /storage/kkm_last_timestamp [01:08:13]Write 4 bytes [01:08:13]NVStorageSaveData done [01:08:13]OFD Sender: Processing packet 56846 [packets to send 38, broken 37] [01:08:13]ProducePacketName [01:08:13]name=ofd_packets/00056846 [01:08:13]OFD Sender: To server: pG, [01:08:13]CommunicateWithHost lk.salyk.kg:30040 [01:08:13]ConnectInit lk.salyk.kg [01:08:13]ExternCall_PrintAddStr [01:08:13]wPrintStart [01:08:13]Write to MH i2c: 01 00 00 26 02 28 [01:08:13]Write i2c OK [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: 01 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: 01 07 00 [01:08:13]MH_I2C_Read... [01:08:13]Read from MH i2c: 01 07 00 26 02 00 00 00 00 00 FF 0F 3D [01:08:13]RasterBufferAndPrint [01:08:13]line Счет N : (3)129333 [01:08:13]line ИНН: 02508201610067 [01:08:13]line Контрольно-Кассовый Чек [01:08:13]line ПРОДАЖА [01:08:13]line Товар: 4640030091645 [01:08:13]line Сигареты ESSE Exchange M [01:08:13]line 1.000 * 138.00 [01:08:13]line = 138.00 [01:08:13]line НДС 12% НСП 1% [01:08:13]line > о реализуемом товаре [01:08:13]line ИТОГО: 138.00 [01:08:13]line НСП 1% : 1.22 [01:08:13]line НДС 12% : 14.65 [01:08:13]line Наличными: 138.00 [01:08:13]line Безнал.: 0.00 [01:08:13]line Место: АЗС № 132 "Партнер Нефть" [01:08:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:08:13]line СНО: Общий режим [01:08:13]line Чек 7 13.07.2024 01:08 [01:08:13]line Смена: 495 ФФД: 1.0 [01:08:13]line ЗНМ: 0300000132 [01:08:13]line РНМ: 0000000000091208 [01:08:13]line Версия ККМ: 001 [01:08:13]line ФМ: 0000000000874857 [01:08:13]line ФД: 56846 [01:08:13]line ФПД: 240687319237984 [01:08:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010812&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56846&fm=240687319237984&tin=02508201610067®Number=0000000000091208&sum=13800 [01:08:13]line 0 [01:08:13]Connected sock=11 [01:08:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 D1 00 1E 01 26 8A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 7C D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DE 00 00 35 04 06 00 DA E7 62 2A 45 60 AB F9 D3 B8 C1 76 26 4C [01:08:13]written 0, free lines is 4095 [01:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 18 4F 47 00 5A 68 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 38 35 37 10 04 04 00 0E DE 00 00 F4 03 04 00 D2 79 91 66 B6 04 01 00 00 BE B6 EC 53 95 5B 6B 38 [01:08:14]CommunicateWithHost err = 0 [01:08:14]CheckOFDResponse [01:08:14]1017 (14) - 77093643461234 [01:08:14]1041 (16) - 0000000000874857 [01:08:14]1040 (4) - 56846 [01:08:14]1012 (4) - 12.07.2024 18:45 [01:08:14]1206 (1) - 0 [01:08:14]OFD Sender: Remove packet 56846 [01:08:14]ProducePacketName [01:08:14]name=ofd_packets/00056846 [01:08:14]NVStorageDeleteData [01:08:14]Write to MH i2c: 01 00 00 4E 02 50 [01:08:14]Write i2c OK [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: 01 [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: 01 07 00 [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: 01 07 00 4E 02 00 00 00 00 00 1C 0D 80 [01:08:14]RasterBufferAndPrint [01:08:14]line [01:08:14]line [01:08:14]line [01:08:14]line [01:08:14]line [01:08:14]written 0, free lines is 3362 [01:08:14]MH_Cut [01:08:14]Write to MH i2c: D1 01 00 55 02 01 29 [01:08:14]Write i2c OK [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: D1 [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: D1 01 00 [01:08:14]MH_I2C_Read... [01:08:14]Read from MH i2c: D1 01 00 55 02 00 28 [01:08:14]Write to MH i2c: 01 00 00 56 02 58 [01:08:14]Write i2c OK [01:08:14]MH_I2C_Read... [01:08:14]OFD Sender: No OFD packet to send [01:08:15]*** Cut start [01:08:15]*** Partial cut [01:08:15]*** CUTSNS_PIN = 1 [01:08:15]*** CUTSNS_PIN = 0 [01:08:15]*** Brake cut motor [01:08:15]Read from MH i2c: 01 [01:08:15]MH_I2C_Read... [01:08:15]*** Stop cut motor [01:08:15]*** Cut end [01:08:15]Read from MH i2c: 01 07 00 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: 01 07 00 56 02 00 00 00 00 00 FF 0F 6D [01:08:15]process_action close_receipt done [01:08:15]requested_data is exist [01:08:15]produce_requested_data [01:08:15]requested_item fm.sn is exist - process it [01:08:15]wFMCommunicate request_size=4 [01:08:15]MH_SAM_APDU [01:08:15]CAPDU: 80 11 00 00 [01:08:15]Write to MH i2c: E2 08 00 57 02 80 11 00 00 00 00 00 00 D3 [01:08:15]Write i2c OK [01:08:15]MH_I2C_Read... [01:08:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:15]Read from MH i2c: E2 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 17 00 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 17 00 57 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2D [01:08:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:08:15]wFMCommunicate OK [01:08:15]requested_item fd.num is exist - process it [01:08:15]SAM_PROTO_GetFieldsCounters [01:08:15]wFMCommunicate request_size=4 [01:08:15]MH_SAM_APDU [01:08:15]CAPDU: 80 13 00 00 [01:08:15]Write to MH i2c: E2 08 00 58 02 80 13 00 00 00 00 00 00 D6 [01:08:15]Write i2c OK [01:08:15]MH_I2C_Read... [01:08:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:08:15]Read from MH i2c: E2 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 62 00 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 62 00 58 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0E DE 00 00 0E 04 04 00 EF 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 EA [01:08:15]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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0E DE 00 00 0E 04 04 00 EF 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 [01:08:15]wFMCommunicate OK [01:08:15]SAM_PROTO_GetFieldsCounters done [01:08:15]requested_item shift.num is exist - process it [01:08:15]requested_item shift.opened is exist - process it [01:08:15]req_shift_opened [01:08:15]FM_GetShiftState [01:08:15]SAM_PROTO_GetShiftState [01:08:15]wFMCommunicate request_size=4 [01:08:15]MH_SAM_APDU [01:08:15]CAPDU: 80 13 01 00 [01:08:15]Write to MH i2c: E2 08 00 59 02 80 13 01 00 00 00 00 00 D8 [01:08:15]Write i2c OK [01:08:15]MH_I2C_Read... [01:08:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:15]Read from MH i2c: E2 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 0E 00 [01:08:15]MH_I2C_Read... [01:08:15]Read from MH i2c: E2 0E 00 59 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 A3 [01:08:15]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:08:15]wFMCommunicate OK [01:08:15]SAM_PROTO_GetShiftState done [01:08:15]FM_GetShiftState done [01:08:15]req_shift_opened done [01:08:15]requested_item shift.open_date is exist - process it [01:08:15]req_shift_open_date [01:08:15]req_shift_open_date done [01:08:15]requested_item shift.sale.total is exist - process it [01:08:15]SAM_PROTO_GetShiftData [01:08:15]wFMCommunicate request_size=4 [01:08:15]MH_SAM_APDU [01:08:15]CAPDU: 80 13 02 00 [01:08:15]Write to MH i2c: E2 08 00 5A 02 80 13 02 00 00 00 00 00 DA [01:08:15]Write i2c OK [01:08:15]MH_I2C_Read... [01:08:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:08:16]Read from MH i2c: E2 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 5A 02 00 AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 14 DA 02 70 04 03 00 3C 86 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 86 4D 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 75 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 D3 [01:08:16]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 07 00 00 00 69 04 9A 00 6F 04 04 00 07 00 00 00 B1 04 03 00 14 DA 02 70 04 03 00 3C 86 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 86 4D 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 75 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:08:16]wFMCommunicate OK [01:08:16]wFMCommunicate request_size=4 [01:08:16]MH_SAM_APDU [01:08:16]CAPDU: 80 17 00 00 [01:08:16]Write to MH i2c: E2 08 00 5B 02 80 17 00 00 00 00 00 00 DD [01:08:16]Write i2c OK [01:08:16]MH_I2C_Read... [01:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:16]Read from MH i2c: E2 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 5B 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 EF [01:08:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:08:16]wFMCommunicate OK [01:08:16]wFMCommunicate request_size=4 [01:08:16]MH_SAM_APDU [01:08:16]CAPDU: 80 17 00 00 [01:08:16]Write to MH i2c: E2 08 00 5C 02 80 17 00 00 00 00 00 00 DE [01:08:16]Write i2c OK [01:08:16]MH_I2C_Read... [01:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:16]Read from MH i2c: E2 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 [01:08:16]MH_I2C_Read... [01:08:16]Read from MH i2c: E2 FD 00 5C 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 A2 [01:08:16]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:08:16]wFMCommunicate OK [01:08:16]wFMCommunicate request_size=4 [01:08:16]MH_SAM_APDU [01:08:16]CAPDU: 80 17 00 00 [01:08:16]Write to MH i2c: E2 08 00 5D 02 80 17 00 00 00 00 00 00 DF [01:08:16]Write i2c OK [01:08:16]MH_I2C_Read... [01:08:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:17]Read from MH i2c: E2 [01:08:17]MH_I2C_Read... [01:08:17]Read from MH i2c: E2 FD 00 [01:08:17]MH_I2C_Read... [01:08:17]Read from MH i2c: E2 FD 00 5D 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 54 [01:08:17]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:08:17]wFMCommunicate OK [01:08:17]wFMCommunicate request_size=4 [01:08:17]MH_SAM_APDU [01:08:17]CAPDU: 80 17 00 00 [01:08:17]Write to MH i2c: E2 08 00 5E 02 80 17 00 00 00 00 00 00 E0 [01:08:17]Write i2c OK [01:08:17]MH_I2C_Read... [01:08:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:08:17]Read from MH i2c: E2 [01:08:17]MH_I2C_Read... [01:08:17]Read from MH i2c: E2 CA 00 [01:08:17]MH_I2C_Read... [01:08:17]Read from MH i2c: E2 CA 00 5E 02 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 C5 [01:08:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:08:17]wFMCommunicate OK [01:08:17]SAM_PROTO_GetShiftData done [01:08:17]requested_item shift.sale.total_cash is exist - process it [01:08:17]requested_item shift.sale_refund.total is exist - process it [01:08:17]requested_item shift.sale_refund.total_cash is exist - process it [01:08:17]produce_requested_data done [01:08:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56846,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1869.00,"shift.sale.total_cash":999.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:08:17]process_action_free close_receipt [01:08:17]json_value_free [01:08:17]json_value_free done [01:08:17]process_json_proto returns [01:08:17]Send response to host [01:08:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56846,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":1869.00,"shift.sale.total_cash":999.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:08:17]free response buf [01:08:17]execute_script done [01:08:17]execute_script returns [01:08:17]free content buf [01:08:17]Sock 9.Close socket [01:08:17]Sock 9.Thread stoped [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:53]accept exits with 7 [01:08:53]New connection [01:08:53]New thread 3066826084 created [01:08:53]Thread 3066969444 joined [01:08:53]Waiting for new connection... [01:08:53] Sock 7.Parse request [01:08:53]Sock 7.Check first char [01:08:53]Sock 7.First char is OK [01:08:53]request: POST /json_proto HTTP/1.0 [01:08:53]Method: POST [01:08:53]URL: /json_proto [01:08:53]Method is POST - this is cgi request [01:08:53]url: /json_proto [01:08:53]query_string will be loaded in cgi processing [01:08:53]execute_cgi json_proto POST (null) [01:08:53]execute_cgi path=json_proto method=POST [01:08:53]POST find Content-Length [01:08:53]Host: 172.17.39.4:8080 [01:08:53]Content-Length: 728 [01:08:53]Content-Type: application/json [01:08:53] [01:08:53]POST finish read [01:08:53]Found Content-Length = 728 [01:08:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129334", "tax_sys" : 0, "items" : [ { "code": "46227751", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:08:53]execute_script... [01:08: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)129334", "tax_sys" : 0, "items" : [ { "code": "46227751", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:08:53]POST & json_proto [01:08:53]process_json_proto [01:08:53]json parsed OK: [01:08:53]protocol is kg_v1.0 [01:08:53]action value=close_receipt [01:08:53]process_action close_receipt [01:08:53]cmd_close_receipt [01:08:53]MH_GetDate [01:08:53]Write to MH i2c: F0 00 00 5F 02 50 [01:08:53]Write i2c OK [01:08:53]MH_I2C_Read... [01:08:53]Read from MH i2c: F0 [01:08:53]MH_I2C_Read... [01:08:53]Read from MH i2c: F0 09 00 [01:08:53]MH_I2C_Read... [01:08:53]Read from MH i2c: F0 09 00 5F 02 00 A6 D3 91 66 2D 25 5D 64 DC [01:08:53]GetLastDocTimeStamp 1720832892 [01:08:53]current date 1720832934 [01:08:53]FM_GetShiftState [01:08:53]SAM_PROTO_GetShiftState [01:08:53]wFMCommunicate request_size=4 [01:08:53]MH_SAM_APDU [01:08:53]CAPDU: 80 13 01 00 [01:08:53]Write to MH i2c: E2 08 00 60 02 80 13 01 00 00 00 00 00 DF [01:08:53]Write i2c OK [01:08:53]MH_I2C_Read... [01:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:53]Read from MH i2c: E2 [01:08:53]MH_I2C_Read... [01:08:53]Read from MH i2c: E2 0E 00 [01:08:53]MH_I2C_Read... [01:08:53]Read from MH i2c: E2 0E 00 60 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 AA [01:08:53]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:08:53]wFMCommunicate OK [01:08:53]SAM_PROTO_GetShiftState done [01:08:53]FM_GetShiftState done [01:08:53]opened in 1720830718 [01:08:53]opened+sec_in_day 1720917118 [01:08:53]quantity*price = 20500 [01:08:53]sum+1 = 20501 [01:08:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 8 13.07.2024 01:08 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56847 ФПД: 50817629993489 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56847&fm=50817629993489&tin=02508201610067®Number=0000000000091208&sum=20500 0 [01:08:55]StoreToDocumentArchive [01:08:55]shift 495 fd 56847 [01:08:55]save to /storage/0495/doc_00056847 [01:08:55]save last doc name /storage/0495/doc_00056847 to /storage/kkm_last_doc_name [01:08:55]save OK [01:08:55]Clear old archive folders... [01:08:55]ProcessDocumentItem done err = 0, tmpTLVsize=276 [01:08:55]tlvbuf is 0054E3C0 [01:08:55]SAM_PROTO_ClearQueue [01:08:55]wFMCommunicate request_size=4 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 09 00 00 [01:08:55]Write to MH i2c: E2 08 00 6D 02 80 09 00 00 00 00 00 00 E1 [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 6D 02 00 90 00 E3 [01:08:55]RAPDU: 90 00 [01:08:55]wFMCommunicate OK [01:08:55]SAM_PROTO_ClearQueue done [01:08:55]KKMCreateOFDPacket [01:08:55]OFDProtocolAddRootSTLVToBuf [01:08:55]FM_MakeSignedData [01:08:55]FM_MakeSignedData [01:08:55]SAM_PROTO_SignData [01:08:55]wFMCommunicate request_size=4 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 0D 01 02 [01:08:55]Write to MH i2c: E2 08 00 6E 02 80 0D 01 02 00 00 00 00 E9 [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 6E 02 00 90 00 E4 [01:08:55]RAPDU: 90 00 [01:08:55]wFMCommunicate OK [01:08:55]wFMCommunicate request_size=255 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 32 32 37 37 35 31 06 04 27 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 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 A6 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 [01:08:55]Write to MH i2c: E2 02 01 6F 02 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 32 32 37 37 35 31 06 04 27 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 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 A6 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 00 00 20 [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 6F 02 00 90 00 E5 [01:08:55]RAPDU: 90 00 [01:08:55]wFMCommunicate OK [01:08:55]wFMCommunicate request_size=35 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DE 00 00 35 04 06 00 2E 37 E6 C8 BA 11 [01:08:55]Write to MH i2c: E2 26 00 70 02 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DE 00 00 35 04 06 00 2E 37 E6 C8 BA 11 00 00 B1 [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 03 00 70 02 00 90 00 E6 [01:08:55]RAPDU: 90 00 [01:08:55]wFMCommunicate OK [01:08:55]wFMCommunicate request_size=4 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 0D 03 02 [01:08:55]Write to MH i2c: E2 08 00 71 02 80 0D 03 02 00 00 00 00 EE [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 0B 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 0B 00 71 02 00 A7 69 E0 6E D8 EF C3 82 90 00 59 [01:08:55]RAPDU: A7 69 E0 6E D8 EF C3 82 90 00 [01:08:55]wFMCommunicate OK [01:08:55]SAM_PROTO_SignData done [01:08:55]FM_MakeSignedData done [01:08:55]CreateOFDProtocolMessage [01:08:55]wFMCommunicate request_size=4 [01:08:55]MH_SAM_APDU [01:08:55]CAPDU: 80 11 00 00 [01:08:55]Write to MH i2c: E2 08 00 72 02 80 11 00 00 00 00 00 00 EE [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:55]Read from MH i2c: E2 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 17 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: E2 17 00 72 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 48 [01:08:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:08:55]wFMCommunicate OK [01:08:55]CreateOFDProtocolMessage done [01:08:55]OFDSenderStorePacket 56847 [01:08:55]StoreOFDPacket docnum=56847 [01:08:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 F2 1B 20 01 5C 5A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 32 32 37 37 35 31 06 04 27 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 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 A6 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DE 00 00 35 04 06 00 2E 37 E6 C8 BA 11 A7 69 E0 6E D8 EF C3 82 [01:08:55]CheckFolder [01:08:55]dirname=/storage/ofd_packets [01:08:55]CheckFolder done [01:08:55]ProducePacketName [01:08:55]name=ofd_packets/00056847 [01:08:55]NVStorageSaveData ofd_packets/00056847 [01:08:55]File name is /storage/ofd_packets/00056847 [01:08:55]Write 326 bytes [01:08:55]NVStorageSaveData done [01:08:55]OFDSenderStorePacket done [01:08:55]KKMCreateOFDPacket done [01:08:55]NVStorageSaveData kkm_last_timestamp [01:08:55]File name is /storage/kkm_last_timestamp [01:08:55]Write 4 bytes [01:08:55]NVStorageSaveData done [01:08:55]ExternCall_PrintAddStr [01:08:55]wPrintStart [01:08:55]Write to MH i2c: 01 00 00 73 02 75 [01:08:55]Write i2c OK [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: 01 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: 01 07 00 [01:08:55]MH_I2C_Read... [01:08:55]Read from MH i2c: 01 07 00 73 02 00 00 00 00 00 FF 0F 8A [01:08:55]RasterBufferAndPrint [01:08:55]line Счет N : (3)129334 [01:08:55]line ИНН: 02508201610067 [01:08:55]line Контрольно-Кассовый Чек [01:08:55]line ПРОДАЖА [01:08:55]line Товар: 46227751 [01:08:55]line Р/ж mentos pure fresh арбуз 54г [01:08:55]line 1.000 * 205.00 [01:08:55]line = 205.00 [01:08:55]line НДС 12% НСП 1% [01:08:55]line > о реализуемом товаре [01:08:55]line ИТОГО: 205.00 [01:08:55]line НСП 1% : 1.81 [01:08:55]line НДС 12% : 21.77 [01:08:55]line Наличными: 205.00 [01:08:55]line Безнал.: 0.00 [01:08:55]line Место: АЗС № 132 "Партнер Нефть" [01:08:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:08:55]line СНО: Общий режим [01:08:55]line Чек 8 13.07.2024 01:08 [01:08:55]line Смена: 495 ФФД: 1.0 [01:08:55]line ЗНМ: 0300000132 [01:08:55]line РНМ: 0000000000091208 [01:08:55]line Версия ККМ: 001 [01:08:55]line ФМ: 0000000000874857 [01:08:55]line ФД: 56847 [01:08:55]line ФПД: 50817629993489 [01:08:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T010854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56847&fm=50817629993489&tin=02508201610067®Number=0000000000091208&sum=20500 [01:08:55]line 0 [01:08:55]OFD Sender: Processing packet 56847 [packets to send 38, broken 37] [01:08:55]ProducePacketName [01:08:55]name=ofd_packets/00056847 [01:08:55]OFD Sender: To server: pG, [01:08:55]CommunicateWithHost lk.salyk.kg:30040 [01:08:55]ConnectInit lk.salyk.kg [01:08:55]written 0, free lines is 4095 [01:08:56]Connected sock=10 [01:08: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 38 35 37 28 01 00 00 F2 1B 20 01 5C 5A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 32 32 37 37 35 31 06 04 27 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 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 A6 D3 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DE 00 00 35 04 06 00 2E 37 E6 C8 BA 11 A7 69 E0 6E D8 EF C3 82 [01:08:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 C6 D0 47 00 6B 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 38 35 37 10 04 04 00 0F DE 00 00 F4 03 04 00 FC 79 91 66 B6 04 01 00 00 BA 58 89 68 42 9B E8 1D [01:08:56]CommunicateWithHost err = 0 [01:08:56]CheckOFDResponse [01:08:56]1017 (14) - 77093643461234 [01:08:56]1041 (16) - 0000000000874857 [01:08:56]1040 (4) - 56847 [01:08:56]1012 (4) - 12.07.2024 18:46 [01:08:56]1206 (1) - 0 [01:08:56]OFD Sender: Remove packet 56847 [01:08:56]ProducePacketName [01:08:56]name=ofd_packets/00056847 [01:08:56]NVStorageDeleteData [01:08:56]Write to MH i2c: 01 00 00 9C 02 9E [01:08:56]Write i2c OK [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: 01 [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: 01 07 00 [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: 01 07 00 9C 02 00 00 00 00 00 F1 0C A2 [01:08:56]RasterBufferAndPrint [01:08:56]line [01:08:56]line [01:08:56]line [01:08:56]line [01:08:56]line [01:08:56]written 0, free lines is 3319 [01:08:56]MH_Cut [01:08:56]Write to MH i2c: D1 01 00 A3 02 01 77 [01:08:56]Write i2c OK [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: D1 [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: D1 01 00 [01:08:56]MH_I2C_Read... [01:08:56]Read from MH i2c: D1 01 00 A3 02 00 76 [01:08:56]Write to MH i2c: 01 00 00 A4 02 A6 [01:08:56]Write i2c OK [01:08:56]MH_I2C_Read... [01:08:56]OFD Sender: No OFD packet to send [01:08:57]*** Cut start [01:08:57]*** Partial cut [01:08:57]*** CUTSNS_PIN = 1 [01:08:57]*** CUTSNS_PIN = 0 [01:08:57]*** Brake cut motor [01:08:57]Read from MH i2c: 01 [01:08:57]MH_I2C_Read... [01:08:57]*** Stop cut motor [01:08:57]*** Cut end [01:08:57]Read from MH i2c: 01 07 00 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: 01 07 00 A4 02 00 00 00 00 00 FF 0F BB [01:08:57]process_action close_receipt done [01:08:57]requested_data is exist [01:08:57]produce_requested_data [01:08:57]requested_item fm.sn is exist - process it [01:08:57]wFMCommunicate request_size=4 [01:08:57]MH_SAM_APDU [01:08:57]CAPDU: 80 11 00 00 [01:08:57]Write to MH i2c: E2 08 00 A5 02 80 11 00 00 00 00 00 00 21 [01:08:57]Write i2c OK [01:08:57]MH_I2C_Read... [01:08:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:57]Read from MH i2c: E2 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 17 00 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 17 00 A5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7B [01:08:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:08:57]wFMCommunicate OK [01:08:57]requested_item fd.num is exist - process it [01:08:57]SAM_PROTO_GetFieldsCounters [01:08:57]wFMCommunicate request_size=4 [01:08:57]MH_SAM_APDU [01:08:57]CAPDU: 80 13 00 00 [01:08:57]Write to MH i2c: E2 08 00 A6 02 80 13 00 00 00 00 00 00 24 [01:08:57]Write i2c OK [01:08:57]MH_I2C_Read... [01:08:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:08:57]Read from MH i2c: E2 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 62 00 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 62 00 A6 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DE 00 00 0E 04 04 00 EF 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 3C [01:08: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DE 00 00 0E 04 04 00 EF 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 [01:08:57]wFMCommunicate OK [01:08:57]SAM_PROTO_GetFieldsCounters done [01:08:57]requested_item shift.num is exist - process it [01:08:57]requested_item shift.opened is exist - process it [01:08:57]req_shift_opened [01:08:57]FM_GetShiftState [01:08:57]SAM_PROTO_GetShiftState [01:08:57]wFMCommunicate request_size=4 [01:08:57]MH_SAM_APDU [01:08:57]CAPDU: 80 13 01 00 [01:08:57]Write to MH i2c: E2 08 00 A7 02 80 13 01 00 00 00 00 00 26 [01:08:57]Write i2c OK [01:08:57]MH_I2C_Read... [01:08:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:57]Read from MH i2c: E2 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 0E 00 [01:08:57]MH_I2C_Read... [01:08:57]Read from MH i2c: E2 0E 00 A7 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 F1 [01:08:57]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:08:57]wFMCommunicate OK [01:08:57]SAM_PROTO_GetShiftState done [01:08:57]FM_GetShiftState done [01:08:57]req_shift_opened done [01:08:57]requested_item shift.open_date is exist - process it [01:08:57]req_shift_open_date [01:08:57]req_shift_open_date done [01:08:57]requested_item shift.sale.total is exist - process it [01:08:57]SAM_PROTO_GetShiftData [01:08:57]wFMCommunicate request_size=4 [01:08:57]MH_SAM_APDU [01:08:57]CAPDU: 80 13 02 00 [01:08:57]Write to MH i2c: E2 08 00 A8 02 80 13 02 00 00 00 00 00 28 [01:08:57]Write i2c OK [01:08:57]MH_I2C_Read... [01:08:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:08:58]Read from MH i2c: E2 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 A8 02 00 AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 28 2A 03 70 04 03 00 50 D6 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 56 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 2A 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 2C [01:08:58]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 28 2A 03 70 04 03 00 50 D6 01 72 04 03 00 D8 53 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 07 56 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 2A 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:08:58]wFMCommunicate OK [01:08:58]wFMCommunicate request_size=4 [01:08:58]MH_SAM_APDU [01:08:58]CAPDU: 80 17 00 00 [01:08:58]Write to MH i2c: E2 08 00 A9 02 80 17 00 00 00 00 00 00 2B [01:08:58]Write i2c OK [01:08:58]MH_I2C_Read... [01:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:58]Read from MH i2c: E2 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 A9 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 3D [01:08:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:08:58]wFMCommunicate OK [01:08:58]wFMCommunicate request_size=4 [01:08:58]MH_SAM_APDU [01:08:58]CAPDU: 80 17 00 00 [01:08:58]Write to MH i2c: E2 08 00 AA 02 80 17 00 00 00 00 00 00 2C [01:08:58]Write i2c OK [01:08:58]MH_I2C_Read... [01:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:58]Read from MH i2c: E2 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 [01:08:58]MH_I2C_Read... [01:08:58]Read from MH i2c: E2 FD 00 AA 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 F0 [01:08:58]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:08:58]wFMCommunicate OK [01:08:58]wFMCommunicate request_size=4 [01:08:58]MH_SAM_APDU [01:08:58]CAPDU: 80 17 00 00 [01:08:58]Write to MH i2c: E2 08 00 AB 02 80 17 00 00 00 00 00 00 2D [01:08:58]Write i2c OK [01:08:58]MH_I2C_Read... [01:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:08:59]Read from MH i2c: E2 [01:08:59]MH_I2C_Read... [01:08:59]Read from MH i2c: E2 FD 00 [01:08:59]MH_I2C_Read... [01:08:59]Read from MH i2c: E2 FD 00 AB 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 A2 [01:08:59]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:08:59]wFMCommunicate OK [01:08:59]wFMCommunicate request_size=4 [01:08:59]MH_SAM_APDU [01:08:59]CAPDU: 80 17 00 00 [01:08:59]Write to MH i2c: E2 08 00 AC 02 80 17 00 00 00 00 00 00 2E [01:08:59]Write i2c OK [01:08:59]MH_I2C_Read... [01:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:08:59]Read from MH i2c: E2 [01:08:59]MH_I2C_Read... [01:08:59]Read from MH i2c: E2 CA 00 [01:08:59]MH_I2C_Read... [01:08:59]Read from MH i2c: E2 CA 00 AC 02 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 13 [01:08:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:08:59]wFMCommunicate OK [01:08:59]SAM_PROTO_GetShiftData done [01:08:59]requested_item shift.sale.total_cash is exist - process it [01:08:59]requested_item shift.sale_refund.total is exist - process it [01:08:59]requested_item shift.sale_refund.total_cash is exist - process it [01:08:59]produce_requested_data done [01:08:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56847,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2074.00,"shift.sale.total_cash":1204.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:08:59]process_action_free close_receipt [01:08:59]json_value_free [01:08:59]json_value_free done [01:08:59]process_json_proto returns [01:08:59]Send response to host [01:08:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56847,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2074.00,"shift.sale.total_cash":1204.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:08:59]free response buf [01:08:59]execute_script done [01:08:59]execute_script returns [01:08:59]free content buf [01:08:59]Sock 7.Close socket [01:08:59]Sock 7.Thread stoped [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:11]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:40]accept exits with 9 [01:11:40]New connection [01:11:40]New thread 3066969444 created [01:11:40]Thread 3066826084 joined [01:11:40]Waiting for new connection... [01:11:40] Sock 9.Parse request [01:11:40]Sock 9.Check first char [01:11:40]Sock 9.First char is OK [01:11:40]request: POST /json_proto HTTP/1.0 [01:11:40]Method: POST [01:11:40]URL: /json_proto [01:11:40]Method is POST - this is cgi request [01:11:40]url: /json_proto [01:11:40]query_string will be loaded in cgi processing [01:11:40]execute_cgi json_proto POST (null) [01:11:40]execute_cgi path=json_proto method=POST [01:11:40]POST find Content-Length [01:11:40]Host: 172.17.39.4:8080 [01:11:40]Content-Length: 991 [01:11:40]Content-Type: application/json [01:11:40] [01:11:40]POST finish read [01:11:40]Found Content-Length = 991 [01:11:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129335", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:11:40]execute_script... [01:11: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)129335", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:11:40]POST & json_proto [01:11:40]process_json_proto [01:11:40]json parsed OK: [01:11:40]protocol is kg_v1.0 [01:11:40]action value=close_receipt [01:11:40]process_action close_receipt [01:11:40]cmd_close_receipt [01:11:40]MH_GetDate [01:11:40]Write to MH i2c: F0 00 00 AD 02 9E [01:11:40]Write i2c OK [01:11:40]MH_I2C_Read... [01:11:40]Read from MH i2c: F0 [01:11:40]MH_I2C_Read... [01:11:40]Read from MH i2c: F0 09 00 [01:11:40]MH_I2C_Read... [01:11:40]Read from MH i2c: F0 09 00 AD 02 00 4E D4 91 66 2D 25 5D 64 D3 [01:11:40]GetLastDocTimeStamp 1720832934 [01:11:40]current date 1720833102 [01:11:40]FM_GetShiftState [01:11:40]SAM_PROTO_GetShiftState [01:11:40]wFMCommunicate request_size=4 [01:11:40]MH_SAM_APDU [01:11:40]CAPDU: 80 13 01 00 [01:11:40]Write to MH i2c: E2 08 00 AE 02 80 13 01 00 00 00 00 00 2D [01:11:40]Write i2c OK [01:11:40]MH_I2C_Read... [01:11:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:11:41]Read from MH i2c: E2 [01:11:41]MH_I2C_Read... [01:11:41]Read from MH i2c: E2 0E 00 [01:11:41]MH_I2C_Read... [01:11:41]Read from MH i2c: E2 0E 00 AE 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 F8 [01:11:41]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:11:41]wFMCommunicate OK [01:11:41]SAM_PROTO_GetShiftState done [01:11:41]FM_GetShiftState done [01:11:41]opened in 1720830718 [01:11:41]opened+sec_in_day 1720917118 [01:11:41]quantity*price = 7000 [01:11:41]sum+1 = 7001 [01:11:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 0.00 Безнал.: 70.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 9 13.07.2024 01:11 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 56848 ФПД: 9313032709432 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T011142&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56848&fm=9313032709432&tin=02508201610067®Number=0000000000091208&sum=7000 0 [01:11:42]StoreToDocumentArchive [01:11:42]shift 495 fd 56848 [01:11:42]save to /storage/0495/doc_00056848 [01:11:42]save last doc name /storage/0495/doc_00056848 to /storage/kkm_last_doc_name [01:11:42]save OK [01:11:42]Clear old archive folders... [01:11:42]ProcessDocumentItem done err = 0, tmpTLVsize=300 [01:11:42]tlvbuf is 0054EE10 [01:11:42]SAM_PROTO_ClearQueue [01:11:42]wFMCommunicate request_size=4 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 09 00 00 [01:11:42]Write to MH i2c: E2 08 00 BB 02 80 09 00 00 00 00 00 00 2F [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 BB 02 00 90 00 31 [01:11:42]RAPDU: 90 00 [01:11:42]wFMCommunicate OK [01:11:42]SAM_PROTO_ClearQueue done [01:11:42]KKMCreateOFDPacket [01:11:42]OFDProtocolAddRootSTLVToBuf [01:11:42]FM_MakeSignedData [01:11:42]FM_MakeSignedData [01:11:42]SAM_PROTO_SignData [01:11:42]wFMCommunicate request_size=4 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 0D 01 02 [01:11:42]Write to MH i2c: E2 08 00 BC 02 80 0D 01 02 00 00 00 00 37 [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 BC 02 00 90 00 32 [01:11:42]RAPDU: 90 00 [01:11:42]wFMCommunicate OK [01:11:42]wFMCommunicate request_size=255 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4E D4 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 [01:11:42]Write to MH i2c: E2 02 01 BD 02 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4E D4 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 B7 [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 BD 02 00 90 00 33 [01:11:42]RAPDU: 90 00 [01:11:42]wFMCommunicate OK [01:11:42]wFMCommunicate request_size=59 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DE 00 00 35 04 06 00 08 78 5C 01 A5 38 [01:11:42]Write to MH i2c: E2 3E 00 BE 02 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DE 00 00 35 04 06 00 08 78 5C 01 A5 38 00 00 05 [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 03 00 BE 02 00 90 00 34 [01:11:42]RAPDU: 90 00 [01:11:42]wFMCommunicate OK [01:11:42]wFMCommunicate request_size=4 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 0D 03 02 [01:11:42]Write to MH i2c: E2 08 00 BF 02 80 0D 03 02 00 00 00 00 3C [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 0B 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 0B 00 BF 02 00 B2 D7 CC 53 46 0A DF 1B 90 00 2F [01:11:42]RAPDU: B2 D7 CC 53 46 0A DF 1B 90 00 [01:11:42]wFMCommunicate OK [01:11:42]SAM_PROTO_SignData done [01:11:42]FM_MakeSignedData done [01:11:42]CreateOFDProtocolMessage [01:11:42]wFMCommunicate request_size=4 [01:11:42]MH_SAM_APDU [01:11:42]CAPDU: 80 11 00 00 [01:11:42]Write to MH i2c: E2 08 00 C0 02 80 11 00 00 00 00 00 00 3C [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:11:42]Read from MH i2c: E2 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 17 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: E2 17 00 C0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 96 [01:11:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:11:42]wFMCommunicate OK [01:11:42]CreateOFDProtocolMessage done [01:11:42]OFDSenderStorePacket 56848 [01:11:42]StoreOFDPacket docnum=56848 [01:11:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 40 01 00 00 9A BE 38 01 D7 22 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4E D4 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DE 00 00 35 04 06 00 08 78 5C 01 A5 38 B2 D7 CC 53 46 0A DF 1B [01:11:42]CheckFolder [01:11:42]dirname=/storage/ofd_packets [01:11:42]CheckFolder done [01:11:42]ProducePacketName [01:11:42]name=ofd_packets/00056848 [01:11:42]NVStorageSaveData ofd_packets/00056848 [01:11:42]File name is /storage/ofd_packets/00056848 [01:11:42]Write 350 bytes [01:11:42]NVStorageSaveData done [01:11:42]OFDSenderStorePacket done [01:11:42]KKMCreateOFDPacket done [01:11:42]NVStorageSaveData kkm_last_timestamp [01:11:42]File name is /storage/kkm_last_timestamp [01:11:42]Write 4 bytes [01:11:42]NVStorageSaveData done [01:11:42]ExternCall_PrintAddStr [01:11:42]wPrintStart [01:11:42]Write to MH i2c: 01 00 00 C1 02 C3 [01:11:42]Write i2c OK [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: 01 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: 01 07 00 [01:11:42]MH_I2C_Read... [01:11:42]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [01:11:42]RasterBufferAndPrint [01:11:42]line Счет N : (3)129335 [01:11:42]line ИНН: 02508201610067 [01:11:42]line Контрольно-Кассовый Чек [01:11:42]line ПРОДАЖА [01:11:42]line Товар: 4700007110066 [01:11:42]line Сэндвич с майонезом Талас Даамы [01:11:42]line 1.000 * 70.00 [01:11:42]line = 70.00 [01:11:42]line НДС 12% НСП 1% [01:11:42]line > о реализуемом товаре [01:11:42]line ИТОГО: 70.00 [01:11:42]line НСП 1% : 0.62 [01:11:42]line НДС 12% : 7.43 [01:11:42]line Наличными: 0.00 [01:11:42]line Безнал.: 70.00 [01:11:42]line Место: АЗС № 132 "Партнер Нефть" [01:11:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:11:42]line СНО: Общий режим [01:11:42]line Чек 9 13.07.2024 01:11 [01:11:42]line Смена: 495 ФФД: 1.0 [01:11:42]line ЗНМ: 0300000132 [01:11:42]line РНМ: 0000000000091208 [01:11:42]line Версия ККМ: 001 [01:11:42]line Платежная система: О! деньги [01:11:42]line ФМ: 0000000000874857 [01:11:42]line ФД: 56848 [01:11:43]line ФПД: 9313032709432 [01:11:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T011142&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56848&fm=9313032709432&tin=02508201610067®Number=0000000000091208&sum=7000 [01:11:43]line 0 [01:11:43]OFD Sender: Processing packet 56848 [packets to send 38, broken 37] [01:11:43]ProducePacketName [01:11:43]name=ofd_packets/00056848 [01:11:43]OFD Sender: To server: pG, [01:11:43]CommunicateWithHost lk.salyk.kg:30040 [01:11:43]ConnectInit lk.salyk.kg [01:11:43]written 0, free lines is 4095 [01:11:43]Connected sock=10 [01:11: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 38 35 37 40 01 00 00 9A BE 38 01 D7 22 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 1B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4E D4 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DE 00 00 35 04 06 00 08 78 5C 01 A5 38 B2 D7 CC 53 46 0A DF 1B [01:11:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B7 1C 47 00 CA 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 38 35 37 10 04 04 00 10 DE 00 00 F4 03 04 00 A3 7A 91 66 B6 04 01 00 00 EB 5F A0 30 6F 2C 9B 0B [01:11:43]CommunicateWithHost err = 0 [01:11:43]CheckOFDResponse [01:11:43]1017 (14) - 77093643461234 [01:11:43]1041 (16) - 0000000000874857 [01:11:43]1040 (4) - 56848 [01:11:43]1012 (4) - 12.07.2024 18:49 [01:11:43]1206 (1) - 0 [01:11:43]OFD Sender: Remove packet 56848 [01:11:43]ProducePacketName [01:11:43]name=ofd_packets/00056848 [01:11:43]NVStorageDeleteData [01:11:43]Write to MH i2c: 01 00 00 EC 02 EE [01:11:43]Write i2c OK [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: 01 [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: 01 07 00 [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: 01 07 00 EC 02 00 00 00 00 00 DB 0C DC [01:11:43]RasterBufferAndPrint [01:11:43]line [01:11:43]line [01:11:43]line [01:11:43]line [01:11:43]line [01:11:43]written 0, free lines is 3299 [01:11:43]MH_Cut [01:11:43]Write to MH i2c: D1 01 00 F3 02 01 C7 [01:11:43]Write i2c OK [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: D1 [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: D1 01 00 [01:11:43]MH_I2C_Read... [01:11:43]Read from MH i2c: D1 01 00 F3 02 00 C6 [01:11:43]Write to MH i2c: 01 00 00 F4 02 F6 [01:11:43]Write i2c OK [01:11:43]MH_I2C_Read... [01:11:43]OFD Sender: No OFD packet to send [01:11:44]*** Cut start [01:11:44]*** Partial cut [01:11:44]*** CUTSNS_PIN = 1 [01:11:44]*** CUTSNS_PIN = 0 [01:11:44]*** Brake cut motor [01:11:44]Read from MH i2c: 01 [01:11:44]MH_I2C_Read... [01:11:44]*** Stop cut motor [01:11:44]*** Cut end [01:11:44]Read from MH i2c: 01 07 00 [01:11:44]MH_I2C_Read... [01:11:44]Read from MH i2c: 01 07 00 F4 02 00 00 00 00 00 FF 0F 0B [01:11:44]process_action close_receipt done [01:11:44]requested_data is exist [01:11:44]produce_requested_data [01:11:44]requested_item fm.sn is exist - process it [01:11:44]wFMCommunicate request_size=4 [01:11:44]MH_SAM_APDU [01:11:44]CAPDU: 80 11 00 00 [01:11:44]Write to MH i2c: E2 08 00 F5 02 80 11 00 00 00 00 00 00 71 [01:11:44]Write i2c OK [01:11:44]MH_I2C_Read... [01:11:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:11:44]Read from MH i2c: E2 [01:11:44]MH_I2C_Read... [01:11:44]Read from MH i2c: E2 17 00 [01:11:44]MH_I2C_Read... [01:11:44]Read from MH i2c: E2 17 00 F5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CB [01:11:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:11:44]wFMCommunicate OK [01:11:44]requested_item fd.num is exist - process it [01:11:44]SAM_PROTO_GetFieldsCounters [01:11:44]wFMCommunicate request_size=4 [01:11:44]MH_SAM_APDU [01:11:44]CAPDU: 80 13 00 00 [01:11:44]Write to MH i2c: E2 08 00 F6 02 80 13 00 00 00 00 00 00 74 [01:11:44]Write i2c OK [01:11:44]MH_I2C_Read... [01:11:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:11:45]Read from MH i2c: E2 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 62 00 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 62 00 F6 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DE 00 00 0E 04 04 00 EF 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 90 [01:11: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DE 00 00 0E 04 04 00 EF 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 [01:11:45]wFMCommunicate OK [01:11:45]SAM_PROTO_GetFieldsCounters done [01:11:45]requested_item shift.num is exist - process it [01:11:45]requested_item shift.opened is exist - process it [01:11:45]req_shift_opened [01:11:45]FM_GetShiftState [01:11:45]SAM_PROTO_GetShiftState [01:11:45]wFMCommunicate request_size=4 [01:11:45]MH_SAM_APDU [01:11:45]CAPDU: 80 13 01 00 [01:11:45]Write to MH i2c: E2 08 00 F7 02 80 13 01 00 00 00 00 00 76 [01:11:45]Write i2c OK [01:11:45]MH_I2C_Read... [01:11:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:11:45]Read from MH i2c: E2 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 0E 00 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 0E 00 F7 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 41 [01:11:45]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:11:45]wFMCommunicate OK [01:11:45]SAM_PROTO_GetShiftState done [01:11:45]FM_GetShiftState done [01:11:45]req_shift_opened done [01:11:45]requested_item shift.open_date is exist - process it [01:11:45]req_shift_open_date [01:11:45]req_shift_open_date done [01:11:45]requested_item shift.sale.total is exist - process it [01:11:45]SAM_PROTO_GetShiftData [01:11:45]wFMCommunicate request_size=4 [01:11:45]MH_SAM_APDU [01:11:45]CAPDU: 80 13 02 00 [01:11:45]Write to MH i2c: E2 08 00 F8 02 80 13 02 00 00 00 00 00 78 [01:11:45]Write i2c OK [01:11:45]MH_I2C_Read... [01:11:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:11:45]Read from MH i2c: E2 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 FD 00 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 FD 00 F8 02 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 45 03 70 04 03 00 50 D6 01 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 58 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 68 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 8C [01:11:45]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 80 45 03 70 04 03 00 50 D6 01 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 58 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 68 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:11:45]wFMCommunicate OK [01:11:45]wFMCommunicate request_size=4 [01:11:45]MH_SAM_APDU [01:11:45]CAPDU: 80 17 00 00 [01:11:45]Write to MH i2c: E2 08 00 F9 02 80 17 00 00 00 00 00 00 7B [01:11:45]Write i2c OK [01:11:45]MH_I2C_Read... [01:11:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:11:45]Read from MH i2c: E2 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 FD 00 [01:11:45]MH_I2C_Read... [01:11:45]Read from MH i2c: E2 FD 00 F9 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 8D [01:11:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:11:45]wFMCommunicate OK [01:11:45]wFMCommunicate request_size=4 [01:11:45]MH_SAM_APDU [01:11:45]CAPDU: 80 17 00 00 [01:11:45]Write to MH i2c: E2 08 00 FA 02 80 17 00 00 00 00 00 00 7C [01:11:45]Write i2c OK [01:11:45]MH_I2C_Read... [01:11:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:11:46]Read from MH i2c: E2 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 FD 00 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 FD 00 FA 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 40 [01:11:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:11:46]wFMCommunicate OK [01:11:46]wFMCommunicate request_size=4 [01:11:46]MH_SAM_APDU [01:11:46]CAPDU: 80 17 00 00 [01:11:46]Write to MH i2c: E2 08 00 FB 02 80 17 00 00 00 00 00 00 7D [01:11:46]Write i2c OK [01:11:46]MH_I2C_Read... [01:11:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:11:46]Read from MH i2c: E2 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 FD 00 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 FD 00 FB 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 F2 [01:11:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:11:46]wFMCommunicate OK [01:11:46]wFMCommunicate request_size=4 [01:11:46]MH_SAM_APDU [01:11:46]CAPDU: 80 17 00 00 [01:11:46]Write to MH i2c: E2 08 00 FC 02 80 17 00 00 00 00 00 00 7E [01:11:46]Write i2c OK [01:11:46]MH_I2C_Read... [01:11:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:11:46]Read from MH i2c: E2 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 CA 00 [01:11:46]MH_I2C_Read... [01:11:46]Read from MH i2c: E2 CA 00 FC 02 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 63 [01:11:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:11:46]wFMCommunicate OK [01:11:46]SAM_PROTO_GetShiftData done [01:11:46]requested_item shift.sale.total_cash is exist - process it [01:11:46]requested_item shift.sale_refund.total is exist - process it [01:11:46]requested_item shift.sale_refund.total_cash is exist - process it [01:11:46]produce_requested_data done [01:11:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56848,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2144.00,"shift.sale.total_cash":1204.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:11:46]process_action_free close_receipt [01:11:46]json_value_free [01:11:46]json_value_free done [01:11:46]process_json_proto returns [01:11:46]Send response to host [01:11:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56848,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2144.00,"shift.sale.total_cash":1204.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:11:46]free response buf [01:11:46]execute_script done [01:11:46]execute_script returns [01:11:46]free content buf [01:11:46]Sock 9.Close socket [01:11:46]Sock 9.Thread stoped [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [01:21:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]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:49]accept exits with 7 [01:32:49]New connection [01:32:49]New thread 3066826084 created [01:32:49]Thread 3066969444 joined [01:32:49]Waiting for new connection... [01:32:49] Sock 7.Parse request [01:32:49]Sock 7.Check first char [01:32:49]Sock 7.First char is OK [01:32:49]request: POST /json_proto HTTP/1.0 [01:32:49]Method: POST [01:32:49]URL: /json_proto [01:32:49]Method is POST - this is cgi request [01:32:49]url: /json_proto [01:32:49]query_string will be loaded in cgi processing [01:32:49]execute_cgi json_proto POST (null) [01:32:49]execute_cgi path=json_proto method=POST [01:32:49]POST find Content-Length [01:32:49]Host: 172.17.39.4:8080 [01:32:49]Content-Length: 832 [01:32:49]Content-Type: application/json [01:32:49] [01:32:49]POST finish read [01:32:49]Found Content-Length = 832 [01:32:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129336", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:32:49]execute_script... [01:32: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)129336", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:32:49]POST & json_proto [01:32:49]process_json_proto [01:32:49]json parsed OK: [01:32:49]protocol is kg_v1.0 [01:32:49]action value=close_receipt [01:32:49]process_action close_receipt [01:32:49]cmd_close_receipt [01:32:49]MH_GetDate [01:32:49]Write to MH i2c: F0 00 00 FD 02 EE [01:32:49]Write i2c OK [01:32:49]MH_I2C_Read... [01:32:49]Read from MH i2c: F0 [01:32:49]MH_I2C_Read... [01:32:49]Read from MH i2c: F0 09 00 [01:32:49]MH_I2C_Read... [01:32:49]Read from MH i2c: F0 09 00 FD 02 00 43 D9 91 66 2D 25 5D 64 1D [01:32:49]GetLastDocTimeStamp 1720833102 [01:32:49]current date 1720834371 [01:32:49]FM_GetShiftState [01:32:49]SAM_PROTO_GetShiftState [01:32:49]wFMCommunicate request_size=4 [01:32:49]MH_SAM_APDU [01:32:49]CAPDU: 80 13 01 00 [01:32:49]Write to MH i2c: E2 08 00 FE 02 80 13 01 00 00 00 00 00 7D [01:32:49]Write i2c OK [01:32:49]MH_I2C_Read... [01:32:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:49]Read from MH i2c: E2 [01:32:49]MH_I2C_Read... [01:32:49]Read from MH i2c: E2 0E 00 [01:32:49]MH_I2C_Read... [01:32:49]Read from MH i2c: E2 0E 00 FE 02 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 48 [01:32:49]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:32:49]wFMCommunicate OK [01:32:49]SAM_PROTO_GetShiftState done [01:32:49]FM_GetShiftState done [01:32:49]opened in 1720830718 [01:32:49]opened+sec_in_day 1720917118 [01:32:49]quantity*price = 10700 [01:32:49]sum+1 = 10701 [01:32:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 10 13.07.2024 01:32 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56849 ФПД: 264359235616919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013251&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56849&fm=264359235616919&tin=02508201610067®Number=0000000000091208&sum=10700 0 [01:32:51]StoreToDocumentArchive [01:32:51]shift 495 fd 56849 [01:32:51]save to /storage/0495/doc_00056849 [01:32:51]save last doc name /storage/0495/doc_00056849 to /storage/kkm_last_doc_name [01:32:51]save OK [01:32:51]Clear old archive folders... [01:32:51]ProcessDocumentItem done err = 0, tmpTLVsize=308 [01:32:51]tlvbuf is 005477C0 [01:32:51]SAM_PROTO_ClearQueue [01:32:51]wFMCommunicate request_size=4 [01:32:51]MH_SAM_APDU [01:32:51]CAPDU: 80 09 00 00 [01:32:51]Write to MH i2c: E2 08 00 0B 03 80 09 00 00 00 00 00 00 80 [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 0B 03 00 90 00 82 [01:32:51]RAPDU: 90 00 [01:32:51]wFMCommunicate OK [01:32:51]SAM_PROTO_ClearQueue done [01:32:51]KKMCreateOFDPacket [01:32:51]OFDProtocolAddRootSTLVToBuf [01:32:51]FM_MakeSignedData [01:32:51]FM_MakeSignedData [01:32:51]SAM_PROTO_SignData [01:32:51]wFMCommunicate request_size=4 [01:32:51]MH_SAM_APDU [01:32:51]CAPDU: 80 0D 01 02 [01:32:51]Write to MH i2c: E2 08 00 0C 03 80 0D 01 02 00 00 00 00 88 [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 0C 03 00 90 00 83 [01:32:51]RAPDU: 90 00 [01:32:51]wFMCommunicate OK [01:32:51]wFMCommunicate request_size=255 [01:32:51]MH_SAM_APDU [01:32:51]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 0A 00 00 00 F4 03 04 00 43 D9 91 66 0E 04 04 00 EF 01 00 00 B9 [01:32:51]Write to MH i2c: E2 02 01 0D 03 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 0A 00 00 00 F4 03 04 00 43 D9 91 66 0E 04 04 00 EF 01 00 00 B9 00 00 CC [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [01:32:51]RAPDU: 90 00 [01:32:51]wFMCommunicate OK [01:32:51]wFMCommunicate request_size=67 [01:32:51]MH_SAM_APDU [01:32:51]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 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DE 00 00 35 04 06 00 F0 6E EE 55 00 97 [01:32:51]Write to MH i2c: E2 46 00 0E 03 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 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DE 00 00 35 04 06 00 F0 6E EE 55 00 97 00 00 0C [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [01:32:51]RAPDU: 90 00 [01:32:51]wFMCommunicate OK [01:32:51]wFMCommunicate request_size=4 [01:32:51]MH_SAM_APDU [01:32:51]CAPDU: 80 0D 03 02 [01:32:51]Write to MH i2c: E2 08 00 0F 03 80 0D 03 02 00 00 00 00 8D [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 0B 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 0B 00 0F 03 00 AD DB FB 8D 4D 13 28 01 90 00 27 [01:32:51]RAPDU: AD DB FB 8D 4D 13 28 01 90 00 [01:32:51]wFMCommunicate OK [01:32:51]SAM_PROTO_SignData done [01:32:51]FM_MakeSignedData done [01:32:51]CreateOFDProtocolMessage [01:32:51]wFMCommunicate request_size=4 [01:32:51]MH_SAM_APDU [01:32:51]CAPDU: 80 11 00 00 [01:32:51]Write to MH i2c: E2 08 00 10 03 80 11 00 00 00 00 00 00 8D [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:51]Read from MH i2c: E2 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 17 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: E2 17 00 10 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E7 [01:32:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:32:51]wFMCommunicate OK [01:32:51]CreateOFDProtocolMessage done [01:32:51]OFDSenderStorePacket 56849 [01:32:51]StoreOFDPacket docnum=56849 [01:32:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 48 01 00 00 FC 46 40 01 00 23 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 0A 00 00 00 F4 03 04 00 43 D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DE 00 00 35 04 06 00 F0 6E EE 55 00 97 AD DB FB 8D 4D 13 28 01 [01:32:51]CheckFolder [01:32:51]dirname=/storage/ofd_packets [01:32:51]CheckFolder done [01:32:51]ProducePacketName [01:32:51]name=ofd_packets/00056849 [01:32:51]NVStorageSaveData ofd_packets/00056849 [01:32:51]File name is /storage/ofd_packets/00056849 [01:32:51]Write 358 bytes [01:32:51]NVStorageSaveData done [01:32:51]OFDSenderStorePacket done [01:32:51]KKMCreateOFDPacket done [01:32:51]NVStorageSaveData kkm_last_timestamp [01:32:51]File name is /storage/kkm_last_timestamp [01:32:51]Write 4 bytes [01:32:51]NVStorageSaveData done [01:32:51]ExternCall_PrintAddStr [01:32:51]wPrintStart [01:32:51]Write to MH i2c: 01 00 00 11 03 14 [01:32:51]Write i2c OK [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: 01 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: 01 07 00 [01:32:51]MH_I2C_Read... [01:32:51]Read from MH i2c: 01 07 00 11 03 00 00 00 00 00 FF 0F 29 [01:32:51]RasterBufferAndPrint [01:32:51]line Счет N : (3)129336 [01:32:51]line ИНН: 02508201610067 [01:32:51]line Контрольно-Кассовый Чек [01:32:51]line ПРОДАЖА [01:32:51]line Товар: 5449000027474 [01:32:51]line Напиток FuzeTea зел чай манго,ромашка 1л [01:32:51]line 1.000 * 107.00 [01:32:51]line = 107.00 [01:32:51]line НДС 12% НСП 1% [01:32:51]line > о реализуемом товаре [01:32:51]line ИТОГО: 107.00 [01:32:51]line НСП 1% : 0.95 [01:32:51]line НДС 12% : 11.36 [01:32:51]line Наличными: 107.00 [01:32:51]line Безнал.: 0.00 [01:32:51]line Место: АЗС № 132 "Партнер Нефть" [01:32:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:32:51]line СНО: Общий режим [01:32:51]line Чек 10 13.07.2024 01:32 [01:32:51]line Смена: 495 ФФД: 1.0 [01:32:51]line ЗНМ: 0300000132 [01:32:51]line РНМ: 0000000000091208 [01:32:51]line Версия ККМ: 001 [01:32:51]line ФМ: 0000000000874857 [01:32:51]line ФД: 56849 [01:32:51]line ФПД: 264359235616919 [01:32:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013251&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56849&fm=264359235616919&tin=02508201610067®Number=0000000000091208&sum=10700 [01:32:51]line 0 [01:32:51]OFD Sender: Processing packet 56849 [packets to send 38, broken 37] [01:32:51]ProducePacketName [01:32:51]name=ofd_packets/00056849 [01:32:51]OFD Sender: To server: pG, [01:32:51]CommunicateWithHost lk.salyk.kg:30040 [01:32:51]ConnectInit lk.salyk.kg [01:32:51]written 0, free lines is 4095 [01:32:52]Connected sock=10 [01:32:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 48 01 00 00 FC 46 40 01 00 23 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 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 0A 00 00 00 F4 03 04 00 43 D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DE 00 00 35 04 06 00 F0 6E EE 55 00 97 AD DB FB 8D 4D 13 28 01 [01:32:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 41 04 47 00 D7 AA 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 38 35 37 10 04 04 00 11 DE 00 00 F4 03 04 00 98 7F 91 66 B6 04 01 00 00 53 51 15 DB 25 5A B2 98 [01:32:52]CommunicateWithHost err = 0 [01:32:52]CheckOFDResponse [01:32:52]1017 (14) - 77093643461234 [01:32:52]1041 (16) - 0000000000874857 [01:32:52]1040 (4) - 56849 [01:32:52]1012 (4) - 12.07.2024 19:10 [01:32:52]1206 (1) - 0 [01:32:52]OFD Sender: Remove packet 56849 [01:32:52]ProducePacketName [01:32:52]name=ofd_packets/00056849 [01:32:52]NVStorageDeleteData [01:32:52]Write to MH i2c: 01 00 00 3A 03 3D [01:32:52]Write i2c OK [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: 01 [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: 01 07 00 [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: 01 07 00 3A 03 00 00 00 00 00 E7 0C 37 [01:32:52]RasterBufferAndPrint [01:32:52]line [01:32:52]line [01:32:52]line [01:32:52]line [01:32:52]line [01:32:52]written 0, free lines is 3310 [01:32:52]MH_Cut [01:32:52]Write to MH i2c: D1 01 00 41 03 01 16 [01:32:52]Write i2c OK [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: D1 [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: D1 01 00 [01:32:52]MH_I2C_Read... [01:32:52]Read from MH i2c: D1 01 00 41 03 00 15 [01:32:52]Write to MH i2c: 01 00 00 42 03 45 [01:32:52]Write i2c OK [01:32:52]MH_I2C_Read... [01:32:52]OFD Sender: No OFD packet to send [01:32:53]*** Cut start [01:32:53]*** Partial cut [01:32:53]*** CUTSNS_PIN = 1 [01:32:53]*** CUTSNS_PIN = 0 [01:32:53]*** Brake cut motor [01:32:53]Read from MH i2c: 01 [01:32:53]MH_I2C_Read... [01:32:53]*** Stop cut motor [01:32:53]*** Cut end [01:32:53]Read from MH i2c: 01 07 00 [01:32:53]MH_I2C_Read... [01:32:53]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 FF 0F 5A [01:32:53]process_action close_receipt done [01:32:53]requested_data is exist [01:32:53]produce_requested_data [01:32:53]requested_item fm.sn is exist - process it [01:32:53]wFMCommunicate request_size=4 [01:32:53]MH_SAM_APDU [01:32:53]CAPDU: 80 11 00 00 [01:32:53]Write to MH i2c: E2 08 00 43 03 80 11 00 00 00 00 00 00 C0 [01:32:53]Write i2c OK [01:32:53]MH_I2C_Read... [01:32:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:53]Read from MH i2c: E2 [01:32:53]MH_I2C_Read... [01:32:53]Read from MH i2c: E2 17 00 [01:32:53]MH_I2C_Read... [01:32:53]Read from MH i2c: E2 17 00 43 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1A [01:32:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:32:53]wFMCommunicate OK [01:32:53]requested_item fd.num is exist - process it [01:32:53]SAM_PROTO_GetFieldsCounters [01:32:53]wFMCommunicate request_size=4 [01:32:53]MH_SAM_APDU [01:32:53]CAPDU: 80 13 00 00 [01:32:53]Write to MH i2c: E2 08 00 44 03 80 13 00 00 00 00 00 00 C3 [01:32:53]Write i2c OK [01:32:53]MH_I2C_Read... [01:32:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:32:53]Read from MH i2c: E2 [01:32:53]MH_I2C_Read... [01:32:53]Read from MH i2c: E2 62 00 [01:32:53]MH_I2C_Read... [01:32:53]Read from MH i2c: E2 62 00 44 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DE 00 00 0E 04 04 00 EF 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 E3 [01:32: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DE 00 00 0E 04 04 00 EF 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 [01:32:53]wFMCommunicate OK [01:32:53]SAM_PROTO_GetFieldsCounters done [01:32:53]requested_item shift.num is exist - process it [01:32:53]requested_item shift.opened is exist - process it [01:32:53]req_shift_opened [01:32:53]FM_GetShiftState [01:32:53]SAM_PROTO_GetShiftState [01:32:53]wFMCommunicate request_size=4 [01:32:53]MH_SAM_APDU [01:32:53]CAPDU: 80 13 01 00 [01:32:53]Write to MH i2c: E2 08 00 45 03 80 13 01 00 00 00 00 00 C5 [01:32:53]Write i2c OK [01:32:53]MH_I2C_Read... [01:32:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:54]Read from MH i2c: E2 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 0E 00 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 0E 00 45 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 90 [01:32:54]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:32:54]wFMCommunicate OK [01:32:54]SAM_PROTO_GetShiftState done [01:32:54]FM_GetShiftState done [01:32:54]req_shift_opened done [01:32:54]requested_item shift.open_date is exist - process it [01:32:54]req_shift_open_date [01:32:54]req_shift_open_date done [01:32:54]requested_item shift.sale.total is exist - process it [01:32:54]SAM_PROTO_GetShiftData [01:32:54]wFMCommunicate request_size=4 [01:32:54]MH_SAM_APDU [01:32:54]CAPDU: 80 13 02 00 [01:32:54]Write to MH i2c: E2 08 00 46 03 80 13 02 00 00 00 00 00 C7 [01:32:54]Write i2c OK [01:32:54]MH_I2C_Read... [01:32:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:32:54]Read from MH i2c: E2 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 FD 00 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 FD 00 46 03 00 AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 4C 6F 03 70 04 03 00 1C 00 02 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5E 5D 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 C7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 9E [01:32:54]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 4C 6F 03 70 04 03 00 1C 00 02 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5E 5D 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 C7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:32:54]wFMCommunicate OK [01:32:54]wFMCommunicate request_size=4 [01:32:54]MH_SAM_APDU [01:32:54]CAPDU: 80 17 00 00 [01:32:54]Write to MH i2c: E2 08 00 47 03 80 17 00 00 00 00 00 00 CA [01:32:54]Write i2c OK [01:32:54]MH_I2C_Read... [01:32:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:54]Read from MH i2c: E2 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 FD 00 [01:32:54]MH_I2C_Read... [01:32:54]Read from MH i2c: E2 FD 00 47 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 DC [01:32:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:32:54]wFMCommunicate OK [01:32:54]wFMCommunicate request_size=4 [01:32:54]MH_SAM_APDU [01:32:54]CAPDU: 80 17 00 00 [01:32:54]Write to MH i2c: E2 08 00 48 03 80 17 00 00 00 00 00 00 CB [01:32:54]Write i2c OK [01:32:54]MH_I2C_Read... [01:32:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:55]Read from MH i2c: E2 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 FD 00 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 FD 00 48 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 8F [01:32:55]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:32:55]wFMCommunicate OK [01:32:55]wFMCommunicate request_size=4 [01:32:55]MH_SAM_APDU [01:32:55]CAPDU: 80 17 00 00 [01:32:55]Write to MH i2c: E2 08 00 49 03 80 17 00 00 00 00 00 00 CC [01:32:55]Write i2c OK [01:32:55]MH_I2C_Read... [01:32:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:32:55]Read from MH i2c: E2 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 FD 00 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 FD 00 49 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 90 00 41 [01:32:55]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:32:55]wFMCommunicate OK [01:32:55]wFMCommunicate request_size=4 [01:32:55]MH_SAM_APDU [01:32:55]CAPDU: 80 17 00 00 [01:32:55]Write to MH i2c: E2 08 00 4A 03 80 17 00 00 00 00 00 00 CD [01:32:55]Write i2c OK [01:32:55]MH_I2C_Read... [01:32:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:32:55]Read from MH i2c: E2 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 CA 00 [01:32:55]MH_I2C_Read... [01:32:55]Read from MH i2c: E2 CA 00 4A 03 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 B2 [01:32:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:32:55]wFMCommunicate OK [01:32:55]SAM_PROTO_GetShiftData done [01:32:55]requested_item shift.sale.total_cash is exist - process it [01:32:55]requested_item shift.sale_refund.total is exist - process it [01:32:55]requested_item shift.sale_refund.total_cash is exist - process it [01:32:55]produce_requested_data done [01:32:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56849,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2251.00,"shift.sale.total_cash":1311.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:32:55]process_action_free close_receipt [01:32:55]json_value_free [01:32:55]json_value_free done [01:32:55]process_json_proto returns [01:32:55]Send response to host [01:32:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56849,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2251.00,"shift.sale.total_cash":1311.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:32:55]free response buf [01:32:55]execute_script done [01:32:55]execute_script returns [01:32:55]free content buf [01:32:55]Sock 7.Close socket [01:32:55]Sock 7.Thread stoped [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:34:02]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:41]accept exits with 9 [01:35:41]New connection [01:35:41]New thread 3066969444 created [01:35:41]Thread 3066826084 joined [01:35:41]Waiting for new connection... [01:35:41] Sock 9.Parse request [01:35:41]Sock 9.Check first char [01:35:41]Sock 9.First char is OK [01:35:41]request: POST /json_proto HTTP/1.0 [01:35:41]Method: POST [01:35:41]URL: /json_proto [01:35:41]Method is POST - this is cgi request [01:35:41]url: /json_proto [01:35:41]query_string will be loaded in cgi processing [01:35:41]execute_cgi json_proto POST (null) [01:35:41]execute_cgi path=json_proto method=POST [01:35:41]POST find Content-Length [01:35:41]Host: 172.17.39.4:8080 [01:35:41]Content-Length: 800 [01:35:41]Content-Type: application/json [01:35:41] [01:35:41]POST finish read [01:35:41]Found Content-Length = 800 [01:35:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129337", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:35:41]execute_script... [01:35: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)129337", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:35:41]POST & json_proto [01:35:41]process_json_proto [01:35:41]json parsed OK: [01:35:41]protocol is kg_v1.0 [01:35:41]action value=close_receipt [01:35:41]process_action close_receipt [01:35:41]cmd_close_receipt [01:35:41]MH_GetDate [01:35:41]Write to MH i2c: F0 00 00 4B 03 3D [01:35:41]Write i2c OK [01:35:41]MH_I2C_Read... [01:35:41]Read from MH i2c: F0 [01:35:41]MH_I2C_Read... [01:35:41]Read from MH i2c: F0 09 00 [01:35:41]MH_I2C_Read... [01:35:41]Read from MH i2c: F0 09 00 4B 03 00 EE D9 91 66 2D 25 5D 64 17 [01:35:41]GetLastDocTimeStamp 1720834371 [01:35:41]current date 1720834542 [01:35:41]FM_GetShiftState [01:35:41]SAM_PROTO_GetShiftState [01:35:41]wFMCommunicate request_size=4 [01:35:41]MH_SAM_APDU [01:35:41]CAPDU: 80 13 01 00 [01:35:41]Write to MH i2c: E2 08 00 4C 03 80 13 01 00 00 00 00 00 CC [01:35:41]Write i2c OK [01:35:41]MH_I2C_Read... [01:35:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:41]Read from MH i2c: E2 [01:35:41]MH_I2C_Read... [01:35:41]Read from MH i2c: E2 0E 00 [01:35:41]MH_I2C_Read... [01:35:41]Read from MH i2c: E2 0E 00 4C 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 97 [01:35:41]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:35:41]wFMCommunicate OK [01:35:41]SAM_PROTO_GetShiftState done [01:35:41]FM_GetShiftState done [01:35:41]opened in 1720830718 [01:35:41]opened+sec_in_day 1720917118 [01:35:41]quantity*price = 9500 [01:35:41]sum+1 = 9501 [01:35:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 11 13.07.2024 01:35 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56850 ФПД: 75342487269681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013543&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56850&fm=75342487269681&tin=02508201610067®Number=0000000000091208&sum=9500 0 [01:35:43]StoreToDocumentArchive [01:35:43]shift 495 fd 56850 [01:35:43]save to /storage/0495/doc_00056850 [01:35:43]save last doc name /storage/0495/doc_00056850 to /storage/kkm_last_doc_name [01:35:43]save OK [01:35:43]Clear old archive folders... [01:35:43]ProcessDocumentItem done err = 0, tmpTLVsize=299 [01:35:43]tlvbuf is 0056A8E0 [01:35:43]SAM_PROTO_ClearQueue [01:35:43]wFMCommunicate request_size=4 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 09 00 00 [01:35:43]Write to MH i2c: E2 08 00 59 03 80 09 00 00 00 00 00 00 CE [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 59 03 00 90 00 D0 [01:35:43]RAPDU: 90 00 [01:35:43]wFMCommunicate OK [01:35:43]SAM_PROTO_ClearQueue done [01:35:43]KKMCreateOFDPacket [01:35:43]OFDProtocolAddRootSTLVToBuf [01:35:43]FM_MakeSignedData [01:35:43]FM_MakeSignedData [01:35:43]SAM_PROTO_SignData [01:35:43]wFMCommunicate request_size=4 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 0D 01 02 [01:35:43]Write to MH i2c: E2 08 00 5A 03 80 0D 01 02 00 00 00 00 D6 [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 5A 03 00 90 00 D1 [01:35:43]RAPDU: 90 00 [01:35:43]wFMCommunicate OK [01:35:43]wFMCommunicate request_size=255 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 EF D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [01:35:43]Write to MH i2c: E2 02 01 5B 03 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 EF D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 C1 [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 5B 03 00 90 00 D2 [01:35:43]RAPDU: 90 00 [01:35:43]wFMCommunicate OK [01:35:43]wFMCommunicate request_size=58 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DE 00 00 35 04 06 00 44 86 0A 30 B1 31 [01:35:43]Write to MH i2c: E2 3D 00 5C 03 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DE 00 00 35 04 06 00 44 86 0A 30 B1 31 00 00 A0 [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 03 00 5C 03 00 90 00 D3 [01:35:43]RAPDU: 90 00 [01:35:43]wFMCommunicate OK [01:35:43]wFMCommunicate request_size=4 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 0D 03 02 [01:35:43]Write to MH i2c: E2 08 00 5D 03 80 0D 03 02 00 00 00 00 DB [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 0B 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 0B 00 5D 03 00 0E EA 00 4B 1B 88 89 52 90 00 9D [01:35:43]RAPDU: 0E EA 00 4B 1B 88 89 52 90 00 [01:35:43]wFMCommunicate OK [01:35:43]SAM_PROTO_SignData done [01:35:43]FM_MakeSignedData done [01:35:43]CreateOFDProtocolMessage [01:35:43]wFMCommunicate request_size=4 [01:35:43]MH_SAM_APDU [01:35:43]CAPDU: 80 11 00 00 [01:35:43]Write to MH i2c: E2 08 00 5E 03 80 11 00 00 00 00 00 00 DB [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:43]Read from MH i2c: E2 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 17 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: E2 17 00 5E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 35 [01:35:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:35:43]wFMCommunicate OK [01:35:43]CreateOFDProtocolMessage done [01:35:43]OFDSenderStorePacket 56850 [01:35:43]StoreOFDPacket docnum=56850 [01:35:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3F 01 00 00 2C D8 37 01 D1 0A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 EF D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DE 00 00 35 04 06 00 44 86 0A 30 B1 31 0E EA 00 4B 1B 88 89 52 [01:35:43]CheckFolder [01:35:43]dirname=/storage/ofd_packets [01:35:43]CheckFolder done [01:35:43]ProducePacketName [01:35:43]name=ofd_packets/00056850 [01:35:43]NVStorageSaveData ofd_packets/00056850 [01:35:43]File name is /storage/ofd_packets/00056850 [01:35:43]Write 349 bytes [01:35:43]NVStorageSaveData done [01:35:43]OFDSenderStorePacket done [01:35:43]KKMCreateOFDPacket done [01:35:43]NVStorageSaveData kkm_last_timestamp [01:35:43]File name is /storage/kkm_last_timestamp [01:35:43]Write 4 bytes [01:35:43]NVStorageSaveData done [01:35:43]ExternCall_PrintAddStr [01:35:43]wPrintStart [01:35:43]Write to MH i2c: 01 00 00 5F 03 62 [01:35:43]Write i2c OK [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: 01 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: 01 07 00 [01:35:43]MH_I2C_Read... [01:35:43]Read from MH i2c: 01 07 00 5F 03 00 00 00 00 00 FF 0F 77 [01:35:43]RasterBufferAndPrint [01:35:43]line Счет N : (3)129337 [01:35:43]line ИНН: 02508201610067 [01:35:43]line Контрольно-Кассовый Чек [01:35:43]line ПРОДАЖА [01:35:43]line Товар: 4700000480364 [01:35:43]line Напиток энерг Nitro экзотик 0.45 ж/б [01:35:43]line 1.000 * 95.00 [01:35:43]line = 95.00 [01:35:43]line НДС 12% НСП 1% [01:35:43]line > о реализуемом товаре [01:35:43]line ИТОГО: 95.00 [01:35:43]line НСП 1% : 0.84 [01:35:43]line НДС 12% : 10.09 [01:35:43]line Наличными: 95.00 [01:35:43]line Безнал.: 0.00 [01:35:43]line Место: АЗС № 132 "Партнер Нефть" [01:35:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:35:43]line СНО: Общий режим [01:35:43]line Чек 11 13.07.2024 01:35 [01:35:43]line Смена: 495 ФФД: 1.0 [01:35:43]line ЗНМ: 0300000132 [01:35:43]line РНМ: 0000000000091208 [01:35:43]line Версия ККМ: 001 [01:35:43]line ФМ: 0000000000874857 [01:35:43]line ФД: 56850 [01:35:43]line ФПД: 75342487269681 [01:35:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013543&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56850&fm=75342487269681&tin=02508201610067®Number=0000000000091208&sum=9500 [01:35:43]line 0 [01:35:43]OFD Sender: Processing packet 56850 [packets to send 38, broken 37] [01:35:43]ProducePacketName [01:35:43]name=ofd_packets/00056850 [01:35:43]OFD Sender: To server: pG, [01:35:43]CommunicateWithHost lk.salyk.kg:30040 [01:35:43]ConnectInit lk.salyk.kg [01:35:43]written 0, free lines is 4095 [01:35:44]Connected sock=10 [01:35: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 38 35 37 3F 01 00 00 2C D8 37 01 D1 0A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 EF D9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DE 00 00 35 04 06 00 44 86 0A 30 B1 31 0E EA 00 4B 1B 88 89 52 [01:35:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3F 43 47 00 85 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DE 00 00 F4 03 04 00 44 80 91 66 B6 04 01 00 00 47 33 DC 07 B0 7D 48 0A [01:35:44]CommunicateWithHost err = 0 [01:35:44]CheckOFDResponse [01:35:44]1017 (14) - 77093643461234 [01:35:44]1041 (16) - 0000000000874857 [01:35:44]1040 (4) - 56850 [01:35:44]1012 (4) - 12.07.2024 19:13 [01:35:44]1206 (1) - 0 [01:35:44]OFD Sender: Remove packet 56850 [01:35:44]ProducePacketName [01:35:44]name=ofd_packets/00056850 [01:35:44]NVStorageDeleteData [01:35:44]Write to MH i2c: 01 00 00 88 03 8B [01:35:44]Write i2c OK [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: 01 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: 01 07 00 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: 01 07 00 88 03 00 00 00 00 00 EB 0C 89 [01:35:44]RasterBufferAndPrint [01:35:44]line [01:35:44]line [01:35:44]line [01:35:44]line [01:35:44]line [01:35:44]written 0, free lines is 3313 [01:35:44]MH_Cut [01:35:44]Write to MH i2c: D1 01 00 8F 03 01 64 [01:35:44]Write i2c OK [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: D1 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: D1 01 00 [01:35:44]MH_I2C_Read... [01:35:44]Read from MH i2c: D1 01 00 8F 03 00 63 [01:35:44]Write to MH i2c: 01 00 00 90 03 93 [01:35:44]Write i2c OK [01:35:44]MH_I2C_Read... [01:35:44]OFD Sender: No OFD packet to send [01:35:45]*** Cut start [01:35:45]*** Partial cut [01:35:45]*** CUTSNS_PIN = 1 [01:35:45]*** CUTSNS_PIN = 0 [01:35:45]*** Brake cut motor [01:35:45]Read from MH i2c: 01 [01:35:45]MH_I2C_Read... [01:35:45]*** Stop cut motor [01:35:45]*** Cut end [01:35:45]Read from MH i2c: 01 07 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: 01 07 00 90 03 00 00 00 00 00 FF 0F A8 [01:35:45]process_action close_receipt done [01:35:45]requested_data is exist [01:35:45]produce_requested_data [01:35:45]requested_item fm.sn is exist - process it [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 11 00 00 [01:35:45]Write to MH i2c: E2 08 00 91 03 80 11 00 00 00 00 00 00 0E [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 17 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 17 00 91 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 68 [01:35:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:35:45]wFMCommunicate OK [01:35:45]requested_item fd.num is exist - process it [01:35:45]SAM_PROTO_GetFieldsCounters [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 13 00 00 [01:35:45]Write to MH i2c: E2 08 00 92 03 80 13 00 00 00 00 00 00 11 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 62 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 62 00 92 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 12 DE 00 00 0E 04 04 00 EF 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 35 [01:35: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 12 DE 00 00 0E 04 04 00 EF 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 [01:35:45]wFMCommunicate OK [01:35:45]SAM_PROTO_GetFieldsCounters done [01:35:45]requested_item shift.num is exist - process it [01:35:45]requested_item shift.opened is exist - process it [01:35:45]req_shift_opened [01:35:45]FM_GetShiftState [01:35:45]SAM_PROTO_GetShiftState [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 13 01 00 [01:35:45]Write to MH i2c: E2 08 00 93 03 80 13 01 00 00 00 00 00 13 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:45]Read from MH i2c: E2 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 0E 00 [01:35:45]MH_I2C_Read... [01:35:45]Read from MH i2c: E2 0E 00 93 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 DE [01:35:45]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:35:45]wFMCommunicate OK [01:35:45]SAM_PROTO_GetShiftState done [01:35:45]FM_GetShiftState done [01:35:45]req_shift_opened done [01:35:45]requested_item shift.open_date is exist - process it [01:35:45]req_shift_open_date [01:35:45]req_shift_open_date done [01:35:45]requested_item shift.sale.total is exist - process it [01:35:45]SAM_PROTO_GetShiftData [01:35:45]wFMCommunicate request_size=4 [01:35:45]MH_SAM_APDU [01:35:45]CAPDU: 80 13 02 00 [01:35:45]Write to MH i2c: E2 08 00 94 03 80 13 02 00 00 00 00 00 15 [01:35:45]Write i2c OK [01:35:45]MH_I2C_Read... [01:35:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:35:46]Read from MH i2c: E2 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: E2 FD 00 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: E2 FD 00 94 03 00 AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 68 94 03 70 04 03 00 38 25 02 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4F 61 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 1B 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 BA [01:35:46]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 68 94 03 70 04 03 00 38 25 02 72 04 03 00 30 6F 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4F 61 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 1B 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:35:46]wFMCommunicate OK [01:35:46]wFMCommunicate request_size=4 [01:35:46]MH_SAM_APDU [01:35:46]CAPDU: 80 17 00 00 [01:35:46]Write to MH i2c: E2 08 00 95 03 80 17 00 00 00 00 00 00 18 [01:35:46]Write i2c OK [01:35:46]MH_I2C_Read... [01:35:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:46]Read from MH i2c: E2 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: E2 FD 00 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: E2 FD 00 95 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 2A [01:35:46]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:35:46]wFMCommunicate OK [01:35:46]wFMCommunicate request_size=4 [01:35:46]MH_SAM_APDU [01:35:46]CAPDU: 80 17 00 00 [01:35:46]Write to MH i2c: E2 08 00 96 03 80 17 00 00 00 00 00 00 19 [01:35:46]Write i2c OK [01:35:46]MH_I2C_Read... [01:35:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:46]Read from MH i2c: E2 [01:35:46]MH_I2C_Read... [01:35:46]Read from MH i2c: E2 FD 00 [01:35:46]MH_I2C_Read... [01:35:47]Read from MH i2c: E2 FD 00 96 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 DD [01:35:47]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:35:47]wFMCommunicate OK [01:35:47]wFMCommunicate request_size=4 [01:35:47]MH_SAM_APDU [01:35:47]CAPDU: 80 17 00 00 [01:35:47]Write to MH i2c: E2 08 00 97 03 80 17 00 00 00 00 00 00 1A [01:35:47]Write i2c OK [01:35:47]MH_I2C_Read... [01:35:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:35:47]Read from MH i2c: E2 [01:35:47]MH_I2C_Read... [01:35:47]Read from MH i2c: E2 FD 00 [01:35:47]MH_I2C_Read... [01:35:47]Read from MH i2c: E2 FD 00 97 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 90 00 8F [01:35:47]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:35:47]wFMCommunicate OK [01:35:47]wFMCommunicate request_size=4 [01:35:47]MH_SAM_APDU [01:35:47]CAPDU: 80 17 00 00 [01:35:47]Write to MH i2c: E2 08 00 98 03 80 17 00 00 00 00 00 00 1B [01:35:47]Write i2c OK [01:35:47]MH_I2C_Read... [01:35:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:35:47]Read from MH i2c: E2 [01:35:47]MH_I2C_Read... [01:35:47]Read from MH i2c: E2 CA 00 [01:35:47]MH_I2C_Read... [01:35:47]Read from MH i2c: E2 CA 00 98 03 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 00 [01:35:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:35:47]wFMCommunicate OK [01:35:47]SAM_PROTO_GetShiftData done [01:35:47]requested_item shift.sale.total_cash is exist - process it [01:35:47]requested_item shift.sale_refund.total is exist - process it [01:35:47]requested_item shift.sale_refund.total_cash is exist - process it [01:35:47]produce_requested_data done [01:35:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56850,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2346.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:35:47]process_action_free close_receipt [01:35:47]json_value_free [01:35:47]json_value_free done [01:35:47]process_json_proto returns [01:35:47]Send response to host [01:35:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56850,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2346.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:35:47]free response buf [01:35:47]execute_script done [01:35:47]execute_script returns [01:35:47]free content buf [01:35:47]Sock 9.Close socket [01:35:47]Sock 9.Thread stoped [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:25]accept exits with 7 [01:37:25]New connection [01:37:25]New thread 3066826084 created [01:37:25]Thread 3066969444 joined [01:37:25]Waiting for new connection... [01:37:25] Sock 7.Parse request [01:37:25]Sock 7.Check first char [01:37:25]Sock 7.First char is OK [01:37:25]request: POST /json_proto HTTP/1.0 [01:37:25]Method: POST [01:37:25]URL: /json_proto [01:37:25]Method is POST - this is cgi request [01:37:25]url: /json_proto [01:37:25]query_string will be loaded in cgi processing [01:37:25]execute_cgi json_proto POST (null) [01:37:25]execute_cgi path=json_proto method=POST [01:37:25]POST find Content-Length [01:37:25]Host: 172.17.39.4:8080 [01:37:25]Content-Length: 921 [01:37:25]Content-Type: application/json [01:37:25] [01:37:25]POST finish read [01:37:25]Found Content-Length = 921 [01:37:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129338", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:37:25]execute_script... [01:37: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)129338", "tax_sys" : 0, "items" : [ { "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:37:25]POST & json_proto [01:37:25]process_json_proto [01:37:25]json parsed OK: [01:37:25]protocol is kg_v1.0 [01:37:25]action value=close_receipt [01:37:25]process_action close_receipt [01:37:25]cmd_close_receipt [01:37:25]MH_GetDate [01:37:25]Write to MH i2c: F0 00 00 99 03 8B [01:37:25]Write i2c OK [01:37:25]MH_I2C_Read... [01:37:25]Read from MH i2c: F0 [01:37:25]MH_I2C_Read... [01:37:25]Read from MH i2c: F0 09 00 [01:37:25]MH_I2C_Read... [01:37:25]Read from MH i2c: F0 09 00 99 03 00 56 DA 91 66 2D 25 5D 64 CE [01:37:25]GetLastDocTimeStamp 1720834543 [01:37:25]current date 1720834646 [01:37:25]FM_GetShiftState [01:37:25]SAM_PROTO_GetShiftState [01:37:25]wFMCommunicate request_size=4 [01:37:25]MH_SAM_APDU [01:37:25]CAPDU: 80 13 01 00 [01:37:25]Write to MH i2c: E2 08 00 9A 03 80 13 01 00 00 00 00 00 1A [01:37:25]Write i2c OK [01:37:25]MH_I2C_Read... [01:37:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:37:25]Read from MH i2c: E2 [01:37:25]MH_I2C_Read... [01:37:25]Read from MH i2c: E2 0E 00 [01:37:25]MH_I2C_Read... [01:37:25]Read from MH i2c: E2 0E 00 9A 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 E5 [01:37:25]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:37:25]wFMCommunicate OK [01:37:25]SAM_PROTO_GetShiftState done [01:37:25]FM_GetShiftState done [01:37:25]opened in 1720830718 [01:37:25]opened+sec_in_day 1720917118 [01:37:25]quantity*price = 4000 [01:37:25]sum+1 = 4001 [01:37:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 12 13.07.2024 01:37 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 56851 ФПД: 91909308933631 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013726&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56851&fm=91909308933631&tin=02508201610067®Number=0000000000091208&sum=4000 0 [01:37:26]StoreToDocumentArchive [01:37:26]shift 495 fd 56851 [01:37:26]save to /storage/0495/doc_00056851 [01:37:26]save last doc name /storage/0495/doc_00056851 to /storage/kkm_last_doc_name [01:37:26]save OK [01:37:26]Clear old archive folders... [01:37:26]ProcessDocumentItem done err = 0, tmpTLVsize=282 [01:37:26]tlvbuf is 00546CA0 [01:37:26]SAM_PROTO_ClearQueue [01:37:26]wFMCommunicate request_size=4 [01:37:26]MH_SAM_APDU [01:37:26]CAPDU: 80 09 00 00 [01:37:26]Write to MH i2c: E2 08 00 A7 03 80 09 00 00 00 00 00 00 1C [01:37:26]Write i2c OK [01:37:26]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 A7 03 00 90 00 1E [01:37:27]RAPDU: 90 00 [01:37:27]wFMCommunicate OK [01:37:27]SAM_PROTO_ClearQueue done [01:37:27]KKMCreateOFDPacket [01:37:27]OFDProtocolAddRootSTLVToBuf [01:37:27]FM_MakeSignedData [01:37:27]FM_MakeSignedData [01:37:27]SAM_PROTO_SignData [01:37:27]wFMCommunicate request_size=4 [01:37:27]MH_SAM_APDU [01:37:27]CAPDU: 80 0D 01 02 [01:37:27]Write to MH i2c: E2 08 00 A8 03 80 0D 01 02 00 00 00 00 24 [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 A8 03 00 90 00 1F [01:37:27]RAPDU: 90 00 [01:37:27]wFMCommunicate OK [01:37:27]wFMCommunicate request_size=255 [01:37:27]MH_SAM_APDU [01:37:27]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 56 DA 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [01:37:27]Write to MH i2c: E2 02 01 A9 03 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 56 DA 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 85 [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 A9 03 00 90 00 20 [01:37:27]RAPDU: 90 00 [01:37:27]wFMCommunicate OK [01:37:27]wFMCommunicate request_size=41 [01:37:27]MH_SAM_APDU [01:37:27]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DE 00 00 35 04 06 00 53 97 4D B5 E5 FF [01:37:27]Write to MH i2c: E2 2C 00 AA 03 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DE 00 00 35 04 06 00 53 97 4D B5 E5 FF 00 00 BE [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 03 00 AA 03 00 90 00 21 [01:37:27]RAPDU: 90 00 [01:37:27]wFMCommunicate OK [01:37:27]wFMCommunicate request_size=4 [01:37:27]MH_SAM_APDU [01:37:27]CAPDU: 80 0D 03 02 [01:37:27]Write to MH i2c: E2 08 00 AB 03 80 0D 03 02 00 00 00 00 29 [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 0B 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 0B 00 AB 03 00 EC 68 10 E8 73 6E 62 EC 90 00 A5 [01:37:27]RAPDU: EC 68 10 E8 73 6E 62 EC 90 00 [01:37:27]wFMCommunicate OK [01:37:27]SAM_PROTO_SignData done [01:37:27]FM_MakeSignedData done [01:37:27]CreateOFDProtocolMessage [01:37:27]wFMCommunicate request_size=4 [01:37:27]MH_SAM_APDU [01:37:27]CAPDU: 80 11 00 00 [01:37:27]Write to MH i2c: E2 08 00 AC 03 80 11 00 00 00 00 00 00 29 [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:37:27]Read from MH i2c: E2 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 17 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: E2 17 00 AC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 83 [01:37:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:37:27]wFMCommunicate OK [01:37:27]CreateOFDProtocolMessage done [01:37:27]OFDSenderStorePacket 56851 [01:37:27]StoreOFDPacket docnum=56851 [01:37:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 17 80 26 01 86 4A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 56 DA 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DE 00 00 35 04 06 00 53 97 4D B5 E5 FF EC 68 10 E8 73 6E 62 EC [01:37:27]CheckFolder [01:37:27]dirname=/storage/ofd_packets [01:37:27]CheckFolder done [01:37:27]ProducePacketName [01:37:27]name=ofd_packets/00056851 [01:37:27]NVStorageSaveData ofd_packets/00056851 [01:37:27]File name is /storage/ofd_packets/00056851 [01:37:27]Write 332 bytes [01:37:27]NVStorageSaveData done [01:37:27]OFDSenderStorePacket done [01:37:27]KKMCreateOFDPacket done [01:37:27]NVStorageSaveData kkm_last_timestamp [01:37:27]File name is /storage/kkm_last_timestamp [01:37:27]Write 4 bytes [01:37:27]NVStorageSaveData done [01:37:27]ExternCall_PrintAddStr [01:37:27]wPrintStart [01:37:27]Write to MH i2c: 01 00 00 AD 03 B0 [01:37:27]Write i2c OK [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: 01 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: 01 07 00 [01:37:27]MH_I2C_Read... [01:37:27]Read from MH i2c: 01 07 00 AD 03 00 00 00 00 00 FF 0F C5 [01:37:27]RasterBufferAndPrint [01:37:27]line Счет N : (3)129338 [01:37:27]line ИНН: 02508201610067 [01:37:27]line Контрольно-Кассовый Чек [01:37:27]line ПРОДАЖА [01:37:27]line Товар: 4607120852531 [01:37:27]line Кириешки Light 80 г см-зел [01:37:27]line 1.000 * 40.00 [01:37:27]line = 40.00 [01:37:27]line НДС 12% НСП 1% [01:37:27]line > о реализуемом товаре [01:37:27]line ИТОГО: 40.00 [01:37:27]line НСП 1% : 0.35 [01:37:27]line НДС 12% : 4.25 [01:37:27]line Наличными: 0.00 [01:37:27]line Безнал.: 40.00 [01:37:27]line Место: АЗС № 132 "Партнер Нефть" [01:37:27]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:37:27]line СНО: Общий режим [01:37:27]line Чек 12 13.07.2024 01:37 [01:37:27]line Смена: 495 ФФД: 1.0 [01:37:27]line ЗНМ: 0300000132 [01:37:27]line РНМ: 0000000000091208 [01:37:27]line Версия ККМ: 001 [01:37:27]line Платежная система: О! деньги [01:37:27]line ФМ: 0000000000874857 [01:37:27]line ФД: 56851 [01:37:27]line ФПД: 91909308933631 [01:37:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013726&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56851&fm=91909308933631&tin=02508201610067®Number=0000000000091208&sum=4000 [01:37:27]line 0 [01:37:27]OFD Sender: Processing packet 56851 [packets to send 38, broken 37] [01:37:27]ProducePacketName [01:37:27]name=ofd_packets/00056851 [01:37:27]OFD Sender: To server: pG, [01:37:27]CommunicateWithHost lk.salyk.kg:30040 [01:37:27]ConnectInit lk.salyk.kg [01:37:27]written 0, free lines is 4095 [01:37:28]Connected sock=6 [01:37: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 38 35 37 2E 01 00 00 17 80 26 01 86 4A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 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 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 56 DA 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DE 00 00 35 04 06 00 53 97 4D B5 E5 FF EC 68 10 E8 73 6E 62 EC [01:37:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 0B 22 47 00 DF 7B 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 38 35 37 10 04 04 00 13 DE 00 00 F4 03 04 00 AC 80 91 66 B6 04 01 00 00 16 C2 1D 46 5A 4E CD 04 [01:37:28]CommunicateWithHost err = 0 [01:37:28]CheckOFDResponse [01:37:28]1017 (14) - 77093643461234 [01:37:28]1041 (16) - 0000000000874857 [01:37:28]1040 (4) - 56851 [01:37:28]1012 (4) - 12.07.2024 19:14 [01:37:28]1206 (1) - 0 [01:37:28]OFD Sender: Remove packet 56851 [01:37:28]ProducePacketName [01:37:28]name=ofd_packets/00056851 [01:37:28]NVStorageDeleteData [01:37:28]Write to MH i2c: 01 00 00 D7 03 DA [01:37:28]Write i2c OK [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: 01 [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: 01 07 00 [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: 01 07 00 D7 03 00 00 00 00 00 FC 0C E9 [01:37:28]RasterBufferAndPrint [01:37:28]line [01:37:28]line [01:37:28]line [01:37:28]line [01:37:28]line [01:37:28]written 0, free lines is 3333 [01:37:28]MH_Cut [01:37:28]Write to MH i2c: D1 01 00 DE 03 01 B3 [01:37:28]Write i2c OK [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: D1 [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: D1 01 00 [01:37:28]MH_I2C_Read... [01:37:28]Read from MH i2c: D1 01 00 DE 03 00 B2 [01:37:28]Write to MH i2c: 01 00 00 DF 03 E2 [01:37:28]Write i2c OK [01:37:28]MH_I2C_Read... [01:37:28]OFD Sender: No OFD packet to send [01:37:29]*** Cut start [01:37:29]*** Partial cut [01:37:29]*** CUTSNS_PIN = 1 [01:37:29]*** CUTSNS_PIN = 0 [01:37:29]*** Brake cut motor [01:37:29]Read from MH i2c: 01 [01:37:29]MH_I2C_Read... [01:37:29]*** Stop cut motor [01:37:29]*** Cut end [01:37:29]Read from MH i2c: 01 07 00 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: 01 07 00 DF 03 00 00 00 00 00 FF 0F F7 [01:37:29]process_action close_receipt done [01:37:29]requested_data is exist [01:37:29]produce_requested_data [01:37:29]requested_item fm.sn is exist - process it [01:37:29]wFMCommunicate request_size=4 [01:37:29]MH_SAM_APDU [01:37:29]CAPDU: 80 11 00 00 [01:37:29]Write to MH i2c: E2 08 00 E0 03 80 11 00 00 00 00 00 00 5D [01:37:29]Write i2c OK [01:37:29]MH_I2C_Read... [01:37:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:37:29]Read from MH i2c: E2 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 17 00 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 17 00 E0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B7 [01:37:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:37:29]wFMCommunicate OK [01:37:29]requested_item fd.num is exist - process it [01:37:29]SAM_PROTO_GetFieldsCounters [01:37:29]wFMCommunicate request_size=4 [01:37:29]MH_SAM_APDU [01:37:29]CAPDU: 80 13 00 00 [01:37:29]Write to MH i2c: E2 08 00 E1 03 80 13 00 00 00 00 00 00 60 [01:37:29]Write i2c OK [01:37:29]MH_I2C_Read... [01:37:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:37:29]Read from MH i2c: E2 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 62 00 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 62 00 E1 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 13 DE 00 00 0E 04 04 00 EF 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 88 [01:37: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 13 DE 00 00 0E 04 04 00 EF 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 [01:37:29]wFMCommunicate OK [01:37:29]SAM_PROTO_GetFieldsCounters done [01:37:29]requested_item shift.num is exist - process it [01:37:29]requested_item shift.opened is exist - process it [01:37:29]req_shift_opened [01:37:29]FM_GetShiftState [01:37:29]SAM_PROTO_GetShiftState [01:37:29]wFMCommunicate request_size=4 [01:37:29]MH_SAM_APDU [01:37:29]CAPDU: 80 13 01 00 [01:37:29]Write to MH i2c: E2 08 00 E2 03 80 13 01 00 00 00 00 00 62 [01:37:29]Write i2c OK [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 [01:37:29]MH_I2C_Read... [01:37:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:37:29]Read from MH i2c: E2 0E 00 [01:37:29]MH_I2C_Read... [01:37:29]Read from MH i2c: E2 0E 00 E2 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 2D [01:37:29]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [01:37:29]wFMCommunicate OK [01:37:29]SAM_PROTO_GetShiftState done [01:37:29]FM_GetShiftState done [01:37:29]req_shift_opened done [01:37:29]requested_item shift.open_date is exist - process it [01:37:29]req_shift_open_date [01:37:29]req_shift_open_date done [01:37:29]requested_item shift.sale.total is exist - process it [01:37:29]SAM_PROTO_GetShiftData [01:37:29]wFMCommunicate request_size=4 [01:37:29]MH_SAM_APDU [01:37:29]CAPDU: 80 13 02 00 [01:37:29]Write to MH i2c: E2 08 00 E3 03 80 13 02 00 00 00 00 00 64 [01:37:29]Write i2c OK [01:37:29]MH_I2C_Read... [01:37:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:37:30]Read from MH i2c: E2 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 E3 03 00 AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 08 A4 03 70 04 03 00 38 25 02 72 04 03 00 D0 7E 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F8 62 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 3E 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 37 [01:37:30]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 08 A4 03 70 04 03 00 38 25 02 72 04 03 00 D0 7E 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F8 62 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 3E 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:37:30]wFMCommunicate OK [01:37:30]wFMCommunicate request_size=4 [01:37:30]MH_SAM_APDU [01:37:30]CAPDU: 80 17 00 00 [01:37:30]Write to MH i2c: E2 08 00 E4 03 80 17 00 00 00 00 00 00 67 [01:37:30]Write i2c OK [01:37:30]MH_I2C_Read... [01:37:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:37:30]Read from MH i2c: E2 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 E4 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 79 [01:37:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [01:37:30]wFMCommunicate OK [01:37:30]wFMCommunicate request_size=4 [01:37:30]MH_SAM_APDU [01:37:30]CAPDU: 80 17 00 00 [01:37:30]Write to MH i2c: E2 08 00 E5 03 80 17 00 00 00 00 00 00 68 [01:37:30]Write i2c OK [01:37:30]MH_I2C_Read... [01:37:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:37:30]Read from MH i2c: E2 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 [01:37:30]MH_I2C_Read... [01:37:30]Read from MH i2c: E2 FD 00 E5 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 2C [01:37:30]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [01:37:30]wFMCommunicate OK [01:37:30]wFMCommunicate request_size=4 [01:37:30]MH_SAM_APDU [01:37:30]CAPDU: 80 17 00 00 [01:37:30]Write to MH i2c: E2 08 00 E6 03 80 17 00 00 00 00 00 00 69 [01:37:30]Write i2c OK [01:37:30]MH_I2C_Read... [01:37:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:37:31]Read from MH i2c: E2 [01:37:31]MH_I2C_Read... [01:37:31]Read from MH i2c: E2 FD 00 [01:37:31]MH_I2C_Read... [01:37:31]Read from MH i2c: E2 FD 00 E6 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 90 00 DE [01:37:31]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:37:31]wFMCommunicate OK [01:37:31]wFMCommunicate request_size=4 [01:37:31]MH_SAM_APDU [01:37:31]CAPDU: 80 17 00 00 [01:37:31]Write to MH i2c: E2 08 00 E7 03 80 17 00 00 00 00 00 00 6A [01:37:31]Write i2c OK [01:37:31]MH_I2C_Read... [01:37:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:37:31]Read from MH i2c: E2 [01:37:31]MH_I2C_Read... [01:37:31]Read from MH i2c: E2 CA 00 [01:37:31]MH_I2C_Read... [01:37:31]Read from MH i2c: E2 CA 00 E7 03 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 4F [01:37:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:37:31]wFMCommunicate OK [01:37:31]SAM_PROTO_GetShiftData done [01:37:31]requested_item shift.sale.total_cash is exist - process it [01:37:31]requested_item shift.sale_refund.total is exist - process it [01:37:31]requested_item shift.sale_refund.total_cash is exist - process it [01:37:31]produce_requested_data done [01:37:31]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56851,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2386.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:37:31]process_action_free close_receipt [01:37:31]json_value_free [01:37:31]json_value_free done [01:37:31]process_json_proto returns [01:37:31]Send response to host [01:37:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56851,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2386.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:37:31]free response buf [01:37:31]execute_script done [01:37:31]execute_script returns [01:37:31]free content buf [01:37:31]Sock 7.Close socket [01:37:31]Sock 7.Thread stoped [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [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 [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:53]accept exits with 9 [02:08:53]New connection [02:08:53]New thread 3066969444 created [02:08:53]Thread 3066826084 joined [02:08:53]Waiting for new connection... [02:08:53] Sock 9.Parse request [02:08:53]Sock 9.Check first char [02:08:53]Sock 9.First char is OK [02:08:53]request: POST /json_proto HTTP/1.0 [02:08:53]Method: POST [02:08:53]URL: /json_proto [02:08:53]Method is POST - this is cgi request [02:08:53]url: /json_proto [02:08:53]query_string will be loaded in cgi processing [02:08:53]execute_cgi json_proto POST (null) [02:08:53]execute_cgi path=json_proto method=POST [02:08:53]POST find Content-Length [02:08:53]Host: 172.17.39.4:8080 [02:08:53]Content-Length: 928 [02:08:53]Content-Type: application/json [02:08:53] [02:08:53]POST finish read [02:08:53]Found Content-Length = 928 [02:08:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129339", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:08:53]execute_script... [02:08: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)129339", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:08:53]POST & json_proto [02:08:53]process_json_proto [02:08:53]json parsed OK: [02:08:53]protocol is kg_v1.0 [02:08:53]action value=close_receipt [02:08:53]process_action close_receipt [02:08:53]cmd_close_receipt [02:08:53]MH_GetDate [02:08:53]Write to MH i2c: F0 00 00 E8 03 DA [02:08:53]Write i2c OK [02:08:53]MH_I2C_Read... [02:08:53]Read from MH i2c: F0 [02:08:53]MH_I2C_Read... [02:08:53]Read from MH i2c: F0 09 00 [02:08:53]MH_I2C_Read... [02:08:53]Read from MH i2c: F0 09 00 E8 03 00 B6 E1 91 66 2D 25 5D 64 84 [02:08:53]GetLastDocTimeStamp 1720834646 [02:08:53]current date 1720836534 [02:08:53]FM_GetShiftState [02:08:53]SAM_PROTO_GetShiftState [02:08:53]wFMCommunicate request_size=4 [02:08:53]MH_SAM_APDU [02:08:53]CAPDU: 80 13 01 00 [02:08:53]Write to MH i2c: E2 08 00 E9 03 80 13 01 00 00 00 00 00 69 [02:08:53]Write i2c OK [02:08:53]MH_I2C_Read... [02:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:08:53]Read from MH i2c: E2 [02:08:53]MH_I2C_Read... [02:08:53]Read from MH i2c: E2 0E 00 [02:08:53]MH_I2C_Read... [02:08:53]Read from MH i2c: E2 0E 00 E9 03 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 34 [02:08:53]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:08:53]wFMCommunicate OK [02:08:53]SAM_PROTO_GetShiftState done [02:08:53]FM_GetShiftState done [02:08:53]opened in 1720830718 [02:08:53]opened+sec_in_day 1720917118 [02:08:53]quantity*price = 14000 [02:08:53]sum+1 = 14001 [02:08:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 13 13.07.2024 02:08 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56852 ФПД: 61766053901319 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T020855&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56852&fm=61766053901319&tin=02508201610067®Number=0000000000091208&sum=14000 0 [02:08:54]StoreToDocumentArchive [02:08:54]shift 495 fd 56852 [02:08:54]save to /storage/0495/doc_00056852 [02:08:54]save last doc name /storage/0495/doc_00056852 to /storage/kkm_last_doc_name [02:08:54]save OK [02:08:54]Clear old archive folders... [02:08:54]ProcessDocumentItem done err = 0, tmpTLVsize=275 [02:08:54]tlvbuf is 00548B90 [02:08:54]SAM_PROTO_ClearQueue [02:08:54]wFMCommunicate request_size=4 [02:08:54]MH_SAM_APDU [02:08:54]CAPDU: 80 09 00 00 [02:08:54]Write to MH i2c: E2 08 00 F6 03 80 09 00 00 00 00 00 00 6B [02:08:54]Write i2c OK [02:08:54]MH_I2C_Read... [02:08:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:08:54]Read from MH i2c: E2 [02:08:54]MH_I2C_Read... [02:08:54]Read from MH i2c: E2 03 00 [02:08:54]MH_I2C_Read... [02:08:54]Read from MH i2c: E2 03 00 F6 03 00 90 00 6D [02:08:54]RAPDU: 90 00 [02:08:54]wFMCommunicate OK [02:08:54]SAM_PROTO_ClearQueue done [02:08:54]KKMCreateOFDPacket [02:08:54]OFDProtocolAddRootSTLVToBuf [02:08:54]FM_MakeSignedData [02:08:54]FM_MakeSignedData [02:08:54]SAM_PROTO_SignData [02:08:54]wFMCommunicate request_size=4 [02:08:54]MH_SAM_APDU [02:08:54]CAPDU: 80 0D 01 02 [02:08:54]Write to MH i2c: E2 08 00 F7 03 80 0D 01 02 00 00 00 00 73 [02:08:54]Write i2c OK [02:08:54]MH_I2C_Read... [02:08:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:08:55]Read from MH i2c: E2 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 F7 03 00 90 00 6E [02:08:55]RAPDU: 90 00 [02:08:55]wFMCommunicate OK [02:08:55]wFMCommunicate request_size=255 [02:08:55]MH_SAM_APDU [02:08:55]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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B7 E1 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [02:08:55]Write to MH i2c: E2 02 01 F8 03 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B7 E1 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 8A [02:08:55]Write i2c OK [02:08:55]MH_I2C_Read... [02:08:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:08:55]Read from MH i2c: E2 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 F8 03 00 90 00 6F [02:08:55]RAPDU: 90 00 [02:08:55]wFMCommunicate OK [02:08:55]wFMCommunicate request_size=34 [02:08:55]MH_SAM_APDU [02:08:55]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DE 00 00 35 04 06 00 38 2D 07 B3 B4 07 [02:08:55]Write to MH i2c: E2 25 00 F9 03 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DE 00 00 35 04 06 00 38 2D 07 B3 B4 07 00 00 0A [02:08:55]Write i2c OK [02:08:55]MH_I2C_Read... [02:08:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:08:55]Read from MH i2c: E2 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [02:08:55]RAPDU: 90 00 [02:08:55]wFMCommunicate OK [02:08:55]wFMCommunicate request_size=4 [02:08:55]MH_SAM_APDU [02:08:55]CAPDU: 80 0D 03 02 [02:08:55]Write to MH i2c: E2 08 00 FA 03 80 0D 03 02 00 00 00 00 78 [02:08:55]Write i2c OK [02:08:55]MH_I2C_Read... [02:08:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:08:55]Read from MH i2c: E2 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 0B 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 0B 00 FA 03 00 B2 C7 9A A5 05 96 FF 79 90 00 44 [02:08:55]RAPDU: B2 C7 9A A5 05 96 FF 79 90 00 [02:08:55]wFMCommunicate OK [02:08:55]SAM_PROTO_SignData done [02:08:55]FM_MakeSignedData done [02:08:55]CreateOFDProtocolMessage [02:08:55]wFMCommunicate request_size=4 [02:08:55]MH_SAM_APDU [02:08:55]CAPDU: 80 11 00 00 [02:08:55]Write to MH i2c: E2 08 00 FB 03 80 11 00 00 00 00 00 00 78 [02:08:55]Write i2c OK [02:08:55]MH_I2C_Read... [02:08:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:08:55]Read from MH i2c: E2 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 17 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: E2 17 00 FB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D2 [02:08:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:08:55]wFMCommunicate OK [02:08:55]CreateOFDProtocolMessage done [02:08:55]OFDSenderStorePacket 56852 [02:08:55]StoreOFDPacket docnum=56852 [02:08:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 0C 5B 1F 01 D3 87 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B7 E1 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DE 00 00 35 04 06 00 38 2D 07 B3 B4 07 B2 C7 9A A5 05 96 FF 79 [02:08:55]CheckFolder [02:08:55]dirname=/storage/ofd_packets [02:08:55]CheckFolder done [02:08:55]ProducePacketName [02:08:55]name=ofd_packets/00056852 [02:08:55]NVStorageSaveData ofd_packets/00056852 [02:08:55]File name is /storage/ofd_packets/00056852 [02:08:55]Write 325 bytes [02:08:55]NVStorageSaveData done [02:08:55]OFDSenderStorePacket done [02:08:55]KKMCreateOFDPacket done [02:08:55]NVStorageSaveData kkm_last_timestamp [02:08:55]File name is /storage/kkm_last_timestamp [02:08:55]Write 4 bytes [02:08:55]NVStorageSaveData done [02:08:55]ExternCall_PrintAddStr [02:08:55]wPrintStart [02:08:55]Write to MH i2c: 01 00 00 FC 03 FF [02:08:55]Write i2c OK [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: 01 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: 01 07 00 [02:08:55]MH_I2C_Read... [02:08:55]Read from MH i2c: 01 07 00 FC 03 00 00 00 00 00 FF 0F 14 [02:08:55]RasterBufferAndPrint [02:08:55]line Счет N : (3)129339 [02:08:55]line ИНН: 02508201610067 [02:08:55]line Контрольно-Кассовый Чек [02:08:55]line ПРОДАЖА [02:08:55]line Товар: 48743587 [02:08:55]line Сигареты Winston XStyle Silver [02:08:55]line 1.000 * 140.00 [02:08:55]line = 140.00 [02:08:55]line НДС 12% НСП 1% [02:08:55]line > о реализуемом товаре [02:08:55]line ИТОГО: 140.00 [02:08:55]line НСП 1% : 1.24 [02:08:55]line НДС 12% : 14.87 [02:08:55]line Наличными: 0.00 [02:08:55]line Безнал.: 140.00 [02:08:55]line Место: АЗС № 132 "Партнер Нефть" [02:08:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:08:55]line СНО: Общий режим [02:08:55]line Чек 13 13.07.2024 02:08 [02:08:55]line Смена: 495 ФФД: 1.0 [02:08:55]line ЗНМ: 0300000132 [02:08:55]line РНМ: 0000000000091208 [02:08:55]line Версия ККМ: 001 [02:08:55]line Платежная система: АКБ Кыргызстан [02:08:55]line ФМ: 0000000000874857 [02:08:55]line ФД: 56852 [02:08:55]line ФПД: 61766053901319 [02:08:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T020855&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56852&fm=61766053901319&tin=02508201610067®Number=0000000000091208&sum=14000 [02:08:55]OFD Sender: Processing packet 56852 [packets to send 38, broken 37] [02:08:55]ProducePacketName [02:08:55]name=ofd_packets/00056852 [02:08:55]OFD Sender: To server: pG, [02:08:55]CommunicateWithHost lk.salyk.kg:30040 [02:08:55]ConnectInit lk.salyk.kg [02:08:55]line 0 [02:08:55]written 0, free lines is 4095 [02:08:55]Connected sock=10 [02:08: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 38 35 37 27 01 00 00 0C 5B 1F 01 D3 87 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B7 E1 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DE 00 00 35 04 06 00 38 2D 07 B3 B4 07 B2 C7 9A A5 05 96 FF 79 [02:08:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A8 DD 47 00 AD 39 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 38 35 37 10 04 04 00 14 DE 00 00 F4 03 04 00 0C 88 91 66 B6 04 01 00 00 12 92 03 CF 2F 5C E4 6E [02:08:56]CommunicateWithHost err = 0 [02:08:56]CheckOFDResponse [02:08:56]1017 (14) - 77093643461234 [02:08:56]1041 (16) - 0000000000874857 [02:08:56]1040 (4) - 56852 [02:08:56]1012 (4) - 12.07.2024 19:46 [02:08:56]1206 (1) - 0 [02:08:56]OFD Sender: Remove packet 56852 [02:08:56]ProducePacketName [02:08:56]name=ofd_packets/00056852 [02:08:56]NVStorageDeleteData [02:08:56]Write to MH i2c: 01 00 00 27 04 2B [02:08:56]Write i2c OK [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: 01 [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: 01 07 00 [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: 01 07 00 27 04 00 00 00 00 00 E6 0C 24 [02:08:56]RasterBufferAndPrint [02:08:56]line [02:08:56]line [02:08:56]line [02:08:56]line [02:08:56]line [02:08:56]written 0, free lines is 3309 [02:08:56]MH_Cut [02:08:56]Write to MH i2c: D1 01 00 2E 04 01 04 [02:08:56]Write i2c OK [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: D1 [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: D1 01 00 [02:08:56]MH_I2C_Read... [02:08:56]Read from MH i2c: D1 01 00 2E 04 00 03 [02:08:56]Write to MH i2c: 01 00 00 2F 04 33 [02:08:56]Write i2c OK [02:08:56]MH_I2C_Read... [02:08:56]OFD Sender: No OFD packet to send [02:08:57]*** Cut start [02:08:57]*** Partial cut [02:08:57]*** CUTSNS_PIN = 1 [02:08:57]*** CUTSNS_PIN = 0 [02:08:57]*** Brake cut motor [02:08:57]Read from MH i2c: 01 [02:08:57]MH_I2C_Read... [02:08:57]*** Stop cut motor [02:08:57]*** Cut end [02:08:57]Read from MH i2c: 01 07 00 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: 01 07 00 2F 04 00 00 00 00 00 FF 0F 48 [02:08:57]process_action close_receipt done [02:08:57]requested_data is exist [02:08:57]produce_requested_data [02:08:57]requested_item fm.sn is exist - process it [02:08:57]wFMCommunicate request_size=4 [02:08:57]MH_SAM_APDU [02:08:57]CAPDU: 80 11 00 00 [02:08:57]Write to MH i2c: E2 08 00 30 04 80 11 00 00 00 00 00 00 AE [02:08:57]Write i2c OK [02:08:57]MH_I2C_Read... [02:08:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:08:57]Read from MH i2c: E2 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 17 00 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 17 00 30 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 08 [02:08:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:08:57]wFMCommunicate OK [02:08:57]requested_item fd.num is exist - process it [02:08:57]SAM_PROTO_GetFieldsCounters [02:08:57]wFMCommunicate request_size=4 [02:08:57]MH_SAM_APDU [02:08:57]CAPDU: 80 13 00 00 [02:08:57]Write to MH i2c: E2 08 00 31 04 80 13 00 00 00 00 00 00 B1 [02:08:57]Write i2c OK [02:08:57]MH_I2C_Read... [02:08:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:08:57]Read from MH i2c: E2 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 62 00 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 62 00 31 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 14 DE 00 00 0E 04 04 00 EF 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 DD [02:08: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 14 DE 00 00 0E 04 04 00 EF 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 [02:08:57]wFMCommunicate OK [02:08:57]SAM_PROTO_GetFieldsCounters done [02:08:57]requested_item shift.num is exist - process it [02:08:57]requested_item shift.opened is exist - process it [02:08:57]req_shift_opened [02:08:57]FM_GetShiftState [02:08:57]SAM_PROTO_GetShiftState [02:08:57]wFMCommunicate request_size=4 [02:08:57]MH_SAM_APDU [02:08:57]CAPDU: 80 13 01 00 [02:08:57]Write to MH i2c: E2 08 00 32 04 80 13 01 00 00 00 00 00 B3 [02:08:57]Write i2c OK [02:08:57]MH_I2C_Read... [02:08:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:08:57]Read from MH i2c: E2 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 0E 00 [02:08:57]MH_I2C_Read... [02:08:57]Read from MH i2c: E2 0E 00 32 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 7E [02:08:57]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:08:57]wFMCommunicate OK [02:08:57]SAM_PROTO_GetShiftState done [02:08:57]FM_GetShiftState done [02:08:57]req_shift_opened done [02:08:57]requested_item shift.open_date is exist - process it [02:08:57]req_shift_open_date [02:08:57]req_shift_open_date done [02:08:57]requested_item shift.sale.total is exist - process it [02:08:57]SAM_PROTO_GetShiftData [02:08:57]wFMCommunicate request_size=4 [02:08:57]MH_SAM_APDU [02:08:57]CAPDU: 80 13 02 00 [02:08:57]Write to MH i2c: E2 08 00 33 04 80 13 02 00 00 00 00 00 B5 [02:08:57]Write i2c OK [02:08:57]MH_I2C_Read... [02:08:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:08:58]Read from MH i2c: E2 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 33 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 B8 DA 03 70 04 03 00 38 25 02 72 04 03 00 80 B5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C7 68 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 BA 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A8 [02:08:58]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 B8 DA 03 70 04 03 00 38 25 02 72 04 03 00 80 B5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C7 68 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 BA 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:08:58]wFMCommunicate OK [02:08:58]wFMCommunicate request_size=4 [02:08:58]MH_SAM_APDU [02:08:58]CAPDU: 80 17 00 00 [02:08:58]Write to MH i2c: E2 08 00 34 04 80 17 00 00 00 00 00 00 B8 [02:08:58]Write i2c OK [02:08:58]MH_I2C_Read... [02:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:08:58]Read from MH i2c: E2 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 34 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 CA [02:08:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:08:58]wFMCommunicate OK [02:08:58]wFMCommunicate request_size=4 [02:08:58]MH_SAM_APDU [02:08:58]CAPDU: 80 17 00 00 [02:08:58]Write to MH i2c: E2 08 00 35 04 80 17 00 00 00 00 00 00 B9 [02:08:58]Write i2c OK [02:08:58]MH_I2C_Read... [02:08:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:08:58]Read from MH i2c: E2 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 [02:08:58]MH_I2C_Read... [02:08:58]Read from MH i2c: E2 FD 00 35 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 7D [02:08:58]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:08:58]wFMCommunicate OK [02:08:58]wFMCommunicate request_size=4 [02:08:58]MH_SAM_APDU [02:08:58]CAPDU: 80 17 00 00 [02:08:58]Write to MH i2c: E2 08 00 36 04 80 17 00 00 00 00 00 00 BA [02:08:58]Write i2c OK [02:08:58]MH_I2C_Read... [02:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:08:59]Read from MH i2c: E2 [02:08:59]MH_I2C_Read... [02:08:59]Read from MH i2c: E2 FD 00 [02:08:59]MH_I2C_Read... [02:08:59]Read from MH i2c: E2 FD 00 36 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 2F [02:08:59]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:08:59]wFMCommunicate OK [02:08:59]wFMCommunicate request_size=4 [02:08:59]MH_SAM_APDU [02:08:59]CAPDU: 80 17 00 00 [02:08:59]Write to MH i2c: E2 08 00 37 04 80 17 00 00 00 00 00 00 BB [02:08:59]Write i2c OK [02:08:59]MH_I2C_Read... [02:08:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:08:59]Read from MH i2c: E2 [02:08:59]MH_I2C_Read... [02:08:59]Read from MH i2c: E2 CA 00 [02:08:59]MH_I2C_Read... [02:08:59]Read from MH i2c: E2 CA 00 37 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A0 [02:08:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:08:59]wFMCommunicate OK [02:08:59]SAM_PROTO_GetShiftData done [02:08:59]requested_item shift.sale.total_cash is exist - process it [02:08:59]requested_item shift.sale_refund.total is exist - process it [02:08:59]requested_item shift.sale_refund.total_cash is exist - process it [02:08:59]produce_requested_data done [02:08:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56852,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2526.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:08:59]process_action_free close_receipt [02:08:59]json_value_free [02:08:59]json_value_free done [02:08:59]process_json_proto returns [02:08:59]Send response to host [02:08:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56852,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2526.00,"shift.sale.total_cash":1406.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:08:59]free response buf [02:08:59]execute_script done [02:08:59]execute_script returns [02:08:59]free content buf [02:08:59]Sock 9.Close socket [02:08:59]Sock 9.Thread stoped [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:37]accept exits with 7 [02:13:37]New connection [02:13:37]New thread 3066826084 created [02:13:37]Thread 3066969444 joined [02:13:37]Waiting for new connection... [02:13:37] Sock 7.Parse request [02:13:37]Sock 7.Check first char [02:13:37]Sock 7.First char is OK [02:13:37]request: POST /json_proto HTTP/1.0 [02:13:37]Method: POST [02:13:37]URL: /json_proto [02:13:37]Method is POST - this is cgi request [02:13:37]url: /json_proto [02:13:37]query_string will be loaded in cgi processing [02:13:37]execute_cgi json_proto POST (null) [02:13:37]execute_cgi path=json_proto method=POST [02:13:37]POST find Content-Length [02:13:37]Host: 172.17.39.4:8080 [02:13:37]Content-Length: 718 [02:13:37]Content-Type: application/json [02:13:37] [02:13:37]POST finish read [02:13:37]Found Content-Length = 718 [02:13:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129340", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:13:37]execute_script... [02:13: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)129340", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:13:37]POST & json_proto [02:13:37]process_json_proto [02:13:37]json parsed OK: [02:13:37]protocol is kg_v1.0 [02:13:37]action value=close_receipt [02:13:37]process_action close_receipt [02:13:37]cmd_close_receipt [02:13:37]MH_GetDate [02:13:37]Write to MH i2c: F0 00 00 38 04 2B [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: F0 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: F0 09 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: F0 09 00 38 04 00 D3 E2 91 66 2D 25 5D 64 F3 [02:13:37]GetLastDocTimeStamp 1720836535 [02:13:37]current date 1720836819 [02:13:37]FM_GetShiftState [02:13:37]SAM_PROTO_GetShiftState [02:13:37]wFMCommunicate request_size=4 [02:13:37]MH_SAM_APDU [02:13:37]CAPDU: 80 13 01 00 [02:13:37]Write to MH i2c: E2 08 00 39 04 80 13 01 00 00 00 00 00 BA [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:37]Read from MH i2c: E2 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 0E 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 0E 00 39 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 85 [02:13:37]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:13:37]wFMCommunicate OK [02:13:37]SAM_PROTO_GetShiftState done [02:13:37]FM_GetShiftState done [02:13:37]opened in 1720830718 [02:13:37]opened+sec_in_day 1720917118 [02:13:37]quantity*price = 21000 [02:13:37]sum+1 = 21001 [02:13:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 14 13.07.2024 02:13 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56853 ФПД: 8384602336478 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T021339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56853&fm=8384602336478&tin=02508201610067®Number=0000000000091208&sum=21000 0 [02:13:39]StoreToDocumentArchive [02:13:39]shift 495 fd 56853 [02:13:39]save to /storage/0495/doc_00056853 [02:13:39]save last doc name /storage/0495/doc_00056853 to /storage/kkm_last_doc_name [02:13:39]save OK [02:13:39]Clear old archive folders... [02:13:39]ProcessDocumentItem done err = 0, tmpTLVsize=266 [02:13:39]tlvbuf is 0056F5A0 [02:13:39]SAM_PROTO_ClearQueue [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 09 00 00 [02:13:39]Write to MH i2c: E2 08 00 46 04 80 09 00 00 00 00 00 00 BC [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 46 04 00 90 00 BE [02:13:39]RAPDU: 90 00 [02:13:39]wFMCommunicate OK [02:13:39]SAM_PROTO_ClearQueue done [02:13:39]KKMCreateOFDPacket [02:13:39]OFDProtocolAddRootSTLVToBuf [02:13:39]FM_MakeSignedData [02:13:39]FM_MakeSignedData [02:13:39]SAM_PROTO_SignData [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 0D 01 02 [02:13:39]Write to MH i2c: E2 08 00 47 04 80 0D 01 02 00 00 00 00 C4 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 47 04 00 90 00 BF [02:13:39]RAPDU: 90 00 [02:13:39]wFMCommunicate OK [02:13:39]wFMCommunicate request_size=255 [02:13:39]MH_SAM_APDU [02:13:39]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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 0E 00 00 00 F4 03 04 00 D3 E2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [02:13:39]Write to MH i2c: E2 02 01 48 04 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 0E 00 00 00 F4 03 04 00 D3 E2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 4D [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [02:13:39]RAPDU: 90 00 [02:13:39]wFMCommunicate OK [02:13:39]wFMCommunicate request_size=25 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 15 DE 00 00 35 04 06 00 07 A0 31 3E 6C DE [02:13:39]Write to MH i2c: E2 1C 00 49 04 80 0D 02 02 14 00 35 37 10 04 04 00 15 DE 00 00 35 04 06 00 07 A0 31 3E 6C DE 00 00 05 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [02:13:39]RAPDU: 90 00 [02:13:39]wFMCommunicate OK [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 0D 03 02 [02:13:39]Write to MH i2c: E2 08 00 4A 04 80 0D 03 02 00 00 00 00 C9 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 0B 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 0B 00 4A 04 00 81 07 53 20 33 0E BD C1 90 00 84 [02:13:39]RAPDU: 81 07 53 20 33 0E BD C1 90 00 [02:13:39]wFMCommunicate OK [02:13:39]SAM_PROTO_SignData done [02:13:39]FM_MakeSignedData done [02:13:39]CreateOFDProtocolMessage [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 11 00 00 [02:13:39]Write to MH i2c: E2 08 00 4B 04 80 11 00 00 00 00 00 00 C9 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 17 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 17 00 4B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 23 [02:13:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:13:39]wFMCommunicate OK [02:13:39]CreateOFDProtocolMessage done [02:13:39]OFDSenderStorePacket 56853 [02:13:39]StoreOFDPacket docnum=56853 [02:13:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 79 FF 16 01 62 B7 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 0E 00 00 00 F4 03 04 00 D3 E2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DE 00 00 35 04 06 00 07 A0 31 3E 6C DE 81 07 53 20 33 0E BD C1 [02:13:39]CheckFolder [02:13:39]dirname=/storage/ofd_packets [02:13:39]CheckFolder done [02:13:39]ProducePacketName [02:13:39]name=ofd_packets/00056853 [02:13:39]NVStorageSaveData ofd_packets/00056853 [02:13:39]File name is /storage/ofd_packets/00056853 [02:13:39]Write 316 bytes [02:13:39]NVStorageSaveData done [02:13:39]OFDSenderStorePacket done [02:13:39]KKMCreateOFDPacket done [02:13:39]NVStorageSaveData kkm_last_timestamp [02:13:39]File name is /storage/kkm_last_timestamp [02:13:39]Write 4 bytes [02:13:39]NVStorageSaveData done [02:13:39]ExternCall_PrintAddStr [02:13:39]wPrintStart [02:13:39]Write to MH i2c: 01 00 00 4C 04 50 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: 01 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: 01 07 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: 01 07 00 4C 04 00 00 00 00 00 FF 0F 65 [02:13:39]RasterBufferAndPrint [02:13:39]line Счет N : (3)129340 [02:13:39]line ИНН: 02508201610067 [02:13:39]line Контрольно-Кассовый Чек [02:13:39]line ПРОДАЖА [02:13:39]line Товар: 4870001570095 [02:13:39]line Напиток Pepsi 2л [02:13:39]line 1.000 * 210.00 [02:13:39]line = 210.00 [02:13:39]line НДС 12% НСП 1% [02:13:39]line > о реализуемом товаре [02:13:39]line ИТОГО: 210.00 [02:13:39]line НСП 1% : 1.86 [02:13:39]line НДС 12% : 22.30 [02:13:39]line Наличными: 210.00 [02:13:39]line Безнал.: 0.00 [02:13:39]line Место: АЗС № 132 "Партнер Нефть" [02:13:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:13:39]line СНО: Общий режим [02:13:39]line Чек 14 13.07.2024 02:13 [02:13:39]line Смена: 495 ФФД: 1.0 [02:13:39]line ЗНМ: 0300000132 [02:13:39]line РНМ: 0000000000091208 [02:13:39]line Версия ККМ: 001 [02:13:39]line ФМ: 0000000000874857 [02:13:39]line ФД: 56853 [02:13:39]line ФПД: 8384602336478 [02:13:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T021339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56853&fm=8384602336478&tin=02508201610067®Number=0000000000091208&sum=21000 [02:13:39]OFD Sender: Processing packet 56853 [packets to send 38, broken 37] [02:13:39]ProducePacketName [02:13:39]name=ofd_packets/00056853 [02:13:39]OFD Sender: To server: pG, [02:13:39]CommunicateWithHost lk.salyk.kg:30040 [02:13:39]ConnectInit lk.salyk.kg [02:13:39]line 0 [02:13:39]written 0, free lines is 4095 [02:13:39]Connected sock=10 [02:13: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 38 35 37 1E 01 00 00 79 FF 16 01 62 B7 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 0E 00 00 00 F4 03 04 00 D3 E2 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DE 00 00 35 04 06 00 07 A0 31 3E 6C DE 81 07 53 20 33 0E BD C1 [02:13:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 82 EA 47 00 0A 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 38 35 37 10 04 04 00 15 DE 00 00 F4 03 04 00 28 89 91 66 B6 04 01 00 00 CD 6D 3E 75 67 0E F9 46 [02:13:40]CommunicateWithHost err = 0 [02:13:40]CheckOFDResponse [02:13:40]1017 (14) - 77093643461234 [02:13:40]1041 (16) - 0000000000874857 [02:13:40]1040 (4) - 56853 [02:13:40]1012 (4) - 12.07.2024 19:51 [02:13:40]1206 (1) - 0 [02:13:40]OFD Sender: Remove packet 56853 [02:13:40]ProducePacketName [02:13:40]name=ofd_packets/00056853 [02:13:40]NVStorageDeleteData [02:13:40]Write to MH i2c: 01 00 00 74 04 78 [02:13:40]Write i2c OK [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: 01 [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: 01 07 00 [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: 01 07 00 74 04 00 00 00 00 00 11 0D 9D [02:13:40]RasterBufferAndPrint [02:13:40]line [02:13:40]line [02:13:40]line [02:13:40]line [02:13:40]line [02:13:40]written 0, free lines is 3354 [02:13:40]MH_Cut [02:13:40]Write to MH i2c: D1 01 00 7B 04 01 51 [02:13:40]Write i2c OK [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: D1 [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: D1 01 00 [02:13:40]MH_I2C_Read... [02:13:40]Read from MH i2c: D1 01 00 7B 04 00 50 [02:13:40]Write to MH i2c: 01 00 00 7C 04 80 [02:13:40]Write i2c OK [02:13:40]MH_I2C_Read... [02:13:40]OFD Sender: No OFD packet to send [02:13:41]*** Cut start [02:13:41]*** Partial cut [02:13:41]*** CUTSNS_PIN = 1 [02:13:41]*** CUTSNS_PIN = 0 [02:13:41]*** Brake cut motor [02:13:41]Read from MH i2c: 01 [02:13:41]MH_I2C_Read... [02:13:41]*** Stop cut motor [02:13:41]*** Cut end [02:13:41]Read from MH i2c: 01 07 00 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: 01 07 00 7C 04 00 00 00 00 00 FF 0F 95 [02:13:41]process_action close_receipt done [02:13:41]requested_data is exist [02:13:41]produce_requested_data [02:13:41]requested_item fm.sn is exist - process it [02:13:41]wFMCommunicate request_size=4 [02:13:41]MH_SAM_APDU [02:13:41]CAPDU: 80 11 00 00 [02:13:41]Write to MH i2c: E2 08 00 7D 04 80 11 00 00 00 00 00 00 FB [02:13:41]Write i2c OK [02:13:41]MH_I2C_Read... [02:13:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:41]Read from MH i2c: E2 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 17 00 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 17 00 7D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 55 [02:13:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:13:41]wFMCommunicate OK [02:13:41]requested_item fd.num is exist - process it [02:13:41]SAM_PROTO_GetFieldsCounters [02:13:41]wFMCommunicate request_size=4 [02:13:41]MH_SAM_APDU [02:13:41]CAPDU: 80 13 00 00 [02:13:41]Write to MH i2c: E2 08 00 7E 04 80 13 00 00 00 00 00 00 FE [02:13:41]Write i2c OK [02:13:41]MH_I2C_Read... [02:13:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:13:41]Read from MH i2c: E2 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 62 00 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 62 00 7E 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 15 DE 00 00 0E 04 04 00 EF 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 2E [02:13: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 15 DE 00 00 0E 04 04 00 EF 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 [02:13:41]wFMCommunicate OK [02:13:41]SAM_PROTO_GetFieldsCounters done [02:13:41]requested_item shift.num is exist - process it [02:13:41]requested_item shift.opened is exist - process it [02:13:41]req_shift_opened [02:13:41]FM_GetShiftState [02:13:41]SAM_PROTO_GetShiftState [02:13:41]wFMCommunicate request_size=4 [02:13:41]MH_SAM_APDU [02:13:41]CAPDU: 80 13 01 00 [02:13:41]Write to MH i2c: E2 08 00 7F 04 80 13 01 00 00 00 00 00 00 [02:13:41]Write i2c OK [02:13:41]MH_I2C_Read... [02:13:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:41]Read from MH i2c: E2 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 0E 00 [02:13:41]MH_I2C_Read... [02:13:41]Read from MH i2c: E2 0E 00 7F 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 CB [02:13:41]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:13:41]wFMCommunicate OK [02:13:41]SAM_PROTO_GetShiftState done [02:13:41]FM_GetShiftState done [02:13:41]req_shift_opened done [02:13:41]requested_item shift.open_date is exist - process it [02:13:41]req_shift_open_date [02:13:41]req_shift_open_date done [02:13:41]requested_item shift.sale.total is exist - process it [02:13:41]SAM_PROTO_GetShiftData [02:13:41]wFMCommunicate request_size=4 [02:13:41]MH_SAM_APDU [02:13:41]CAPDU: 80 13 02 00 [02:13:41]Write to MH i2c: E2 08 00 80 04 80 13 02 00 00 00 00 00 02 [02:13:41]Write i2c OK [02:13:41]MH_I2C_Read... [02:13:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:13:42]Read from MH i2c: E2 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 80 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 C0 2C 04 70 04 03 00 40 77 02 72 04 03 00 80 B5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 71 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 74 09 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 26 [02:13:42]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 C0 2C 04 70 04 03 00 40 77 02 72 04 03 00 80 B5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 71 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 74 09 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:13:42]wFMCommunicate OK [02:13:42]wFMCommunicate request_size=4 [02:13:42]MH_SAM_APDU [02:13:42]CAPDU: 80 17 00 00 [02:13:42]Write to MH i2c: E2 08 00 81 04 80 17 00 00 00 00 00 00 05 [02:13:42]Write i2c OK [02:13:42]MH_I2C_Read... [02:13:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:13:42]Read from MH i2c: E2 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 81 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 17 [02:13:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:13:42]wFMCommunicate OK [02:13:42]wFMCommunicate request_size=4 [02:13:42]MH_SAM_APDU [02:13:42]CAPDU: 80 17 00 00 [02:13:42]Write to MH i2c: E2 08 00 82 04 80 17 00 00 00 00 00 00 06 [02:13:42]Write i2c OK [02:13:42]MH_I2C_Read... [02:13:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:13:42]Read from MH i2c: E2 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 [02:13:42]MH_I2C_Read... [02:13:42]Read from MH i2c: E2 FD 00 82 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 CA [02:13:42]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:13:42]wFMCommunicate OK [02:13:42]wFMCommunicate request_size=4 [02:13:42]MH_SAM_APDU [02:13:42]CAPDU: 80 17 00 00 [02:13:42]Write to MH i2c: E2 08 00 83 04 80 17 00 00 00 00 00 00 07 [02:13:42]Write i2c OK [02:13:42]MH_I2C_Read... [02:13:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:13:43]Read from MH i2c: E2 [02:13:43]MH_I2C_Read... [02:13:43]Read from MH i2c: E2 FD 00 [02:13:43]MH_I2C_Read... [02:13:43]Read from MH i2c: E2 FD 00 83 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 7C [02:13:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:13:43]wFMCommunicate OK [02:13:43]wFMCommunicate request_size=4 [02:13:43]MH_SAM_APDU [02:13:43]CAPDU: 80 17 00 00 [02:13:43]Write to MH i2c: E2 08 00 84 04 80 17 00 00 00 00 00 00 08 [02:13:43]Write i2c OK [02:13:43]MH_I2C_Read... [02:13:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:13:43]Read from MH i2c: E2 [02:13:43]MH_I2C_Read... [02:13:43]Read from MH i2c: E2 CA 00 [02:13:43]MH_I2C_Read... [02:13:43]Read from MH i2c: E2 CA 00 84 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 ED [02:13:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:13:43]wFMCommunicate OK [02:13:43]SAM_PROTO_GetShiftData done [02:13:43]requested_item shift.sale.total_cash is exist - process it [02:13:43]requested_item shift.sale_refund.total is exist - process it [02:13:43]requested_item shift.sale_refund.total_cash is exist - process it [02:13:43]produce_requested_data done [02:13:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56853,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2736.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:13:43]process_action_free close_receipt [02:13:43]json_value_free [02:13:43]json_value_free done [02:13:43]process_json_proto returns [02:13:43]Send response to host [02:13:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56853,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2736.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:13:43]free response buf [02:13:43]execute_script done [02:13:43]execute_script returns [02:13:43]free content buf [02:13:43]Sock 7.Close socket [02:13:43]Sock 7.Thread stoped [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]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:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:35]recv_with_timeout no data received [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:44]accept exits with 9 [02:36:44]New connection [02:36:44]New thread 3066969444 created [02:36:44]Thread 3066826084 joined [02:36:44]Waiting for new connection... [02:36:44] Sock 9.Parse request [02:36:44]Sock 9.Check first char [02:36:44]Sock 9.First char is OK [02:36:44]request: POST /json_proto HTTP/1.0 [02:36:44]Method: POST [02:36:44]URL: /json_proto [02:36:44]Method is POST - this is cgi request [02:36:44]url: /json_proto [02:36:44]query_string will be loaded in cgi processing [02:36:44]execute_cgi json_proto POST (null) [02:36:44]execute_cgi path=json_proto method=POST [02:36:44]POST find Content-Length [02:36:44]Host: 172.17.39.4:8080 [02:36:44]Content-Length: 1349 [02:36:44]Content-Type: application/json [02:36:44] [02:36:44]POST finish read [02:36:44]Found Content-Length = 1349 [02:36:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129341", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 177.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:36:44]execute_script... [02:36: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)129341", "tax_sys" : 0, "items" : [ { "code": "4700007110066", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043C\u0430\u0439\u043E\u043D\u0435\u0437\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 177.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:36:44]POST & json_proto [02:36:44]process_json_proto [02:36:44]json parsed OK: [02:36:44]protocol is kg_v1.0 [02:36:44]action value=close_receipt [02:36:44]process_action close_receipt [02:36:44]cmd_close_receipt [02:36:44]MH_GetDate [02:36:44]Write to MH i2c: F0 00 00 85 04 78 [02:36:44]Write i2c OK [02:36:44]MH_I2C_Read... [02:36:44]Read from MH i2c: F0 [02:36:44]MH_I2C_Read... [02:36:44]Read from MH i2c: F0 09 00 [02:36:44]MH_I2C_Read... [02:36:44]Read from MH i2c: F0 09 00 85 04 00 3E E8 91 66 2D 25 5D 64 B1 [02:36:44]GetLastDocTimeStamp 1720836819 [02:36:44]current date 1720838206 [02:36:44]FM_GetShiftState [02:36:44]SAM_PROTO_GetShiftState [02:36:44]wFMCommunicate request_size=4 [02:36:44]MH_SAM_APDU [02:36:44]CAPDU: 80 13 01 00 [02:36:44]Write to MH i2c: E2 08 00 86 04 80 13 01 00 00 00 00 00 07 [02:36:44]Write i2c OK [02:36:44]MH_I2C_Read... [02:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:45]Read from MH i2c: E2 [02:36:45]MH_I2C_Read... [02:36:45]Read from MH i2c: E2 0E 00 [02:36:45]MH_I2C_Read... [02:36:45]Read from MH i2c: E2 0E 00 86 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 D2 [02:36:45]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:36:45]wFMCommunicate OK [02:36:45]SAM_PROTO_GetShiftState done [02:36:45]FM_GetShiftState done [02:36:45]opened in 1720830718 [02:36:45]opened+sec_in_day 1720917118 [02:36:45]quantity*price = 7000 [02:36:45]sum+1 = 7001 [02:36:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 177.00 НСП 1% : 1.57 НДС 12% : 18.79 Наличными: 0.00 Безнал.: 177.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 15 13.07.2024 02:36 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56854 ФПД: 122966637490838 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T023646&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56854&fm=122966637490838&tin=02508201610067®Number=0000000000091208&sum=17700 0 [02:36:46]StoreToDocumentArchive [02:36:46]shift 495 fd 56854 [02:36:46]save to /storage/0495/doc_00056854 [02:36:46]save last doc name /storage/0495/doc_00056854 to /storage/kkm_last_doc_name [02:36:46]save OK [02:36:46]Clear old archive folders... [02:36:46]ProcessDocumentItem done err = 0, tmpTLVsize=428 [02:36:46]tlvbuf is 0054EA90 [02:36:46]SAM_PROTO_ClearQueue [02:36:46]wFMCommunicate request_size=4 [02:36:46]MH_SAM_APDU [02:36:46]CAPDU: 80 09 00 00 [02:36:46]Write to MH i2c: E2 08 00 93 04 80 09 00 00 00 00 00 00 09 [02:36:46]Write i2c OK [02:36:46]MH_I2C_Read... [02:36:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:36:46]Read from MH i2c: E2 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 93 04 00 90 00 0B [02:36:46]RAPDU: 90 00 [02:36:46]wFMCommunicate OK [02:36:46]SAM_PROTO_ClearQueue done [02:36:46]KKMCreateOFDPacket [02:36:46]OFDProtocolAddRootSTLVToBuf [02:36:46]FM_MakeSignedData [02:36:46]FM_MakeSignedData [02:36:46]SAM_PROTO_SignData [02:36:46]wFMCommunicate request_size=4 [02:36:46]MH_SAM_APDU [02:36:46]CAPDU: 80 0D 01 02 [02:36:46]Write to MH i2c: E2 08 00 94 04 80 0D 01 02 00 00 00 00 11 [02:36:46]Write i2c OK [02:36:46]MH_I2C_Read... [02:36:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:36:46]Read from MH i2c: E2 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 94 04 00 90 00 0C [02:36:46]RAPDU: 90 00 [02:36:46]wFMCommunicate OK [02:36:46]wFMCommunicate request_size=255 [02:36:46]MH_SAM_APDU [02:36:46]CAPDU: 80 0D 02 02 FA 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 [02:36:46]Write to MH i2c: E2 02 01 95 04 80 0D 02 02 FA 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 C3 [02:36:46]Write i2c OK [02:36:46]MH_I2C_Read... [02:36:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:46]Read from MH i2c: E2 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 [02:36:46]MH_I2C_Read... [02:36:46]Read from MH i2c: E2 03 00 95 04 00 90 00 0D [02:36:46]RAPDU: 90 00 [02:36:46]wFMCommunicate OK [02:36:46]wFMCommunicate request_size=187 [02:36:46]MH_SAM_APDU [02:36:46]CAPDU: 80 0D 02 02 B6 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 45 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 3E E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DE 00 00 35 04 06 00 6F D6 66 BF 32 96 [02:36:46]Write to MH i2c: E2 BE 00 96 04 80 0D 02 02 B6 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 45 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 3E E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DE 00 00 35 04 06 00 6F D6 66 BF 32 96 00 00 87 [02:36:46]Write i2c OK [02:36:46]MH_I2C_Read... [02:36:47]OFD Sender: No OFD packet to send [02:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:47]Read from MH i2c: E2 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 03 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 03 00 96 04 00 90 00 0E [02:36:47]RAPDU: 90 00 [02:36:47]wFMCommunicate OK [02:36:47]wFMCommunicate request_size=4 [02:36:47]MH_SAM_APDU [02:36:47]CAPDU: 80 0D 03 02 [02:36:47]Write to MH i2c: E2 08 00 97 04 80 0D 03 02 00 00 00 00 16 [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:36:47]Read from MH i2c: E2 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 0B 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 0B 00 97 04 00 B9 41 78 1C F4 CC 32 70 90 00 07 [02:36:47]RAPDU: B9 41 78 1C F4 CC 32 70 90 00 [02:36:47]wFMCommunicate OK [02:36:47]SAM_PROTO_SignData done [02:36:47]FM_MakeSignedData done [02:36:47]CreateOFDProtocolMessage [02:36:47]wFMCommunicate request_size=4 [02:36:47]MH_SAM_APDU [02:36:47]CAPDU: 80 11 00 00 [02:36:47]Write to MH i2c: E2 08 00 98 04 80 11 00 00 00 00 00 00 16 [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 [02:36:47]MH_I2C_Read... [02:36:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:47]Read from MH i2c: E2 17 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: E2 17 00 98 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 70 [02:36:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:36:47]wFMCommunicate OK [02:36:47]CreateOFDProtocolMessage done [02:36:47]OFDSenderStorePacket 56854 [02:36:47]StoreOFDPacket docnum=56854 [02:36:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 C0 01 00 00 6C 76 B8 01 B1 25 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 45 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 3E E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DE 00 00 35 04 06 00 6F D6 66 BF 32 96 B9 41 78 1C F4 CC 32 70 [02:36:47]CheckFolder [02:36:47]dirname=/storage/ofd_packets [02:36:47]CheckFolder done [02:36:47]ProducePacketName [02:36:47]name=ofd_packets/00056854 [02:36:47]NVStorageSaveData ofd_packets/00056854 [02:36:47]File name is /storage/ofd_packets/00056854 [02:36:47]Write 478 bytes [02:36:47]NVStorageSaveData done [02:36:47]OFDSenderStorePacket done [02:36:47]KKMCreateOFDPacket done [02:36:47]NVStorageSaveData kkm_last_timestamp [02:36:47]File name is /storage/kkm_last_timestamp [02:36:47]Write 4 bytes [02:36:47]NVStorageSaveData done [02:36:47]ExternCall_PrintAddStr [02:36:47]wPrintStart [02:36:47]Write to MH i2c: 01 00 00 99 04 9D [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 07 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 07 00 99 04 00 00 00 00 00 FF 0F B2 [02:36:47]RasterBufferAndPrint [02:36:47]line Счет N : (3)129341 [02:36:47]line ИНН: 02508201610067 [02:36:47]line Контрольно-Кассовый Чек [02:36:47]line ПРОДАЖА [02:36:47]line Товар: 4700007110066 [02:36:47]line Сэндвич с майонезом Талас Даамы [02:36:47]line 1.000 * 70.00 [02:36:47]line = 70.00 [02:36:47]line НДС 12% НСП 1% [02:36:47]line > о реализуемом товаре [02:36:47]line Товар: 5449000189356 [02:36:47]line Холодный чай Fuse манго ананас 1л [02:36:47]line 1.000 * 107.00 [02:36:47]line = 107.00 [02:36:47]line НДС 12% НСП 1% [02:36:47]line > о реализуемом товаре [02:36:47]line ИТОГО: 177.00 [02:36:47]line НСП 1% : 1.57 [02:36:47]line НДС 12% : 18.79 [02:36:47]line Наличными: 0.00 [02:36:47]line Безнал.: 177.00 [02:36:47]line Место: АЗС № 132 "Партнер Нефть" [02:36:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:36:47]line СНО: Общий режим [02:36:47]line Чек 15 13.07.2024 02:36 [02:36:47]line Смена: 495 ФФД: 1.0 [02:36:47]line ЗНМ: 0300000132 [02:36:47]line РНМ: 0000000000091208 [02:36:47]line Версия ККМ: 001 [02:36:47]line Платежная система: АКБ Кыргызстан [02:36:47]line ФМ: 0000000000874857 [02:36:47]line ФД: 56854 [02:36:47]line ФПД: 122966637490838 [02:36:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T023646&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56854&fm=122966637490838&tin=02508201610067®Number=0000000000091208&sum=17700 [02:36:47]line 0 [02:36:47]written 0, free lines is 4095 [02:36:47]OFD Sender: Processing packet 56854 [packets to send 38, broken 37] [02:36:47]ProducePacketName [02:36:47]name=ofd_packets/00056854 [02:36:47]OFD Sender: To server: pG, [02:36:47]CommunicateWithHost lk.salyk.kg:30040 [02:36:47]ConnectInit lk.salyk.kg [02:36:47]Connected sock=7 [02:36: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 38 35 37 C0 01 00 00 6C 76 B8 01 B1 25 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 36 36 06 04 3A 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BC D0 B0 D0 B9 D0 BE D0 BD D0 B5 D0 B7 D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 45 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 3E E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DE 00 00 35 04 06 00 6F D6 66 BF 32 96 B9 41 78 1C F4 CC 32 70 [02:36:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 1A D7 47 00 CD EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DE 00 00 F4 03 04 00 94 8E 91 66 B6 04 01 00 00 FD 87 9D 72 46 29 0A 8E [02:36:47]CommunicateWithHost err = 0 [02:36:47]CheckOFDResponse [02:36:47]1017 (14) - 77093643461234 [02:36:47]1041 (16) - 0000000000874857 [02:36:47]1040 (4) - 56854 [02:36:47]1012 (4) - 12.07.2024 20:14 [02:36:47]1206 (1) - 0 [02:36:47]OFD Sender: Remove packet 56854 [02:36:47]ProducePacketName [02:36:47]name=ofd_packets/00056854 [02:36:47]NVStorageDeleteData [02:36:47]Write to MH i2c: 01 00 00 CB 04 CF [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 07 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: 01 07 00 CB 04 00 00 00 00 00 71 0C 53 [02:36:47]RasterBufferAndPrint [02:36:47]line [02:36:47]line [02:36:47]line [02:36:47]line [02:36:47]line [02:36:47]written 0, free lines is 3192 [02:36:47]MH_Cut [02:36:47]Write to MH i2c: D1 01 00 D2 04 01 A8 [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: D1 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: D1 01 00 [02:36:47]MH_I2C_Read... [02:36:47]Read from MH i2c: D1 01 00 D2 04 00 A7 [02:36:47]Write to MH i2c: 01 00 00 D3 04 D7 [02:36:47]Write i2c OK [02:36:47]MH_I2C_Read... [02:36:48]OFD Sender: No OFD packet to send [02:36:48]*** Cut start [02:36:48]*** Partial cut [02:36:48]*** CUTSNS_PIN = 1 [02:36:48]*** CUTSNS_PIN = 0 [02:36:48]*** Brake cut motor [02:36:49]Read from MH i2c: 01 [02:36:49]MH_I2C_Read... [02:36:49]*** Stop cut motor [02:36:49]*** Cut end [02:36:49]Read from MH i2c: 01 07 00 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: 01 07 00 D3 04 00 00 00 00 00 FF 0F EC [02:36:49]process_action close_receipt done [02:36:49]requested_data is exist [02:36:49]produce_requested_data [02:36:49]requested_item fm.sn is exist - process it [02:36:49]wFMCommunicate request_size=4 [02:36:49]MH_SAM_APDU [02:36:49]CAPDU: 80 11 00 00 [02:36:49]Write to MH i2c: E2 08 00 D4 04 80 11 00 00 00 00 00 00 52 [02:36:49]Write i2c OK [02:36:49]MH_I2C_Read... [02:36:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:49]Read from MH i2c: E2 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 17 00 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 17 00 D4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AC [02:36:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:36:49]wFMCommunicate OK [02:36:49]requested_item fd.num is exist - process it [02:36:49]SAM_PROTO_GetFieldsCounters [02:36:49]wFMCommunicate request_size=4 [02:36:49]MH_SAM_APDU [02:36:49]CAPDU: 80 13 00 00 [02:36:49]Write to MH i2c: E2 08 00 D5 04 80 13 00 00 00 00 00 00 55 [02:36:49]Write i2c OK [02:36:49]MH_I2C_Read... [02:36:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:36:49]Read from MH i2c: E2 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 62 00 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 62 00 D5 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DE 00 00 0E 04 04 00 EF 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 89 [02:36: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DE 00 00 0E 04 04 00 EF 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 [02:36:49]wFMCommunicate OK [02:36:49]SAM_PROTO_GetFieldsCounters done [02:36:49]requested_item shift.num is exist - process it [02:36:49]requested_item shift.opened is exist - process it [02:36:49]req_shift_opened [02:36:49]FM_GetShiftState [02:36:49]SAM_PROTO_GetShiftState [02:36:49]wFMCommunicate request_size=4 [02:36:49]MH_SAM_APDU [02:36:49]CAPDU: 80 13 01 00 [02:36:49]Write to MH i2c: E2 08 00 D6 04 80 13 01 00 00 00 00 00 57 [02:36:49]Write i2c OK [02:36:49]MH_I2C_Read... [02:36:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:49]Read from MH i2c: E2 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 0E 00 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 0E 00 D6 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 22 [02:36:49]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:36:49]wFMCommunicate OK [02:36:49]SAM_PROTO_GetShiftState done [02:36:49]FM_GetShiftState done [02:36:49]req_shift_opened done [02:36:49]requested_item shift.open_date is exist - process it [02:36:49]req_shift_open_date [02:36:49]req_shift_open_date done [02:36:49]requested_item shift.sale.total is exist - process it [02:36:49]SAM_PROTO_GetShiftData [02:36:49]wFMCommunicate request_size=4 [02:36:49]MH_SAM_APDU [02:36:49]CAPDU: 80 13 02 00 [02:36:49]Write to MH i2c: E2 08 00 D7 04 80 13 02 00 00 00 00 00 59 [02:36:49]Write i2c OK [02:36:49]MH_I2C_Read... [02:36:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:36:49]Read from MH i2c: E2 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 FD 00 [02:36:49]MH_I2C_Read... [02:36:49]Read from MH i2c: E2 FD 00 D7 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 E4 71 04 70 04 03 00 40 77 02 72 04 03 00 A4 FA 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D4 78 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 11 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 4D [02:36:49]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 E4 71 04 70 04 03 00 40 77 02 72 04 03 00 A4 FA 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D4 78 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 11 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:36:49]wFMCommunicate OK [02:36:49]wFMCommunicate request_size=4 [02:36:49]MH_SAM_APDU [02:36:49]CAPDU: 80 17 00 00 [02:36:49]Write to MH i2c: E2 08 00 D8 04 80 17 00 00 00 00 00 00 5C [02:36:49]Write i2c OK [02:36:49]MH_I2C_Read... [02:36:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:36:50]Read from MH i2c: E2 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 D8 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 6E [02:36:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:36:50]wFMCommunicate OK [02:36:50]wFMCommunicate request_size=4 [02:36:50]MH_SAM_APDU [02:36:50]CAPDU: 80 17 00 00 [02:36:50]Write to MH i2c: E2 08 00 D9 04 80 17 00 00 00 00 00 00 5D [02:36:50]Write i2c OK [02:36:50]MH_I2C_Read... [02:36:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:36:50]Read from MH i2c: E2 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 D9 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 21 [02:36:50]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:36:50]wFMCommunicate OK [02:36:50]wFMCommunicate request_size=4 [02:36:50]MH_SAM_APDU [02:36:50]CAPDU: 80 17 00 00 [02:36:50]Write to MH i2c: E2 08 00 DA 04 80 17 00 00 00 00 00 00 5E [02:36:50]Write i2c OK [02:36:50]MH_I2C_Read... [02:36:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:36:50]Read from MH i2c: E2 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 [02:36:50]MH_I2C_Read... [02:36:50]Read from MH i2c: E2 FD 00 DA 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 D3 [02:36:50]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:36:50]wFMCommunicate OK [02:36:50]wFMCommunicate request_size=4 [02:36:50]MH_SAM_APDU [02:36:50]CAPDU: 80 17 00 00 [02:36:50]Write to MH i2c: E2 08 00 DB 04 80 17 00 00 00 00 00 00 5F [02:36:50]Write i2c OK [02:36:50]MH_I2C_Read... [02:36:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:36:51]Read from MH i2c: E2 [02:36:51]MH_I2C_Read... [02:36:51]Read from MH i2c: E2 CA 00 [02:36:51]MH_I2C_Read... [02:36:51]Read from MH i2c: E2 CA 00 DB 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 44 [02:36:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:36:51]wFMCommunicate OK [02:36:51]SAM_PROTO_GetShiftData done [02:36:51]requested_item shift.sale.total_cash is exist - process it [02:36:51]requested_item shift.sale_refund.total is exist - process it [02:36:51]requested_item shift.sale_refund.total_cash is exist - process it [02:36:51]produce_requested_data done [02:36:51]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56854,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2913.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:36:51]process_action_free close_receipt [02:36:51]json_value_free [02:36:51]json_value_free done [02:36:51]process_json_proto returns [02:36:51]Send response to host [02:36:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56854,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":2913.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:36:51]free response buf [02:36:51]execute_script done [02:36:51]execute_script returns [02:36:51]free content buf [02:36:51]Sock 9.Close socket [02:36:51]Sock 9.Thread stoped [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:34]accept exits with 10 [02:37:34]New connection [02:37:34]New thread 3066826084 created [02:37:34]Thread 3066969444 joined [02:37:34]Waiting for new connection... [02:37:34] Sock 10.Parse request [02:37:34]Sock 10.Check first char [02:37:34]Sock 10.First char is OK [02:37:34]request: POST /json_proto HTTP/1.0 [02:37:34]Method: POST [02:37:34]URL: /json_proto [02:37:34]Method is POST - this is cgi request [02:37:34]url: /json_proto [02:37:34]query_string will be loaded in cgi processing [02:37:34]execute_cgi json_proto POST (null) [02:37:34]execute_cgi path=json_proto method=POST [02:37:34]POST find Content-Length [02:37:34]Host: 172.17.39.4:8080 [02:37:34]Content-Length: 1013 [02:37:34]Content-Type: application/json [02:37:34] [02:37:34]POST finish read [02:37:34]Found Content-Length = 1013 [02:37:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129342", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:37:34]execute_script... [02:37: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)129342", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:37:34]POST & json_proto [02:37:34]process_json_proto [02:37:34]json parsed OK: [02:37:34]protocol is kg_v1.0 [02:37:34]action value=close_receipt [02:37:34]process_action close_receipt [02:37:34]cmd_close_receipt [02:37:34]MH_GetDate [02:37:34]Write to MH i2c: F0 00 00 DC 04 CF [02:37:34]Write i2c OK [02:37:34]MH_I2C_Read... [02:37:34]Read from MH i2c: F0 [02:37:34]MH_I2C_Read... [02:37:34]Read from MH i2c: F0 09 00 [02:37:34]MH_I2C_Read... [02:37:34]Read from MH i2c: F0 09 00 DC 04 00 70 E8 91 66 2D 25 5D 64 3A [02:37:34]GetLastDocTimeStamp 1720838206 [02:37:34]current date 1720838256 [02:37:34]FM_GetShiftState [02:37:34]SAM_PROTO_GetShiftState [02:37:34]wFMCommunicate request_size=4 [02:37:34]MH_SAM_APDU [02:37:34]CAPDU: 80 13 01 00 [02:37:34]Write to MH i2c: E2 08 00 DD 04 80 13 01 00 00 00 00 00 5E [02:37:34]Write i2c OK [02:37:34]MH_I2C_Read... [02:37:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:37:34]Read from MH i2c: E2 [02:37:34]MH_I2C_Read... [02:37:34]Read from MH i2c: E2 0E 00 [02:37:34]MH_I2C_Read... [02:37:34]Read from MH i2c: E2 0E 00 DD 04 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 29 [02:37:34]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:37:34]wFMCommunicate OK [02:37:34]SAM_PROTO_GetShiftState done [02:37:34]FM_GetShiftState done [02:37:34]opened in 1720830718 [02:37:34]opened+sec_in_day 1720917118 [02:37:34]quantity*price = 12900 [02:37:34]sum+1 = 12901 [02:37:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 0.00 Безнал.: 129.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 16 13.07.2024 02:37 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56855 ФПД: 55424345405465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T023736&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56855&fm=55424345405465&tin=02508201610067®Number=0000000000091208&sum=12900 0 [02:37:35]StoreToDocumentArchive [02:37:35]shift 495 fd 56855 [02:37:35]save to /storage/0495/doc_00056855 [02:37:35]save last doc name /storage/0495/doc_00056855 to /storage/kkm_last_doc_name [02:37:35]save OK [02:37:35]Clear old archive folders... [02:37:35]ProcessDocumentItem done err = 0, tmpTLVsize=296 [02:37:35]tlvbuf is 0056A500 [02:37:35]SAM_PROTO_ClearQueue [02:37:35]wFMCommunicate request_size=4 [02:37:35]MH_SAM_APDU [02:37:35]CAPDU: 80 09 00 00 [02:37:35]Write to MH i2c: E2 08 00 EA 04 80 09 00 00 00 00 00 00 60 [02:37:35]Write i2c OK [02:37:35]MH_I2C_Read... [02:37:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:37:35]Read from MH i2c: E2 [02:37:35]MH_I2C_Read... [02:37:35]Read from MH i2c: E2 03 00 [02:37:35]MH_I2C_Read... [02:37:35]Read from MH i2c: E2 03 00 EA 04 00 90 00 62 [02:37:35]RAPDU: 90 00 [02:37:35]wFMCommunicate OK [02:37:35]SAM_PROTO_ClearQueue done [02:37:35]KKMCreateOFDPacket [02:37:35]OFDProtocolAddRootSTLVToBuf [02:37:35]FM_MakeSignedData [02:37:35]FM_MakeSignedData [02:37:35]SAM_PROTO_SignData [02:37:35]wFMCommunicate request_size=4 [02:37:35]MH_SAM_APDU [02:37:35]CAPDU: 80 0D 01 02 [02:37:35]Write to MH i2c: E2 08 00 EB 04 80 0D 01 02 00 00 00 00 68 [02:37:35]Write i2c OK [02:37:35]MH_I2C_Read... [02:37:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:37:36]Read from MH i2c: E2 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 EB 04 00 90 00 63 [02:37:36]RAPDU: 90 00 [02:37:36]wFMCommunicate OK [02:37:36]wFMCommunicate request_size=255 [02:37:36]MH_SAM_APDU [02:37:36]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 70 E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [02:37:36]Write to MH i2c: E2 02 01 EC 04 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 70 E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 53 [02:37:36]Write i2c OK [02:37:36]MH_I2C_Read... [02:37:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:37:36]Read from MH i2c: E2 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 EC 04 00 90 00 64 [02:37:36]RAPDU: 90 00 [02:37:36]wFMCommunicate OK [02:37:36]wFMCommunicate request_size=55 [02:37:36]MH_SAM_APDU [02:37:36]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DE 00 00 35 04 06 00 32 68 7C 6B 78 19 [02:37:36]Write to MH i2c: E2 3A 00 ED 04 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DE 00 00 35 04 06 00 32 68 7C 6B 78 19 00 00 CD [02:37:36]Write i2c OK [02:37:36]MH_I2C_Read... [02:37:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:37:36]Read from MH i2c: E2 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 03 00 ED 04 00 90 00 65 [02:37:36]RAPDU: 90 00 [02:37:36]wFMCommunicate OK [02:37:36]wFMCommunicate request_size=4 [02:37:36]MH_SAM_APDU [02:37:36]CAPDU: 80 0D 03 02 [02:37:36]Write to MH i2c: E2 08 00 EE 04 80 0D 03 02 00 00 00 00 6D [02:37:36]Write i2c OK [02:37:36]MH_I2C_Read... [02:37:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:37:36]Read from MH i2c: E2 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 0B 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 0B 00 EE 04 00 C2 74 75 B0 69 F9 11 8C 90 00 C8 [02:37:36]RAPDU: C2 74 75 B0 69 F9 11 8C 90 00 [02:37:36]wFMCommunicate OK [02:37:36]SAM_PROTO_SignData done [02:37:36]FM_MakeSignedData done [02:37:36]CreateOFDProtocolMessage [02:37:36]wFMCommunicate request_size=4 [02:37:36]MH_SAM_APDU [02:37:36]CAPDU: 80 11 00 00 [02:37:36]Write to MH i2c: E2 08 00 EF 04 80 11 00 00 00 00 00 00 6D [02:37:36]Write i2c OK [02:37:36]MH_I2C_Read... [02:37:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:37:36]Read from MH i2c: E2 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 17 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: E2 17 00 EF 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C7 [02:37:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:37:36]wFMCommunicate OK [02:37:36]CreateOFDProtocolMessage done [02:37:36]OFDSenderStorePacket 56855 [02:37:36]StoreOFDPacket docnum=56855 [02:37:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3C 01 00 00 73 36 34 01 26 E8 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 70 E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DE 00 00 35 04 06 00 32 68 7C 6B 78 19 C2 74 75 B0 69 F9 11 8C [02:37:36]CheckFolder [02:37:36]dirname=/storage/ofd_packets [02:37:36]CheckFolder done [02:37:36]ProducePacketName [02:37:36]name=ofd_packets/00056855 [02:37:36]NVStorageSaveData ofd_packets/00056855 [02:37:36]File name is /storage/ofd_packets/00056855 [02:37:36]Write 346 bytes [02:37:36]NVStorageSaveData done [02:37:36]OFDSenderStorePacket done [02:37:36]KKMCreateOFDPacket done [02:37:36]NVStorageSaveData kkm_last_timestamp [02:37:36]File name is /storage/kkm_last_timestamp [02:37:36]Write 4 bytes [02:37:36]NVStorageSaveData done [02:37:36]ExternCall_PrintAddStr [02:37:36]wPrintStart [02:37:36]Write to MH i2c: 01 00 00 F0 04 F4 [02:37:36]Write i2c OK [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: 01 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: 01 07 00 [02:37:36]MH_I2C_Read... [02:37:36]Read from MH i2c: 01 07 00 F0 04 00 00 00 00 00 FF 0F 09 [02:37:36]RasterBufferAndPrint [02:37:36]line Счет N : (3)129342 [02:37:36]line ИНН: 02508201610067 [02:37:36]line Контрольно-Кассовый Чек [02:37:36]line ПРОДАЖА [02:37:36]line Товар: 4607015235401 [02:37:36]line Пряники Яшкино шоколадные 350г [02:37:36]line 1.000 * 129.00 [02:37:36]line = 129.00 [02:37:36]line НДС 12% НСП 1% [02:37:36]line > о реализуемом товаре [02:37:36]line ИТОГО: 129.00 [02:37:36]line НСП 1% : 1.14 [02:37:36]line НДС 12% : 13.70 [02:37:36]line Наличными: 0.00 [02:37:36]line Безнал.: 129.00 [02:37:36]line Место: АЗС № 132 "Партнер Нефть" [02:37:36]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:37:36]line СНО: Общий режим [02:37:36]line Чек 16 13.07.2024 02:37 [02:37:36]line Смена: 495 ФФД: 1.0 [02:37:36]line ЗНМ: 0300000132 [02:37:36]line РНМ: 0000000000091208 [02:37:36]line Версия ККМ: 001 [02:37:36]line Платежная система: АКБ Кыргызстан [02:37:36]line ФМ: 0000000000874857 [02:37:36]line ФД: 56855 [02:37:36]line ФПД: 55424345405465 [02:37:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T023736&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56855&fm=55424345405465&tin=02508201610067®Number=0000000000091208&sum=12900 [02:37:36]line 0 [02:37:36]OFD Sender: Processing packet 56855 [packets to send 38, broken 37] [02:37:36]ProducePacketName [02:37:36]name=ofd_packets/00056855 [02:37:36]OFD Sender: To server: pG, [02:37:36]CommunicateWithHost lk.salyk.kg:30040 [02:37:36]ConnectInit lk.salyk.kg [02:37:36]written 0, free lines is 4095 [02:37:37]Connected sock=9 [02:37:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3C 01 00 00 73 36 34 01 26 E8 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 70 E8 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DE 00 00 35 04 06 00 32 68 7C 6B 78 19 C2 74 75 B0 69 F9 11 8C [02:37:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 83 BB 47 00 AD 57 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 38 35 37 10 04 04 00 17 DE 00 00 F4 03 04 00 C5 8E 91 66 B6 04 01 00 00 06 A0 79 BB 70 DD F6 35 [02:37:37]CommunicateWithHost err = 0 [02:37:37]CheckOFDResponse [02:37:37]1017 (14) - 77093643461234 [02:37:37]1041 (16) - 0000000000874857 [02:37:37]1040 (4) - 56855 [02:37:37]1012 (4) - 12.07.2024 20:15 [02:37:37]1206 (1) - 0 [02:37:37]OFD Sender: Remove packet 56855 [02:37:37]ProducePacketName [02:37:37]name=ofd_packets/00056855 [02:37:37]NVStorageDeleteData [02:37:37]Write to MH i2c: 01 00 00 1B 05 20 [02:37:37]Write i2c OK [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: 01 [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: 01 07 00 [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: 01 07 00 1B 05 00 00 00 00 00 E4 0C 17 [02:37:37]RasterBufferAndPrint [02:37:37]line [02:37:37]line [02:37:37]line [02:37:37]line [02:37:37]line [02:37:37]written 0, free lines is 3309 [02:37:37]MH_Cut [02:37:37]Write to MH i2c: D1 01 00 22 05 01 F9 [02:37:37]Write i2c OK [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: D1 [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: D1 01 00 [02:37:37]MH_I2C_Read... [02:37:37]Read from MH i2c: D1 01 00 22 05 00 F8 [02:37:37]Write to MH i2c: 01 00 00 23 05 28 [02:37:37]Write i2c OK [02:37:37]MH_I2C_Read... [02:37:37]OFD Sender: No OFD packet to send [02:37:38]*** Cut start [02:37:38]*** Partial cut [02:37:38]*** CUTSNS_PIN = 1 [02:37:38]*** CUTSNS_PIN = 0 [02:37:38]*** Brake cut motor [02:37:38]Read from MH i2c: 01 [02:37:38]MH_I2C_Read... [02:37:38]*** Stop cut motor [02:37:38]*** Cut end [02:37:38]Read from MH i2c: 01 07 00 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: 01 07 00 23 05 00 00 00 00 00 FF 0F 3D [02:37:38]process_action close_receipt done [02:37:38]requested_data is exist [02:37:38]produce_requested_data [02:37:38]requested_item fm.sn is exist - process it [02:37:38]wFMCommunicate request_size=4 [02:37:38]MH_SAM_APDU [02:37:38]CAPDU: 80 11 00 00 [02:37:38]Write to MH i2c: E2 08 00 24 05 80 11 00 00 00 00 00 00 A3 [02:37:38]Write i2c OK [02:37:38]MH_I2C_Read... [02:37:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:37:38]Read from MH i2c: E2 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 17 00 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 17 00 24 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FD [02:37:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:37:38]wFMCommunicate OK [02:37:38]requested_item fd.num is exist - process it [02:37:38]SAM_PROTO_GetFieldsCounters [02:37:38]wFMCommunicate request_size=4 [02:37:38]MH_SAM_APDU [02:37:38]CAPDU: 80 13 00 00 [02:37:38]Write to MH i2c: E2 08 00 25 05 80 13 00 00 00 00 00 00 A6 [02:37:38]Write i2c OK [02:37:38]MH_I2C_Read... [02:37:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:37:38]Read from MH i2c: E2 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 62 00 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 62 00 25 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 17 DE 00 00 0E 04 04 00 EF 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 DE [02:37: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 17 DE 00 00 0E 04 04 00 EF 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 [02:37:38]wFMCommunicate OK [02:37:38]SAM_PROTO_GetFieldsCounters done [02:37:38]requested_item shift.num is exist - process it [02:37:38]requested_item shift.opened is exist - process it [02:37:38]req_shift_opened [02:37:38]FM_GetShiftState [02:37:38]SAM_PROTO_GetShiftState [02:37:38]wFMCommunicate request_size=4 [02:37:38]MH_SAM_APDU [02:37:38]CAPDU: 80 13 01 00 [02:37:38]Write to MH i2c: E2 08 00 26 05 80 13 01 00 00 00 00 00 A8 [02:37:38]Write i2c OK [02:37:38]MH_I2C_Read... [02:37:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:37:38]Read from MH i2c: E2 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 0E 00 [02:37:38]MH_I2C_Read... [02:37:38]Read from MH i2c: E2 0E 00 26 05 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 73 [02:37:38]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:37:38]wFMCommunicate OK [02:37:38]SAM_PROTO_GetShiftState done [02:37:38]FM_GetShiftState done [02:37:38]req_shift_opened done [02:37:38]requested_item shift.open_date is exist - process it [02:37:38]req_shift_open_date [02:37:38]req_shift_open_date done [02:37:38]requested_item shift.sale.total is exist - process it [02:37:38]SAM_PROTO_GetShiftData [02:37:38]wFMCommunicate request_size=4 [02:37:38]MH_SAM_APDU [02:37:38]CAPDU: 80 13 02 00 [02:37:38]Write to MH i2c: E2 08 00 27 05 80 13 02 00 00 00 00 00 AA [02:37:38]Write i2c OK [02:37:38]MH_I2C_Read... [02:37:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:37:39]Read from MH i2c: E2 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 27 05 00 AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 48 A4 04 70 04 03 00 40 77 02 72 04 03 00 08 2D 02 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 2E 7E 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 83 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A1 [02:37:39]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 48 A4 04 70 04 03 00 40 77 02 72 04 03 00 08 2D 02 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 2E 7E 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 83 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:37:39]wFMCommunicate OK [02:37:39]wFMCommunicate request_size=4 [02:37:39]MH_SAM_APDU [02:37:39]CAPDU: 80 17 00 00 [02:37:39]Write to MH i2c: E2 08 00 28 05 80 17 00 00 00 00 00 00 AD [02:37:39]Write i2c OK [02:37:39]MH_I2C_Read... [02:37:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:37:39]Read from MH i2c: E2 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 28 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 BF [02:37:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:37:39]wFMCommunicate OK [02:37:39]wFMCommunicate request_size=4 [02:37:39]MH_SAM_APDU [02:37:39]CAPDU: 80 17 00 00 [02:37:39]Write to MH i2c: E2 08 00 29 05 80 17 00 00 00 00 00 00 AE [02:37:39]Write i2c OK [02:37:39]MH_I2C_Read... [02:37:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:37:39]Read from MH i2c: E2 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 [02:37:39]MH_I2C_Read... [02:37:39]Read from MH i2c: E2 FD 00 29 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 72 [02:37:39]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:37:39]wFMCommunicate OK [02:37:39]wFMCommunicate request_size=4 [02:37:39]MH_SAM_APDU [02:37:39]CAPDU: 80 17 00 00 [02:37:39]Write to MH i2c: E2 08 00 2A 05 80 17 00 00 00 00 00 00 AF [02:37:39]Write i2c OK [02:37:39]MH_I2C_Read... [02:37:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:37:40]Read from MH i2c: E2 [02:37:40]MH_I2C_Read... [02:37:40]Read from MH i2c: E2 FD 00 [02:37:40]MH_I2C_Read... [02:37:40]Read from MH i2c: E2 FD 00 2A 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 24 [02:37:40]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:37:40]wFMCommunicate OK [02:37:40]wFMCommunicate request_size=4 [02:37:40]MH_SAM_APDU [02:37:40]CAPDU: 80 17 00 00 [02:37:40]Write to MH i2c: E2 08 00 2B 05 80 17 00 00 00 00 00 00 B0 [02:37:40]Write i2c OK [02:37:40]MH_I2C_Read... [02:37:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:37:40]Read from MH i2c: E2 [02:37:40]MH_I2C_Read... [02:37:40]Read from MH i2c: E2 CA 00 [02:37:40]MH_I2C_Read... [02:37:40]Read from MH i2c: E2 CA 00 2B 05 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 95 [02:37:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:37:40]wFMCommunicate OK [02:37:40]SAM_PROTO_GetShiftData done [02:37:40]requested_item shift.sale.total_cash is exist - process it [02:37:40]requested_item shift.sale_refund.total is exist - process it [02:37:40]requested_item shift.sale_refund.total_cash is exist - process it [02:37:40]produce_requested_data done [02:37:40]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56855,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3042.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:37:40]process_action_free close_receipt [02:37:40]json_value_free [02:37:40]json_value_free done [02:37:40]process_json_proto returns [02:37:40]Send response to host [02:37:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56855,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3042.00,"shift.sale.total_cash":1616.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:37:40]free response buf [02:37:40]execute_script done [02:37:40]execute_script returns [02:37:40]free content buf [02:37:40]Sock 10.Close socket [02:37:40]Sock 10.Thread stoped [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:41:59]accept exits with 7 [02:41:59]New connection [02:41:59]New thread 3066969444 created [02:41:59]Thread 3066826084 joined [02:41:59]Waiting for new connection... [02:41:59] Sock 7.Parse request [02:41:59]Sock 7.Check first char [02:41:59]Sock 7.First char is OK [02:41:59]request: POST /json_proto HTTP/1.0 [02:41:59]Method: POST [02:41:59]URL: /json_proto [02:41:59]Method is POST - this is cgi request [02:41:59]url: /json_proto [02:41:59]query_string will be loaded in cgi processing [02:41:59]execute_cgi json_proto POST (null) [02:41:59]execute_cgi path=json_proto method=POST [02:41:59]POST find Content-Length [02:41:59]Host: 172.17.39.4:8080 [02:41:59]Content-Length: 1820 [02:41:59]Content-Type: application/json [02:41:59] [02:41:59]POST finish read [02:41:59]Found Content-Length = 1820 [02:41:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129343", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 537.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:41:59]execute_script... [02:41: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)129343", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 537.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:41:59]POST & json_proto [02:41:59]process_json_proto [02:41:59]json parsed OK: [02:41:59]protocol is kg_v1.0 [02:41:59]action value=close_receipt [02:41:59]process_action close_receipt [02:41:59]cmd_close_receipt [02:41:59]MH_GetDate [02:41:59]Write to MH i2c: F0 00 00 2C 05 20 [02:41:59]Write i2c OK [02:41:59]MH_I2C_Read... [02:41:59]Read from MH i2c: F0 [02:41:59]MH_I2C_Read... [02:41:59]Read from MH i2c: F0 09 00 [02:41:59]MH_I2C_Read... [02:41:59]Read from MH i2c: F0 09 00 2C 05 00 79 E9 91 66 2D 25 5D 64 95 [02:41:59]GetLastDocTimeStamp 1720838256 [02:41:59]current date 1720838521 [02:41:59]FM_GetShiftState [02:41:59]SAM_PROTO_GetShiftState [02:41:59]wFMCommunicate request_size=4 [02:41:59]MH_SAM_APDU [02:41:59]CAPDU: 80 13 01 00 [02:41:59]Write to MH i2c: E2 08 00 2D 05 80 13 01 00 00 00 00 00 AF [02:41:59]Write i2c OK [02:41:59]MH_I2C_Read... [02:41:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:41:59]Read from MH i2c: E2 [02:41:59]MH_I2C_Read... [02:41:59]Read from MH i2c: E2 0E 00 [02:41:59]MH_I2C_Read... [02:41:59]Read from MH i2c: E2 0E 00 2D 05 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 7A [02:41:59]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:41:59]wFMCommunicate OK [02:41:59]SAM_PROTO_GetShiftState done [02:41:59]FM_GetShiftState done [02:41:59]opened in 1720830718 [02:41:59]opened+sec_in_day 1720917118 [02:41:59]quantity*price = 10700 [02:41:59]sum+1 = 10701 [02:41:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 537.00 НСП 1% : 4.75 НДС 12% : 57.02 Наличными: 537.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 17 13.07.2024 02:42 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 56856 ФПД: 242128111797417 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T024201&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56856&fm=242128111797417&tin=02508201610067®Number=0000000000091208&sum=53700 0 [02:42:01]StoreToDocumentArchive [02:42:01]shift 495 fd 56856 [02:42:01]save to /storage/0495/doc_00056856 [02:42:01]save last doc name /storage/0495/doc_00056856 to /storage/kkm_last_doc_name [02:42:01]save OK [02:42:01]Clear old archive folders... [02:42:01]ProcessDocumentItem done err = 0, tmpTLVsize=720 [02:42:01]tlvbuf is 00548BC0 [02:42:01]SAM_PROTO_ClearQueue [02:42:01]wFMCommunicate request_size=4 [02:42:01]MH_SAM_APDU [02:42:01]CAPDU: 80 09 00 00 [02:42:01]Write to MH i2c: E2 08 00 3A 05 80 09 00 00 00 00 00 00 B1 [02:42:01]Write i2c OK [02:42:01]MH_I2C_Read... [02:42:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:42:01]Read from MH i2c: E2 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 3A 05 00 90 00 B3 [02:42:01]RAPDU: 90 00 [02:42:01]wFMCommunicate OK [02:42:01]SAM_PROTO_ClearQueue done [02:42:01]KKMCreateOFDPacket [02:42:01]OFDProtocolAddRootSTLVToBuf [02:42:01]FM_MakeSignedData [02:42:01]FM_MakeSignedData [02:42:01]SAM_PROTO_SignData [02:42:01]wFMCommunicate request_size=4 [02:42:01]MH_SAM_APDU [02:42:01]CAPDU: 80 0D 01 02 [02:42:01]Write to MH i2c: E2 08 00 3B 05 80 0D 01 02 00 00 00 00 B9 [02:42:01]Write i2c OK [02:42:01]MH_I2C_Read... [02:42:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:42:01]Read from MH i2c: E2 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 3B 05 00 90 00 B4 [02:42:01]RAPDU: 90 00 [02:42:01]wFMCommunicate OK [02:42:01]wFMCommunicate request_size=255 [02:42:01]MH_SAM_APDU [02:42:01]CAPDU: 80 0D 02 02 FA 03 00 D0 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 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 6A 00 8A 04 0D 00 35 34 34 39 30 30 [02:42:01]Write to MH i2c: E2 02 01 3C 05 80 0D 02 02 FA 00 03 00 D0 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 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 6A 00 8A 04 0D 00 35 34 34 39 30 30 00 00 AE [02:42:01]Write i2c OK [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 [02:42:01]MH_I2C_Read... [02:42:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:01]Read from MH i2c: E2 03 00 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 3C 05 00 90 00 B5 [02:42:01]RAPDU: 90 00 [02:42:01]wFMCommunicate OK [02:42:01]wFMCommunicate request_size=255 [02:42:01]MH_SAM_APDU [02:42:01]CAPDU: 80 0D 02 02 FA 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 [02:42:01]Write to MH i2c: E2 02 01 3D 05 80 0D 02 02 FA 00 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 00 00 1D [02:42:01]Write i2c OK [02:42:01]MH_I2C_Read... [02:42:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:01]Read from MH i2c: E2 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 [02:42:01]MH_I2C_Read... [02:42:01]Read from MH i2c: E2 03 00 3D 05 00 90 00 B6 [02:42:01]RAPDU: 90 00 [02:42:01]wFMCommunicate OK [02:42:01]wFMCommunicate request_size=229 [02:42:01]MH_SAM_APDU [02:42:01]CAPDU: 80 0D 02 02 E0 65 20 46 72 65 73 68 20 4D 69 6E 74 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 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 16 00 00 00 00 07 04 06 00 C4 D1 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 79 E9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DE 00 00 35 04 06 00 DC 36 D8 18 04 A9 [02:42:01]Write to MH i2c: E2 E8 00 3E 05 80 0D 02 02 E0 00 65 20 46 72 65 73 68 20 4D 69 6E 74 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 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 16 00 00 00 00 07 04 06 00 C4 D1 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 79 E9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DE 00 00 35 04 06 00 DC 36 D8 18 04 A9 00 00 AB [02:42:01]Write i2c OK [02:42:01]MH_I2C_Read... [02:42:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:02]Read from MH i2c: E2 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 03 00 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 03 00 3E 05 00 90 00 B7 [02:42:02]RAPDU: 90 00 [02:42:02]wFMCommunicate OK [02:42:02]wFMCommunicate request_size=4 [02:42:02]MH_SAM_APDU [02:42:02]CAPDU: 80 0D 03 02 [02:42:02]Write to MH i2c: E2 08 00 3F 05 80 0D 03 02 00 00 00 00 BF [02:42:02]Write i2c OK [02:42:02]MH_I2C_Read... [02:42:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:42:02]Read from MH i2c: E2 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 0B 00 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 0B 00 3F 05 00 38 8A 7B AA BF 0E CF A5 90 00 E8 [02:42:02]RAPDU: 38 8A 7B AA BF 0E CF A5 90 00 [02:42:02]wFMCommunicate OK [02:42:02]SAM_PROTO_SignData done [02:42:02]FM_MakeSignedData done [02:42:02]CreateOFDProtocolMessage [02:42:02]wFMCommunicate request_size=4 [02:42:02]MH_SAM_APDU [02:42:02]CAPDU: 80 11 00 00 [02:42:02]Write to MH i2c: E2 08 00 40 05 80 11 00 00 00 00 00 00 BF [02:42:02]Write i2c OK [02:42:02]MH_I2C_Read... [02:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:02]Read from MH i2c: E2 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 17 00 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: E2 17 00 40 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 19 [02:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:42:02]wFMCommunicate OK [02:42:02]CreateOFDProtocolMessage done [02:42:02]OFDSenderStorePacket 56856 [02:42:02]StoreOFDPacket docnum=56856 [02:42:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 E4 02 00 00 CA D5 DC 02 1D B0 5A 03 01 00 03 00 D0 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 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 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 16 00 00 00 00 07 04 06 00 C4 D1 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 79 E9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DE 00 00 35 04 06 00 DC 36 D8 18 04 A9 38 8A 7B AA BF 0E CF A5 [02:42:02]CheckFolder [02:42:02]dirname=/storage/ofd_packets [02:42:02]CheckFolder done [02:42:02]ProducePacketName [02:42:02]name=ofd_packets/00056856 [02:42:02]NVStorageSaveData ofd_packets/00056856 [02:42:02]File name is /storage/ofd_packets/00056856 [02:42:02]Write 770 bytes [02:42:02]NVStorageSaveData done [02:42:02]OFDSenderStorePacket done [02:42:02]KKMCreateOFDPacket done [02:42:02]NVStorageSaveData kkm_last_timestamp [02:42:02]File name is /storage/kkm_last_timestamp [02:42:02]Write 4 bytes [02:42:02]NVStorageSaveData done [02:42:02]ExternCall_PrintAddStr [02:42:02]wPrintStart [02:42:02]Write to MH i2c: 01 00 00 41 05 46 [02:42:02]Write i2c OK [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: 01 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: 01 07 00 [02:42:02]MH_I2C_Read... [02:42:02]Read from MH i2c: 01 07 00 41 05 00 00 00 00 00 FF 0F 5B [02:42:02]RasterBufferAndPrint [02:42:02]line Счет N : (3)129343 [02:42:02]line ИНН: 02508201610067 [02:42:02]line Контрольно-Кассовый Чек [02:42:02]line ПРОДАЖА [02:42:02]line Товар: 5449000189356 [02:42:02]line Холодный чай Fuse манго ананас 1л [02:42:02]line 1.000 * 107.00 [02:42:02]line = 107.00 [02:42:02]line НДС 12% НСП 1% [02:42:02]line > о реализуемом товаре [02:42:02]line Товар: 4700000160358 [02:42:02]line Вода Легенда 1л [02:42:02]line 1.000 * 50.00 [02:42:02]line = 50.00 [02:42:02]line НДС 12% НСП 1% [02:42:02]line > о реализуемом товаре [02:42:02]line Товар: 5449000000439 [02:42:02]line Напиток Кока-Кола 1,5л [02:42:02]line 1.000 * 155.00 [02:42:02]line = 155.00 [02:42:02]line НДС 12% НСП 1% [02:42:02]line > о реализуемом товаре [02:42:02]line Товар: 5449000176448 [02:42:02]line Сок Piko Pulpy апельсин ПЭТ 1л [02:42:02]line 1.000 * 180.00 [02:42:02]line = 180.00 [02:42:02]line НДС 12% НСП 1% [02:42:02]line > о реализуемом товаре [02:42:02]line Товар: 42069942 [02:42:02]line Жев Orbit White Fresh Mint [02:42:02]line 1.000 * 45.00 [02:42:02]line = 45.00 [02:42:02]line НДС 12% НСП 1% [02:42:02]line > о реализуемом товаре [02:42:02]line ИТОГО: 537.00 [02:42:02]line НСП 1% : 4.75 [02:42:02]line НДС 12% : 57.02 [02:42:02]line Наличными: 537.00 [02:42:02]line Безнал.: 0.00 [02:42:02]line Место: АЗС № 132 "Партнер Нефть" [02:42:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:42:02]line СНО: Общий режим [02:42:02]line Чек 17 13.07.2024 02:42 [02:42:02]line Смена: 495 ФФД: 1.0 [02:42:02]line ЗНМ: 0300000132 [02:42:02]line РНМ: 0000000000091208 [02:42:02]line Версия ККМ: 001 [02:42:02]line ФМ: 0000000000874857 [02:42:02]line ФД: 56856 [02:42:02]line ФПД: 242128111797417 [02:42:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T024201&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56856&fm=242128111797417&tin=02508201610067®Number=0000000000091208&sum=53700 [02:42:02]line 0 [02:42:02]OFD Sender: Processing packet 56856 [packets to send 38, broken 37] [02:42:02]ProducePacketName [02:42:02]name=ofd_packets/00056856 [02:42:02]OFD Sender: To server: pG, [02:42:02]CommunicateWithHost lk.salyk.kg:30040 [02:42:02]ConnectInit lk.salyk.kg [02:42:02]written 0, free lines is 4095 [02:42:02]Connected sock=10 [02:42: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 38 35 37 E4 02 00 00 CA D5 DC 02 1D B0 5A 03 01 00 03 00 D0 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 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 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 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 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 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 16 00 00 00 00 07 04 06 00 C4 D1 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 79 E9 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DE 00 00 35 04 06 00 DC 36 D8 18 04 A9 38 8A 7B AA BF 0E CF A5 [02:42:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3C D5 47 00 A8 9F 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 38 35 37 10 04 04 00 18 DE 00 00 F4 03 04 00 CF 8F 91 66 B6 04 01 00 00 4D 60 BA 77 56 C0 56 B5 [02:42:02]CommunicateWithHost err = 0 [02:42:02]CheckOFDResponse [02:42:02]1017 (14) - 77093643461234 [02:42:02]1041 (16) - 0000000000874857 [02:42:02]1040 (4) - 56856 [02:42:02]1012 (4) - 12.07.2024 20:19 [02:42:02]1206 (1) - 0 [02:42:02]OFD Sender: Remove packet 56856 [02:42:02]ProducePacketName [02:42:02]name=ofd_packets/00056856 [02:42:02]NVStorageDeleteData [02:42:03]Write to MH i2c: 01 00 00 83 05 88 [02:42:03]Write i2c OK [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: 01 [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: 01 07 00 [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: 01 07 00 83 05 00 00 00 00 00 99 0B 33 [02:42:03]RasterBufferAndPrint [02:42:03]line [02:42:03]line [02:42:03]line [02:42:03]line [02:42:03]line [02:42:03]written 0, free lines is 2978 [02:42:03]MH_Cut [02:42:03]Write to MH i2c: D1 01 00 8A 05 01 61 [02:42:03]Write i2c OK [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: D1 [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: D1 01 00 [02:42:03]MH_I2C_Read... [02:42:03]Read from MH i2c: D1 01 00 8A 05 00 60 [02:42:03]Write to MH i2c: 01 00 00 8B 05 90 [02:42:03]Write i2c OK [02:42:03]MH_I2C_Read... [02:42:03]OFD Sender: No OFD packet to send [02:42:04]*** Cut start [02:42:04]*** Partial cut [02:42:04]*** CUTSNS_PIN = 1 [02:42:04]*** CUTSNS_PIN = 0 [02:42:04]*** Brake cut motor [02:42:04]Read from MH i2c: 01 [02:42:04]MH_I2C_Read... [02:42:04]*** Stop cut motor [02:42:04]*** Cut end [02:42:04]Read from MH i2c: 01 07 00 [02:42:04]MH_I2C_Read... [02:42:04]Read from MH i2c: 01 07 00 8B 05 00 00 00 00 00 FF 0F A5 [02:42:04]process_action close_receipt done [02:42:04]requested_data is exist [02:42:04]produce_requested_data [02:42:04]requested_item fm.sn is exist - process it [02:42:04]wFMCommunicate request_size=4 [02:42:04]MH_SAM_APDU [02:42:04]CAPDU: 80 11 00 00 [02:42:04]Write to MH i2c: E2 08 00 8C 05 80 11 00 00 00 00 00 00 0B [02:42:04]Write i2c OK [02:42:04]MH_I2C_Read... [02:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:04]Read from MH i2c: E2 [02:42:04]MH_I2C_Read... [02:42:04]Read from MH i2c: E2 17 00 [02:42:04]MH_I2C_Read... [02:42:04]Read from MH i2c: E2 17 00 8C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [02:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:42:04]wFMCommunicate OK [02:42:04]requested_item fd.num is exist - process it [02:42:04]SAM_PROTO_GetFieldsCounters [02:42:04]wFMCommunicate request_size=4 [02:42:04]MH_SAM_APDU [02:42:04]CAPDU: 80 13 00 00 [02:42:04]Write to MH i2c: E2 08 00 8D 05 80 13 00 00 00 00 00 00 0E [02:42:04]Write i2c OK [02:42:04]MH_I2C_Read... [02:42:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:42:04]Read from MH i2c: E2 [02:42:04]MH_I2C_Read... [02:42:04]Read from MH i2c: E2 62 00 [02:42:04]MH_I2C_Read... [02:42:04]Read from MH i2c: E2 62 00 8D 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 18 DE 00 00 0E 04 04 00 EF 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 4A [02:42: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 18 DE 00 00 0E 04 04 00 EF 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 [02:42:04]wFMCommunicate OK [02:42:04]SAM_PROTO_GetFieldsCounters done [02:42:04]requested_item shift.num is exist - process it [02:42:04]requested_item shift.opened is exist - process it [02:42:04]req_shift_opened [02:42:04]FM_GetShiftState [02:42:04]SAM_PROTO_GetShiftState [02:42:04]wFMCommunicate request_size=4 [02:42:04]MH_SAM_APDU [02:42:04]CAPDU: 80 13 01 00 [02:42:04]Write to MH i2c: E2 08 00 8E 05 80 13 01 00 00 00 00 00 10 [02:42:04]Write i2c OK [02:42:04]MH_I2C_Read... [02:42:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:42:04]Read from MH i2c: E2 [02:42:04]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 0E 00 [02:42:05]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 0E 00 8E 05 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 DB [02:42:05]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [02:42:05]wFMCommunicate OK [02:42:05]SAM_PROTO_GetShiftState done [02:42:05]FM_GetShiftState done [02:42:05]req_shift_opened done [02:42:05]requested_item shift.open_date is exist - process it [02:42:05]req_shift_open_date [02:42:05]req_shift_open_date done [02:42:05]requested_item shift.sale.total is exist - process it [02:42:05]SAM_PROTO_GetShiftData [02:42:05]wFMCommunicate request_size=4 [02:42:05]MH_SAM_APDU [02:42:05]CAPDU: 80 13 02 00 [02:42:05]Write to MH i2c: E2 08 00 8F 05 80 13 02 00 00 00 00 00 12 [02:42:05]Write i2c OK [02:42:05]MH_I2C_Read... [02:42:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:42:05]Read from MH i2c: E2 [02:42:05]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 FD 00 [02:42:05]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 FD 00 8F 05 00 AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 0C 76 05 70 04 03 00 04 49 03 72 04 03 00 08 2D 02 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 74 94 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 5E 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 72 [02:42:05]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 0C 76 05 70 04 03 00 04 49 03 72 04 03 00 08 2D 02 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 74 94 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 5E 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:42:05]wFMCommunicate OK [02:42:05]wFMCommunicate request_size=4 [02:42:05]MH_SAM_APDU [02:42:05]CAPDU: 80 17 00 00 [02:42:05]Write to MH i2c: E2 08 00 90 05 80 17 00 00 00 00 00 00 15 [02:42:05]Write i2c OK [02:42:05]MH_I2C_Read... [02:42:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:42:05]Read from MH i2c: E2 [02:42:05]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 FD 00 [02:42:05]MH_I2C_Read... [02:42:05]Read from MH i2c: E2 FD 00 90 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 27 [02:42:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [02:42:05]wFMCommunicate OK [02:42:05]wFMCommunicate request_size=4 [02:42:05]MH_SAM_APDU [02:42:05]CAPDU: 80 17 00 00 [02:42:05]Write to MH i2c: E2 08 00 91 05 80 17 00 00 00 00 00 00 16 [02:42:05]Write i2c OK [02:42:05]MH_I2C_Read... [02:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:42:06]Read from MH i2c: E2 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 FD 00 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 FD 00 91 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 DA [02:42:06]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [02:42:06]wFMCommunicate OK [02:42:06]wFMCommunicate request_size=4 [02:42:06]MH_SAM_APDU [02:42:06]CAPDU: 80 17 00 00 [02:42:06]Write to MH i2c: E2 08 00 92 05 80 17 00 00 00 00 00 00 17 [02:42:06]Write i2c OK [02:42:06]MH_I2C_Read... [02:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:42:06]Read from MH i2c: E2 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 FD 00 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 FD 00 92 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 8C [02:42:06]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [02:42:06]wFMCommunicate OK [02:42:06]wFMCommunicate request_size=4 [02:42:06]MH_SAM_APDU [02:42:06]CAPDU: 80 17 00 00 [02:42:06]Write to MH i2c: E2 08 00 93 05 80 17 00 00 00 00 00 00 18 [02:42:06]Write i2c OK [02:42:06]MH_I2C_Read... [02:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:42:06]Read from MH i2c: E2 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 CA 00 [02:42:06]MH_I2C_Read... [02:42:06]Read from MH i2c: E2 CA 00 93 05 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 FD [02:42:06]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:42:06]wFMCommunicate OK [02:42:06]SAM_PROTO_GetShiftData done [02:42:06]requested_item shift.sale.total_cash is exist - process it [02:42:06]requested_item shift.sale_refund.total is exist - process it [02:42:06]requested_item shift.sale_refund.total_cash is exist - process it [02:42:06]produce_requested_data done [02:42:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56856,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3579.00,"shift.sale.total_cash":2153.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:42:06]process_action_free close_receipt [02:42:06]json_value_free [02:42:06]json_value_free done [02:42:06]process_json_proto returns [02:42:06]Send response to host [02:42:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56856,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3579.00,"shift.sale.total_cash":2153.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:42:06]free response buf [02:42:06]execute_script done [02:42:06]execute_script returns [02:42:06]free content buf [02:42:06]Sock 7.Close socket [02:42:06]Sock 7.Thread stoped [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:46]accept exits with 9 [03:01:46]New connection [03:01:46]New thread 3066826084 created [03:01:46]Thread 3066969444 joined [03:01:46]Waiting for new connection... [03:01:46] Sock 9.Parse request [03:01:46]Sock 9.Check first char [03:01:46]Sock 9.First char is OK [03:01:46]request: POST /json_proto HTTP/1.0 [03:01:46]Method: POST [03:01:46]URL: /json_proto [03:01:46]Method is POST - this is cgi request [03:01:46]url: /json_proto [03:01:46]query_string will be loaded in cgi processing [03:01:46]execute_cgi json_proto POST (null) [03:01:46]execute_cgi path=json_proto method=POST [03:01:46]POST find Content-Length [03:01:46]Host: 172.17.39.4:8080 [03:01:46]Content-Length: 926 [03:01:46]Content-Type: application/json [03:01:46] [03:01:46]POST finish read [03:01:46]Found Content-Length = 926 [03:01:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129344", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:01:46]execute_script... [03:01: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)129344", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:01:46]POST & json_proto [03:01:46]process_json_proto [03:01:46]json parsed OK: [03:01:46]protocol is kg_v1.0 [03:01:46]action value=close_receipt [03:01:46]process_action close_receipt [03:01:46]cmd_close_receipt [03:01:46]MH_GetDate [03:01:46]Write to MH i2c: F0 00 00 94 05 88 [03:01:46]Write i2c OK [03:01:46]MH_I2C_Read... [03:01:46]Read from MH i2c: F0 [03:01:46]MH_I2C_Read... [03:01:46]Read from MH i2c: F0 09 00 [03:01:46]MH_I2C_Read... [03:01:46]Read from MH i2c: F0 09 00 94 05 00 1C EE 91 66 2D 25 5D 64 A5 [03:01:46]GetLastDocTimeStamp 1720838521 [03:01:46]current date 1720839708 [03:01:46]FM_GetShiftState [03:01:46]SAM_PROTO_GetShiftState [03:01:46]wFMCommunicate request_size=4 [03:01:46]MH_SAM_APDU [03:01:46]CAPDU: 80 13 01 00 [03:01:46]Write to MH i2c: E2 08 00 95 05 80 13 01 00 00 00 00 00 17 [03:01:46]Write i2c OK [03:01:46]MH_I2C_Read... [03:01:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:01:46]Read from MH i2c: E2 [03:01:46]MH_I2C_Read... [03:01:46]Read from MH i2c: E2 0E 00 [03:01:46]MH_I2C_Read... [03:01:46]Read from MH i2c: E2 0E 00 95 05 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 E2 [03:01:46]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [03:01:46]wFMCommunicate OK [03:01:46]SAM_PROTO_GetShiftState done [03:01:46]FM_GetShiftState done [03:01:46]opened in 1720830718 [03:01:46]opened+sec_in_day 1720917118 [03:01:46]quantity*price = 14000 [03:01:46]sum+1 = 14001 [03:01:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 18 13.07.2024 03:01 Смена: 495 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 56857 ФПД: 201859649019037 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T030148&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56857&fm=201859649019037&tin=02508201610067®Number=0000000000091208&sum=14000 0 [03:01:47]StoreToDocumentArchive [03:01:47]shift 495 fd 56857 [03:01:47]save to /storage/0495/doc_00056857 [03:01:47]save last doc name /storage/0495/doc_00056857 to /storage/kkm_last_doc_name [03:01:47]save OK [03:01:47]Clear old archive folders... [03:01:47]ProcessDocumentItem done err = 0, tmpTLVsize=273 [03:01:47]tlvbuf is 00544630 [03:01:47]SAM_PROTO_ClearQueue [03:01:47]wFMCommunicate request_size=4 [03:01:47]MH_SAM_APDU [03:01:47]CAPDU: 80 09 00 00 [03:01:47]Write to MH i2c: E2 08 00 A2 05 80 09 00 00 00 00 00 00 19 [03:01:47]Write i2c OK [03:01:47]MH_I2C_Read... [03:01:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 A2 05 00 90 00 1B [03:01:48]RAPDU: 90 00 [03:01:48]wFMCommunicate OK [03:01:48]SAM_PROTO_ClearQueue done [03:01:48]KKMCreateOFDPacket [03:01:48]OFDProtocolAddRootSTLVToBuf [03:01:48]FM_MakeSignedData [03:01:48]FM_MakeSignedData [03:01:48]SAM_PROTO_SignData [03:01:48]wFMCommunicate request_size=4 [03:01:48]MH_SAM_APDU [03:01:48]CAPDU: 80 0D 01 02 [03:01:48]Write to MH i2c: E2 08 00 A3 05 80 0D 01 02 00 00 00 00 21 [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 A3 05 00 90 00 1C [03:01:48]RAPDU: 90 00 [03:01:48]wFMCommunicate OK [03:01:48]wFMCommunicate request_size=255 [03:01:48]MH_SAM_APDU [03:01:48]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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1C EE 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [03:01:48]Write to MH i2c: E2 02 01 A4 05 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1C EE 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 14 [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 A4 05 00 90 00 1D [03:01:48]RAPDU: 90 00 [03:01:48]wFMCommunicate OK [03:01:48]wFMCommunicate request_size=32 [03:01:48]MH_SAM_APDU [03:01:48]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DE 00 00 35 04 06 00 B7 97 1C AC 9C 9D [03:01:48]Write to MH i2c: E2 23 00 A5 05 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DE 00 00 35 04 06 00 B7 97 1C AC 9C 9D 00 00 CE [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 03 00 A5 05 00 90 00 1E [03:01:48]RAPDU: 90 00 [03:01:48]wFMCommunicate OK [03:01:48]wFMCommunicate request_size=4 [03:01:48]MH_SAM_APDU [03:01:48]CAPDU: 80 0D 03 02 [03:01:48]Write to MH i2c: E2 08 00 A6 05 80 0D 03 02 00 00 00 00 26 [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 0B 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 0B 00 A6 05 00 7B 1F D0 D0 A5 B6 DD CD 90 00 66 [03:01:48]RAPDU: 7B 1F D0 D0 A5 B6 DD CD 90 00 [03:01:48]wFMCommunicate OK [03:01:48]SAM_PROTO_SignData done [03:01:48]FM_MakeSignedData done [03:01:48]CreateOFDProtocolMessage [03:01:48]wFMCommunicate request_size=4 [03:01:48]MH_SAM_APDU [03:01:48]CAPDU: 80 11 00 00 [03:01:48]Write to MH i2c: E2 08 00 A7 05 80 11 00 00 00 00 00 00 26 [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:01:48]Read from MH i2c: E2 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 17 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: E2 17 00 A7 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 80 [03:01:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:01:48]wFMCommunicate OK [03:01:48]CreateOFDProtocolMessage done [03:01:48]OFDSenderStorePacket 56857 [03:01:48]StoreOFDPacket docnum=56857 [03:01:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 3B B3 1D 01 E7 7B 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1C EE 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DE 00 00 35 04 06 00 B7 97 1C AC 9C 9D 7B 1F D0 D0 A5 B6 DD CD [03:01:48]CheckFolder [03:01:48]dirname=/storage/ofd_packets [03:01:48]CheckFolder done [03:01:48]ProducePacketName [03:01:48]name=ofd_packets/00056857 [03:01:48]NVStorageSaveData ofd_packets/00056857 [03:01:48]File name is /storage/ofd_packets/00056857 [03:01:48]Write 323 bytes [03:01:48]NVStorageSaveData done [03:01:48]OFDSenderStorePacket done [03:01:48]KKMCreateOFDPacket done [03:01:48]NVStorageSaveData kkm_last_timestamp [03:01:48]File name is /storage/kkm_last_timestamp [03:01:48]Write 4 bytes [03:01:48]NVStorageSaveData done [03:01:48]ExternCall_PrintAddStr [03:01:48]wPrintStart [03:01:48]Write to MH i2c: 01 00 00 A8 05 AD [03:01:48]Write i2c OK [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: 01 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: 01 07 00 [03:01:48]MH_I2C_Read... [03:01:48]Read from MH i2c: 01 07 00 A8 05 00 00 00 00 00 FF 0F C2 [03:01:48]RasterBufferAndPrint [03:01:48]line Счет N : (3)129344 [03:01:48]line ИНН: 02508201610067 [03:01:48]line Контрольно-Кассовый Чек [03:01:48]line ПРОДАЖА [03:01:48]line Товар: 48743570 [03:01:48]line Сигареты Winston XStyle Blue [03:01:48]line 1.000 * 140.00 [03:01:48]line = 140.00 [03:01:48]line НДС 12% НСП 1% [03:01:48]line > о реализуемом товаре [03:01:48]line ИТОГО: 140.00 [03:01:48]line НСП 1% : 1.24 [03:01:48]line НДС 12% : 14.87 [03:01:48]line Наличными: 0.00 [03:01:48]line Безнал.: 140.00 [03:01:48]line Место: АЗС № 132 "Партнер Нефть" [03:01:48]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:01:48]line СНО: Общий режим [03:01:48]line Чек 18 13.07.2024 03:01 [03:01:48]line Смена: 495 ФФД: 1.0 [03:01:48]line ЗНМ: 0300000132 [03:01:48]line РНМ: 0000000000091208 [03:01:48]line Версия ККМ: 001 [03:01:48]line Платежная система: АКБ Кыргызстан [03:01:48]line ФМ: 0000000000874857 [03:01:48]line ФД: 56857 [03:01:48]line ФПД: 201859649019037 [03:01:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T030148&type=1&operation_type=1&fn_number=0000000000874857&fd_number=56857&fm=201859649019037&tin=02508201610067®Number=0000000000091208&sum=14000 [03:01:48]line 0 [03:01:48]OFD Sender: Processing packet 56857 [packets to send 38, broken 37] [03:01:48]ProducePacketName [03:01:48]name=ofd_packets/00056857 [03:01:48]OFD Sender: To server: pG, [03:01:48]CommunicateWithHost lk.salyk.kg:30040 [03:01:48]ConnectInit lk.salyk.kg [03:01:48]written 0, free lines is 4095 [03:01:48]Connected sock=10 [03:01: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 38 35 37 25 01 00 00 3B B3 1D 01 E7 7B 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1C EE 91 66 0E 04 04 00 EF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DE 00 00 35 04 06 00 B7 97 1C AC 9C 9D 7B 1F D0 D0 A5 B6 DD CD [03:01:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 DE BF 47 00 96 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 38 35 37 10 04 04 00 19 DE 00 00 F4 03 04 00 71 94 91 66 B6 04 01 00 00 96 5F F2 34 BB A5 A4 9A [03:01:49]CommunicateWithHost err = 0 [03:01:49]CheckOFDResponse [03:01:49]1017 (14) - 77093643461234 [03:01:49]1041 (16) - 0000000000874857 [03:01:49]1040 (4) - 56857 [03:01:49]1012 (4) - 12.07.2024 20:39 [03:01:49]1206 (1) - 0 [03:01:49]OFD Sender: Remove packet 56857 [03:01:49]ProducePacketName [03:01:49]name=ofd_packets/00056857 [03:01:49]NVStorageDeleteData [03:01:49]Write to MH i2c: 01 00 00 D2 05 D7 [03:01:49]Write i2c OK [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: 01 [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: 01 07 00 [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: 01 07 00 D2 05 00 00 00 00 00 DE 0C C8 [03:01:49]RasterBufferAndPrint [03:01:49]line [03:01:49]line [03:01:49]line [03:01:49]line [03:01:49]line [03:01:49]written 0, free lines is 3300 [03:01:49]MH_Cut [03:01:49]Write to MH i2c: D1 01 00 D9 05 01 B0 [03:01:49]Write i2c OK [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: D1 [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: D1 01 00 [03:01:49]MH_I2C_Read... [03:01:49]Read from MH i2c: D1 01 00 D9 05 00 AF [03:01:49]Write to MH i2c: 01 00 00 DA 05 DF [03:01:49]Write i2c OK [03:01:49]MH_I2C_Read... [03:01:49]OFD Sender: No OFD packet to send [03:01:49]*** Cut start [03:01:49]*** Partial cut [03:01:49]*** CUTSNS_PIN = 1 [03:01:50]*** CUTSNS_PIN = 0 [03:01:50]*** Brake cut motor [03:01:50]Read from MH i2c: 01 [03:01:50]MH_I2C_Read... [03:01:50]*** Stop cut motor [03:01:50]*** Cut end [03:01:50]Read from MH i2c: 01 07 00 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: 01 07 00 DA 05 00 00 00 00 00 FF 0F F4 [03:01:50]process_action close_receipt done [03:01:50]requested_data is exist [03:01:50]produce_requested_data [03:01:50]requested_item fm.sn is exist - process it [03:01:50]wFMCommunicate request_size=4 [03:01:50]MH_SAM_APDU [03:01:50]CAPDU: 80 11 00 00 [03:01:50]Write to MH i2c: E2 08 00 DB 05 80 11 00 00 00 00 00 00 5A [03:01:50]Write i2c OK [03:01:50]MH_I2C_Read... [03:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:01:50]Read from MH i2c: E2 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 17 00 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 17 00 DB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B4 [03:01:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:01:50]wFMCommunicate OK [03:01:50]requested_item fd.num is exist - process it [03:01:50]SAM_PROTO_GetFieldsCounters [03:01:50]wFMCommunicate request_size=4 [03:01:50]MH_SAM_APDU [03:01:50]CAPDU: 80 13 00 00 [03:01:50]Write to MH i2c: E2 08 00 DC 05 80 13 00 00 00 00 00 00 5D [03:01:50]Write i2c OK [03:01:50]MH_I2C_Read... [03:01:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:01:50]Read from MH i2c: E2 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 62 00 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 62 00 DC 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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 19 DE 00 00 0E 04 04 00 EF 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 9D [03:01: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 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 19 DE 00 00 0E 04 04 00 EF 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 [03:01:50]wFMCommunicate OK [03:01:50]SAM_PROTO_GetFieldsCounters done [03:01:50]requested_item shift.num is exist - process it [03:01:50]requested_item shift.opened is exist - process it [03:01:50]req_shift_opened [03:01:50]FM_GetShiftState [03:01:50]SAM_PROTO_GetShiftState [03:01:50]wFMCommunicate request_size=4 [03:01:50]MH_SAM_APDU [03:01:50]CAPDU: 80 13 01 00 [03:01:50]Write to MH i2c: E2 08 00 DD 05 80 13 01 00 00 00 00 00 5F [03:01:50]Write i2c OK [03:01:50]MH_I2C_Read... [03:01:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:01:50]Read from MH i2c: E2 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 0E 00 [03:01:50]MH_I2C_Read... [03:01:50]Read from MH i2c: E2 0E 00 DD 05 00 09 00 01 FE CA 91 66 00 00 00 00 90 00 2A [03:01:50]RAPDU: 09 00 01 FE CA 91 66 00 00 00 00 90 00 [03:01:50]wFMCommunicate OK [03:01:50]SAM_PROTO_GetShiftState done [03:01:50]FM_GetShiftState done [03:01:50]req_shift_opened done [03:01:50]requested_item shift.open_date is exist - process it [03:01:50]req_shift_open_date [03:01:50]req_shift_open_date done [03:01:50]requested_item shift.sale.total is exist - process it [03:01:50]SAM_PROTO_GetShiftData [03:01:50]wFMCommunicate request_size=4 [03:01:50]MH_SAM_APDU [03:01:50]CAPDU: 80 13 02 00 [03:01:50]Write to MH i2c: E2 08 00 DE 05 80 13 02 00 00 00 00 00 61 [03:01:50]Write i2c OK [03:01:50]MH_I2C_Read... [03:01:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:01:51]Read from MH i2c: E2 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 DE 05 00 AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 BC AC 05 70 04 03 00 04 49 03 72 04 03 00 B8 63 02 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 43 9A 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 DA 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 E0 [03:01:51]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 BC AC 05 70 04 03 00 04 49 03 72 04 03 00 B8 63 02 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 43 9A 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 DA 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [03:01:51]wFMCommunicate OK [03:01:51]wFMCommunicate request_size=4 [03:01:51]MH_SAM_APDU [03:01:51]CAPDU: 80 17 00 00 [03:01:51]Write to MH i2c: E2 08 00 DF 05 80 17 00 00 00 00 00 00 64 [03:01:51]Write i2c OK [03:01:51]MH_I2C_Read... [03:01:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:01:51]Read from MH i2c: E2 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 DF 05 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 76 [03:01:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [03:01:51]wFMCommunicate OK [03:01:51]wFMCommunicate request_size=4 [03:01:51]MH_SAM_APDU [03:01:51]CAPDU: 80 17 00 00 [03:01:51]Write to MH i2c: E2 08 00 E0 05 80 17 00 00 00 00 00 00 65 [03:01:51]Write i2c OK [03:01:51]MH_I2C_Read... [03:01:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:01:51]Read from MH i2c: E2 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 [03:01:51]MH_I2C_Read... [03:01:51]Read from MH i2c: E2 FD 00 E0 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 29 [03:01:51]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [03:01:51]wFMCommunicate OK [03:01:51]wFMCommunicate request_size=4 [03:01:51]MH_SAM_APDU [03:01:51]CAPDU: 80 17 00 00 [03:01:51]Write to MH i2c: E2 08 00 E1 05 80 17 00 00 00 00 00 00 66 [03:01:51]Write i2c OK [03:01:51]MH_I2C_Read... [03:01:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:01:52]Read from MH i2c: E2 [03:01:52]MH_I2C_Read... [03:01:52]Read from MH i2c: E2 FD 00 [03:01:52]MH_I2C_Read... [03:01:52]Read from MH i2c: E2 FD 00 E1 05 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 DB [03:01:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [03:01:52]wFMCommunicate OK [03:01:52]wFMCommunicate request_size=4 [03:01:52]MH_SAM_APDU [03:01:52]CAPDU: 80 17 00 00 [03:01:52]Write to MH i2c: E2 08 00 E2 05 80 17 00 00 00 00 00 00 67 [03:01:52]Write i2c OK [03:01:52]MH_I2C_Read... [03:01:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:01:52]Read from MH i2c: E2 [03:01:52]MH_I2C_Read... [03:01:52]Read from MH i2c: E2 CA 00 [03:01:52]MH_I2C_Read... [03:01:52]Read from MH i2c: E2 CA 00 E2 05 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 4C [03:01:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:01:52]wFMCommunicate OK [03:01:52]SAM_PROTO_GetShiftData done [03:01:52]requested_item shift.sale.total_cash is exist - process it [03:01:52]requested_item shift.sale_refund.total is exist - process it [03:01:52]requested_item shift.sale_refund.total_cash is exist - process it [03:01:52]produce_requested_data done [03:01:52]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":56857,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3719.00,"shift.sale.total_cash":2153.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:01:52]process_action_free close_receipt [03:01:52]json_value_free [03:01:52]json_value_free done [03:01:52]process_json_proto returns [03:01:52]Send response to host [03:01:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":56857,"shift.num":495,"shift.opened":1,"shift.open_date":1720830718,"shift.sale.total":3719.00,"shift.sale.total_cash":2153.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:01:52]free response buf [03:01:52]execute_script done [03:01:52]execute_script returns [03:01:52]free content buf [03:01:52]Sock 9.Close socket [03:01:52]Sock 9.Thread stoped [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]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:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send